public enum AttributeAccessType extends Enum<AttributeAccessType>
AttributeAccessType enumeration:
Access Types that can be granted for an IEntityAttribute
Enum Constant and Description |
---|
DENIED
Denied: Access to attribute is denied (attribute won't be visible)
|
READ
Read Only: Attribute can be read but not modified
|
READ_WRITE
Read Write: Attribute can be read and can be modified
|
Modifier and Type | Method and Description |
---|---|
static AttributeAccessType |
maxPriv(AttributeAccessType pAccessType1,
AttributeAccessType pAccessType2)
Return the most privileged access type
|
static AttributeAccessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeAccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeAccessType DENIED
public static final AttributeAccessType READ
public static final AttributeAccessType READ_WRITE
public static AttributeAccessType[] values()
for (AttributeAccessType c : AttributeAccessType.values()) System.out.println(c);
public static AttributeAccessType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static AttributeAccessType maxPriv(AttributeAccessType pAccessType1, AttributeAccessType pAccessType2)
pAccessType1
- pAccessType2
- Copyright © 2016. All Rights Reserved.