public class PropertyValue extends Object implements SimpleValue
| Constructor and Description |
|---|
PropertyValue(String recordType,
String property) |
| Modifier and Type | Method and Description |
|---|---|
<T,E extends Throwable> |
accept(ValueVisitor<T,E> visitor)
Accepts visitor.
|
PropertyValue |
createCopy(ModelInstance targetModelInstance)
Creates a copy without references to other objects.
|
Type |
getCompiledType(ModelProvider modelProvider)
Returns the compiled type.
|
String |
getProperty() |
String |
getRecordType() |
String |
getType()
Returns the type.
|
Object |
getValue()
Returns the contained value.
|
boolean |
isRemoved()
Returns true if value is removed
|
SSimpleValue |
toSerializable(SModelInstance smi,
MarshallerConfig config)
Creates a serializable object.
|
SimpleValue |
toSimpleValue()
If this is
SimpleValue this method returns this, otherwise it returns a
ValueRef to this. |
String |
toString() |
Value |
toValue()
If this is a
ValueRef this method returns the referenced value, otherwise it returns
this. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfinishCopypublic SSimpleValue toSerializable(SModelInstance smi, MarshallerConfig config)
SimpleValuetoSerializable in interface SimpleValuetoSerializable in interface Valuepublic String getRecordType()
public String getProperty()
public <T,E extends Throwable> T accept(ValueVisitor<T,E> visitor) throws E extends Throwable
Valuepublic SimpleValue toSimpleValue()
ValueSimpleValue this method returns this, otherwise it returns a
ValueRef to this.toSimpleValue in interface ValueSimpleValuepublic Value toValue()
ValueValueRef this method returns the referenced value, otherwise it returns
this.public Type getCompiledType(ModelProvider modelProvider)
ValuegetCompiledType in interface Valuepublic Object getValue()
SimpleValuegetValue in interface SimpleValuepublic PropertyValue createCopy(ModelInstance targetModelInstance)
public boolean isRemoved()
ValueCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.