Enum Class OwnerType
- All Implemented Interfaces:
Serializable
,Comparable<OwnerType>
,Constable
OwnerType defines the identifier used in an Asset's owner property.
- User Identifier - The owner's user id is stored in the owner property.
- Profile - The owner's profile unique identifier (guid) is stored in the owner property.
- Other - A different identifier for the owner outside of the scope of open metadata has been used.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA different identifier for the owner outside of the scope of open metadata has been used.The owner's profile unique identifier (guid) is stored in the owner property.The owner's user id is stored in the owner property. -
Method Summary
Modifier and TypeMethodDescriptionReturn the default description of the enumeration.getName()
Return the default name of the enumeration.Return the unique identifier for the open metadata enum type that this enum class represents.Return the unique name for the open metadata enum type that this enum class represents.int
Return the code for this enum that comes from the Open Metadata Type that this enum represents.int
Return the numeric representation of the enumeration.toString()
static OwnerType
Returns the enum constant of this class with the specified name.static OwnerType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USER_ID
The owner's user id is stored in the owner property. -
PROFILE_ID
The owner's profile unique identifier (guid) is stored in the owner property. -
OTHER
A different identifier for the owner outside of the scope of open metadata has been used.
-
-
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
-
getOpenTypeGUID
Return the unique identifier for the open metadata enum type that this enum class represents.- Returns:
- string guid
-
getOpenTypeName
Return the unique name for the open metadata enum type that this enum class represents.- Returns:
- string name
-
getOpenTypeOrdinal
public int getOpenTypeOrdinal()Return the code for this enum that comes from the Open Metadata Type that this enum represents.- Returns:
- openTypeOrdinal int code number
-
getOrdinal
public int getOrdinal()Return the numeric representation of the enumeration.- Returns:
- int ordinal
-
getName
Return the default name of the enumeration.- Returns:
- String name
-
getDescription
Return the default description of the enumeration.- Returns:
- String description
-
toString
-