Package com.atlan.model.typedefs
Class EnumDef.ElementDef
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.typedefs.EnumDef.ElementDef
- All Implemented Interfaces:
Serializable
- Enclosing class:
EnumDef
Structure for definition of a valid value in an enumeration.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
EnumDef.ElementDef.ElementDefBuilder<C extends EnumDef.ElementDef,
B extends EnumDef.ElementDef.ElementDefBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.core.AtlanObject
AtlanObject.AtlanObjectBuilder<C extends AtlanObject,
B extends AtlanObject.AtlanObjectBuilder<C, B>> -
Field Summary
Fields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumDef.ElementDef.ElementDefBuilder
<?, ?> builder()
protected boolean
boolean
protected static List
<EnumDef.ElementDef> Build a list of valid values from the provided list of strings.(Optional) Description of the element.Position of the element within the list of valid values.getValue()
Value of the element (the valid value).int
hashCode()
static EnumDef.ElementDef
Build a valid value definition.toString()
Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Constructor Details
-
ElementDef
-
-
Method Details
-
of
Build a valid value definition.- Parameters:
ordinal
- position of the valid value definition in the overall listvalue
- of the valid value- Returns:
- the valid value definition
-
from
Build a list of valid values from the provided list of strings.- Parameters:
values
- to enumerate as valid values- Returns:
- a list of the valid values
-
builder
-
getValue
Value of the element (the valid value). -
getDescription
(Optional) Description of the element. -
getOrdinal
Position of the element within the list of valid values. -
equals
- Overrides:
equals
in classAtlanObject
-
canEqual
- Overrides:
canEqual
in classAtlanObject
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAtlanObject
-
toString
Description copied from class:AtlanObject
- Overrides:
toString
in classAtlanObject
-