Package com.saperion.intf
Interface SaPropertyValue
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
SaPropertyValueImpl
public interface SaPropertyValue extends java.io.Serializable
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDDCName()
Returns the DDC name for this property.SaConstants.SaFieldType
getFieldType()
Reads the field type.java.lang.String
getName()
Returns the name of this property.java.lang.String
getStringValue()
Returns the string value of this property.java.lang.String[]
getStringValues()
Returns the values as String array.SaValue[]
getValues()
Returns the value array of this property.boolean
isDynamic()
Returns true, if this property is dynamic.boolean
isEmpty()
Test for empty value.boolean
isLinkedFieldValue()
Returns true if the value belongs to a link fieldboolean
isMultiValue()
void
setLinkedFieldValue(boolean linkedFieldValue)
Set to true only if the value belongs to a link fieldjava.lang.String
toString()
Returns the string representation of this class.
-
-
-
Method Detail
-
getDDCName
java.lang.String getDDCName()
Returns the DDC name for this property.- Returns:
- the DDC name
-
getName
java.lang.String getName()
Returns the name of this property.- Returns:
- Propertyname
-
getValues
SaValue[] getValues()
Returns the value array of this property.- Returns:
- Value array
-
getStringValues
java.lang.String[] getStringValues()
Returns the values as String array.- Returns:
- String[]
-
getStringValue
java.lang.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
java.lang.String toString()
Returns the string representation of this class.- Overrides:
toString
in classjava.lang.Object
- Returns:
- toString
- See Also:
Object.toString()
-
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
-
-
-