public class StringPropertyId extends PropertyId
String
Constructor and Description |
---|
StringPropertyId(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get(PropertyMap properties)
Returns the value of the property.
|
java.lang.String |
put(PropertyMapBuilder builder,
java.lang.String value)
Sets the value of the property.
|
equals, getValueClass, hashCode, toString
public java.lang.String get(PropertyMap properties)
PropertyMap.get
.properties
- the PropertyMap to be usednull
if this PropertyId is not in the PropertyMapPropertyMap.get(com.thaiopensource.util.PropertyId)
public java.lang.String put(PropertyMapBuilder builder, java.lang.String value)
builder
- the PropertyMapBuilder to be modifiedvalue
- the String to which this PropertyId is to be mappednull
if it was not mappedPropertyMapBuilder.put(com.thaiopensource.util.PropertyId, java.lang.Object)