Enum Class ZoneAccessType
java.lang.Object
java.lang.Enum<ZoneAccessType>
org.odpi.openmetadata.frameworks.connectors.properties.users.ZoneAccessType
- All Implemented Interfaces:
Serializable,Comparable<ZoneAccessType>,Constable
The ZoneAccessType enum defines the type of access granted to assets in a particular Governance Zone.
- ReadAssets: The user may read assets in the zone (supportedZones).
- UpdateAssets: The user may change the metadata description of the asset.
- DeleteAssets: The user may remove the asset from the catalog (archive, soft-delete or purge).
- ChangeAssetMembership: The user may update the zone membership of an asset in this zone.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe user may update the zone membership of an asset in this zone.The user may change the metadata description of the asset.The user may remove the asset from the catalog (archive, soft-delete or purge).The user may read assets in the zone.The user may change the metadata description of the asset. -
Method Summary
Modifier and TypeMethodDescriptionReturn the description for the enum.getName()Return the descriptive name for the enum.intReturn the numerical value for the enum.toString()toString() JSON-stylestatic ZoneAccessTypeReturns the enum constant of this class with the specified name.static ZoneAccessType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
READ_ASSETS
The user may read assets in the zone. -
CREATE_ASSETS
The user may change the metadata description of the asset. -
UPDATE_ASSETS
The user may change the metadata description of the asset. -
DELETE_ASSETS
The user may remove the asset from the catalog (archive, soft-delete or purge). -
CHANGE_ASSET_MEMBERSHIP
The user may update the zone membership of an asset in this zone.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getOrdinal
public int getOrdinal()Return the numerical value for the enum.- Returns:
- int enum value ordinal
-
getName
Return the descriptive name for the enum.- Returns:
- String name
-
getDescription
Return the description for the enum.- Returns:
- String description
-
toString
toString() JSON-style- Overrides:
toStringin classEnum<ZoneAccessType>- Returns:
- string description
-