public class YEnumValue extends YTypeSystemElement implements Comparable<YEnumValue>
| Constructor and Description |
|---|
YEnumValue(YNamespace container,
String enumTypeCode,
String code) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(YEnumValue enumValue) |
String |
getCode() |
protected String |
getDefaultMetaTypeCode() |
String |
getDescription() |
YEnumType |
getEnumType() |
String |
getEnumTypeCode() |
int |
getPosition() |
boolean |
isDefault() |
void |
setDefault(boolean isDefault) |
void |
setDescription(String description) |
void |
setPosition(int position) |
void |
validate()
Validates the element.
|
addCustomProperties, addCustomProperty, getCustomProps, getMetaType, getMetaTypeCode, isAutocreate, isGenerate, resetCaches, setAutocreate, setGenerate, setMetaTypeCodegetLoaderInfo, getNamespace, getTypeSystem, setLoaderInfo, toStringpublic YEnumValue(YNamespace container, String enumTypeCode, String code)
public String getCode()
public String getEnumTypeCode()
public YEnumType getEnumType()
public boolean isDefault()
public void setDefault(boolean isDefault)
public int getPosition()
public void setPosition(int position)
public int compareTo(YEnumValue enumValue)
compareTo in interface Comparable<YEnumValue>protected String getDefaultMetaTypeCode()
getDefaultMetaTypeCode in class YTypeSystemElementpublic void validate()
YNameSpaceElementvalidate in class YTypeSystemElementpublic String getDescription()
public void setDescription(String description)
Copyright © 2017 SAP SE. All Rights Reserved.