class PrimitiveValueImpl extends ValueImpl implements PrimitiveValue
Constructor and Description |
---|
PrimitiveValueImpl() |
PrimitiveValueImpl(long id,
java.lang.String typeName) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(java.lang.String value)
Matches this resolver to the given String value.
|
Primitive |
primitive()
The actual primitive value contained in this value.
|
void |
setValueString(java.lang.String value)
Sets the value string as given in
Value.valueString() . |
addParent, equals, field, fields, getResolvableNames, hashCode, id, parent, parents, replaceParent, resolve, toString, typeName, valueString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addParent, field, fieldFor, fields, id, parent, parentFor, parents, removeParent, replaceParent, typeEquals, typeName, valueString
canResolve, getResolvableNames, resolve
fromJson, toJson
PrimitiveValueImpl()
PrimitiveValueImpl(long id, java.lang.String typeName)
public void setValueString(java.lang.String value)
Value
Value.valueString()
.setValueString
in interface Value
setValueString
in class ValueImpl
value
- The new value.public Primitive primitive()
PrimitiveValue
primitive
in interface PrimitiveValue
public boolean matches(java.lang.String value)
MatchingResolver
matches
in interface MatchingResolver
matches
in class ValueImpl
value
- The value to match the resolver to.