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, useAs
getType, inferType, satisfiesType, satisfiesType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getId, setId, useAs
getType, getUsedTypes
public SerializedImmutable(Class<?> type)
public SerializedImmutable<V> withValue(V value)
public V getValue()
public void setValue(V value)
public List<SerializedValue> referencedValues()
referencedValues
in interface SerializedValue
public <T> T accept(RoleVisitor<T> visitor)
accept
in interface SerializedRole
public <T> T accept(ReferenceTypeVisitor<T> visitor)
accept
in interface SerializedReferenceType
Copyright © 2020. All rights reserved.