, , :
NONE, VIEW, REQUIRED, EDIT.
, REQUIRED , , , EDIT ( , ) , REQUIRED ( ).
:
/** NO permissions.
* Presentation: "hidden"
* Database: "no access"
*/
NONE(0),
/** VIEW permissions.
* Presentation: "read-only"
* Database: "read access"
*/
VIEW(1),
/** VIEW and POPULATE permissions.
* Presentation: "required/highlighted"
* Database: "non-null"
*/
REQUIRED(2),
/** VIEW, POPULATE, and DEPOPULATE permissions.
* Presentation: "editable"
* Database: "nullable"
*/
EDIT(3);
( ) . ( ) (- + ). , ( ) .
: , . , , - . , , . , , , , , , .
:
1) ( NONE) (VIEW).
2) , - , .
3) "" ( ), , "" ( ).
. ( ) , - "if".
, , . , .
( . : )