public interface Property extends Serializable
| Modifier and Type | Method and Description |
|---|---|
Date |
getDate()
Gets value as Date.
|
String |
getName()
Gets name of the property.
|
String |
getString()
Gets value as String.
|
ValueType |
getType()
Gets type of value for the property.
|
Object |
getValue()
Gets value of the property as Object.
|
void |
setValue(Date value)
Sets value of the property.
|
void |
setValue(String value)
Sets value of the property.
|
Date getDate() throws PropertyException
PropertyException - if property cannot be transformed into DateString getName()
String getString()
ValueType getType()
Object getValue()
void setValue(Date value) throws PropertyException
value - date valuePropertyException - if failed to set new valuevoid setValue(String value) throws PropertyException
value - string valuePropertyException - if failed to set new valueCopyright © 2018. All rights reserved.