public class SerializedEnum extends AbstractSerializedReferenceType implements SerializedImmutableType
| Constructor and Description |
|---|
SerializedEnum(Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(ReferenceTypeVisitor<T> visitor) |
<T> T |
accept(RoleVisitor<T> visitor) |
String |
getName() |
List<SerializedValue> |
referencedValues() |
void |
setName(String name) |
String |
toString() |
SerializedEnum |
withName(String name) |
getId, getUsedTypes, setId, useAsgetType, inferType, satisfiesType, satisfiesTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetId, setId, useAsgetType, getUsedTypespublic SerializedEnum(Class<?> type)
public SerializedEnum withName(String name)
public void setName(String name)
public String getName()
public List<SerializedValue> referencedValues()
referencedValues in interface SerializedValuepublic <T> T accept(RoleVisitor<T> visitor)
accept in interface SerializedRolepublic <T> T accept(ReferenceTypeVisitor<T> visitor)
accept in interface SerializedReferenceTypeCopyright © 2020. All rights reserved.