Package gw.lang.reflect
Class EnumValuePlaceholder
- java.lang.Object
-
- gw.lang.reflect.EnumValuePlaceholder
-
- All Implemented Interfaces:
IEnumConstant
,IEnumValue
public class EnumValuePlaceholder extends Object implements IEnumValue
-
-
Constructor Summary
Constructors Constructor Description EnumValuePlaceholder(String code)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
String
getDisplayName()
int
getOrdinal()
Object
getValue()
String
toString()
-
-
-
Constructor Detail
-
EnumValuePlaceholder
public EnumValuePlaceholder(String code)
-
-
Method Detail
-
getCode
public String getCode()
- Specified by:
getCode
in interfaceIEnumConstant
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceIEnumConstant
-
getValue
public Object getValue()
- Specified by:
getValue
in interfaceIEnumValue
- Returns:
- The enum constant instance
-
getOrdinal
public int getOrdinal()
- Specified by:
getOrdinal
in interfaceIEnumConstant
-
-