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
Modifier 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
-
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.getValue()
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
-
getDescription
-
getOrdinal
-
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
-