public class SerializedImmutable<V> extends AbstractSerializedReferenceType implements SerializedImmutableType
| Constructor and Description |
|---|
SerializedImmutable(Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(ReferenceTypeVisitor<T> visitor) |
<T> T |
accept(RoleVisitor<T> visitor) |
V |
getValue() |
List<SerializedValue> |
referencedValues() |
void |
setValue(V value) |
String |
toString() |
SerializedImmutable<V> |
withValue(V value) |
getId, getUsedTypes, setId, useAsgetType, inferType, satisfiesType, satisfiesTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetId, setId, useAsgetType, getUsedTypespublic SerializedImmutable(Class<?> type)
public SerializedImmutable<V> withValue(V value)
public V getValue()
public void setValue(V value)
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.