Package com.saperion.intf
Interface SaPropertyValue
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
SaPropertyValueImpl
A SaPropertyValure represents the value of a field contained in a DDC for a specific document. It can be
a single- or a multi-value property.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the DDC name for this property.Reads the field type.getName()
Returns the name of this property.Returns the string value of this property.String[]
Returns the values as String array.SaValue[]
Returns the value array of this property.boolean
Returns true, if this property is dynamic.boolean
isEmpty()
Test for empty value.boolean
Returns true if the value belongs to a link fieldboolean
void
setLinkedFieldValue
(boolean linkedFieldValue) Set to true only if the value belongs to a link fieldtoString()
Returns the string representation of this class.
-
Method Details
-
getDDCName
String getDDCName()Returns the DDC name for this property.- Returns:
- the DDC name
-
getName
String getName()Returns the name of this property.- Returns:
- Propertyname
-
getValues
SaValue[] getValues()Returns the value array of this property.- Returns:
- Value array
-
getStringValues
String[] getStringValues()Returns the values as String array.- Returns:
- String[]
-
getStringValue
String getStringValue()Returns the string value of this property.- Returns:
- String value.
-
isDynamic
boolean isDynamic()Returns true, if this property is dynamic.- Returns:
- True, if property is dynamic
-
isEmpty
boolean isEmpty()Test for empty value.- Returns:
- True, if empty
-
getFieldType
SaConstants.SaFieldType getFieldType()Reads the field type.- Returns:
- SaFieldType
-
toString
String toString()Returns the string representation of this class. -
isMultiValue
boolean isMultiValue()- Returns:
- Property is multivalued
-
isLinkedFieldValue
boolean isLinkedFieldValue()Returns true if the value belongs to a link field- Returns:
-
setLinkedFieldValue
void setLinkedFieldValue(boolean linkedFieldValue) Set to true only if the value belongs to a link field- Parameters:
linkedFieldValue
-
-