public class PropertyImpl extends Object implements Property
Constructor and Description |
---|
PropertyImpl(Object value)
Constructor based that define a property exclusively by its standard
value.
|
PropertyImpl(Object value,
PropertyType type) |
PropertyImpl(Object value,
PropertyType type,
Boolean isMultiValued) |
PropertyImpl(org.apache.chemistry.opencmis.client.api.Property prop)
Use by default for creating property object that wraps an OpenCMIS
Property.
|
PropertyImpl(String displayName,
Object value,
PropertyType type,
Boolean isMultiValued) |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Return the display Name
|
String |
getStringValue() |
PropertyType |
getType()
Returns the property data type.
|
<T> T |
getValue()
Returns the property value, in the case of a multi-valued property a List
is returned.
|
boolean |
isMultiValued()
Returns true if the property is a multi-value property.
|
public PropertyImpl(org.apache.chemistry.opencmis.client.api.Property prop)
value
- public PropertyImpl(Object value)
value
- : default value for the specific propertypublic PropertyImpl(Object value, PropertyType type)
public PropertyImpl(Object value, PropertyType type, Boolean isMultiValued)
public PropertyImpl(String displayName, Object value, PropertyType type, Boolean isMultiValued)
public boolean isMultiValued()
isMultiValued
in interface Property
public PropertyType getType()
public <T> T getValue()
public String getDisplayName()
getDisplayName
in interface Property
public String getStringValue()
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.