public class PropertyImpl<T> extends AbstractPropertyData<T> implements Property<T>, Serializable
| Constructor and Description |
|---|
PropertyImpl(Property<T> property)
Copy constructor.
|
PropertyImpl(PropertyDefinition<T> pd,
List<T> values)
Constructs a property from a list of values.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyDefinition<T> |
getDefinition() |
PropertyType |
getType() |
<U> U |
getValue() |
String |
getValueAsString() |
String |
getValuesAsString() |
protected void |
initialize(PropertyDefinition<?> pd) |
boolean |
isMultiValued() |
getDisplayName, getFirstValue, getId, getLocalName, getPropertyDefinition, getQueryName, getValues, setDisplayName, setId, setLocalName, setPropertyDefinition, setQueryName, setValue, setValues, toStringgetExtensions, setExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDisplayName, getFirstValue, getId, getLocalName, getQueryName, getValuesgetExtensions, setExtensionspublic PropertyImpl(PropertyDefinition<T> pd, List<T> values)
protected void initialize(PropertyDefinition<?> pd)
public PropertyDefinition<T> getDefinition()
getDefinition in interface Property<T>public PropertyType getType()
public String getValueAsString()
getValueAsString in interface Property<T>public String getValuesAsString()
getValuesAsString in interface Property<T>public boolean isMultiValued()
isMultiValued in interface Property<T>Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.