Enum Class AssociationType
java.lang.Object
java.lang.Enum<AssociationType>
org.odpi.openmetadata.frameworks.openmetadata.refdata.AssociationType
- All Implemented Interfaces:
Serializable,Comparable<AssociationType>,Constable
AssociationType defines the type of association between two valid values, such as 'containment', 'aggregation' or 'inheritance.'.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturn the category for this value.Return the default description of the enumeration.Return the unique identifier for the valid value that represents the enum value.getName()Return the default name of the enumeration.intReturn the numeric representation of the enumeration.Return the qualified name for this value.booleanReturn whether the enum is the default value or not.toString()toString() JSON-stylestatic AssociationTypeReturns the enum constant of this class with the specified name.static AssociationType[]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
-
CONTAINMENT
-
AGGREGATION
-
INHERITANCE
-
DEPENDENCY
-
USES
-
-
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 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
-
getDescriptionGUID
Return the unique identifier for the valid value that represents the enum value.- Returns:
- guid
-
getQualifiedName
Return the qualified name for this value.- Returns:
- string
-
getCategory
Return the category for this value.- Returns:
- string
-
isDefault
public boolean isDefault()Return whether the enum is the default value or not.- Returns:
- boolean
-
toString
toString() JSON-style- Overrides:
toStringin classEnum<AssociationType>- Returns:
- string description
-