public class EnumElementDef extends TypeDefElementHeader
CURRENT_TYPE_DEF_HEADER_VERSION| Constructor and Description |
|---|
EnumElementDef()
Default constructor sets up an empty EnumElementDef
|
EnumElementDef(EnumElementDef template)
Copy/clone constructor sets up an EnumElementDef based on the values supplied in the template.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Verify that supplied object has the same properties.
|
String |
getDescription()
Return the description for the enum value.
|
String |
getDescriptionGUID()
Return the unique identifier (guid) of the glossary term that describes this EnumElementDef.
|
int |
getOrdinal()
Return the numeric value used for the enum value.
|
String |
getValue()
Return the symbolic name for the enum value.
|
int |
hashCode()
Integer useful for hashmaps
|
void |
setDescription(String description)
Set up the description for the enum value.
|
void |
setDescriptionGUID(String descriptionGUID)
Set up the unique identifier (guid) of the glossary term that describes this EnumElementDef.
|
void |
setOrdinal(int ordinal)
Set up the numeric value for the enum value.
|
void |
setValue(String value)
Set up the symbolic name for the enum value.
|
String |
toString()
Standard toString method.
|
getHeaderVersion, setHeaderVersionpublic EnumElementDef()
public EnumElementDef(EnumElementDef template)
template - EnumElementDefpublic int getOrdinal()
public void setOrdinal(int ordinal)
ordinal - intpublic String getValue()
public void setValue(String value)
value - String namepublic String getDescription()
public void setDescription(String description)
description - Stringpublic String getDescriptionGUID()
public void setDescriptionGUID(String descriptionGUID)
descriptionGUID - String guidpublic String toString()
public boolean equals(Object o)
Copyright © 2018–2020 ODPi. All rights reserved.