public class Property
extends java.lang.Object
| Constructor and Description |
|---|
Property()
Initializes a new instance of the Property class.
|
Property(PropertyPath propertyPath)
Initializes a new instance of the Property class.
|
Property(PropertyPath propertyPath,
boolean value)
Initializes a new instance of the Property class.
|
Property(PropertyPath propertyPath,
byte[] value)
Initializes a new instance of the Property class.
|
Property(PropertyPath propertyPath,
java.util.Date value)
Instantiates a new property.
|
Property(PropertyPath propertyPath,
double value)
Initializes a new instance of the Property class.
|
Property(PropertyPath propertyPath,
java.util.List<java.lang.String> values)
Initializes a new instance of the Property class.
|
Property(PropertyPath propertyPath,
long value)
Initializes a new instance of the Property class.
|
Property(PropertyPath propertyPath,
java.lang.Object value)
Initializes a new instance of the Property class.
|
Property(PropertyPath propertyPath,
java.lang.String value)
Initializes a new instance of the Property class.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyPath |
getPropertyPath()
Gets property path.
|
java.lang.String |
getValue()
Gets property value.
|
java.util.List<java.lang.String> |
getValues()
Gets a collection of values for multi-value properties.
|
void |
setPropertyPath(PropertyPath propertyPath)
Sets property path.
|
void |
setValue(java.lang.String value)
Sets property value.
|
java.lang.String |
toString()
Converts the value of the current Property object to its equivalent string representation.
|
public Property()
public Property(PropertyPath propertyPath)
propertyPath - the property pathpublic Property(PropertyPath propertyPath, java.lang.String value)
propertyPath - the property pathvalue - the valuepublic Property(PropertyPath propertyPath, long value)
propertyPath - the property pathvalue - the valuepublic Property(PropertyPath propertyPath, double value)
propertyPath - the property pathvalue - the valuepublic Property(PropertyPath propertyPath, boolean value)
propertyPath - the property pathvalue - the valuepublic Property(PropertyPath propertyPath, java.util.Date value)
propertyPath - the property pathvalue - the valuepublic Property(PropertyPath propertyPath, byte[] value)
propertyPath - the property pathvalue - the valuepublic Property(PropertyPath propertyPath, java.lang.Object value)
propertyPath - the property pathvalue - the valuepublic Property(PropertyPath propertyPath, java.util.List<java.lang.String> values)
propertyPath - the property pathvalues - the valuespublic java.lang.String toString()
toString in class java.lang.Objectpublic PropertyPath getPropertyPath()
public void setPropertyPath(PropertyPath propertyPath)
propertyPath - the new property pathpublic java.lang.String getValue()
public void setValue(java.lang.String value)
value - the new valuepublic java.util.List<java.lang.String> getValues()