Class AttributeGroup
- java.lang.Object
-
- com.opentext.livelink.service.core.ServiceDataObject
-
- com.opentext.livelink.service.docman.AttributeGroup
-
- All Implemented Interfaces:
IServiceDataObject,java.io.Serializable
public class AttributeGroup extends ServiceDataObject implements java.io.Serializable
An AttributeGroup stores the array of DataValues which correspond to the Attribute array in an AttributeGroupDefinition. For example, a Content Server Category's values are represented in an AttributeGroup.- Version:
- 2013-08-26
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttributeGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDisplayName()Gets the display name of the group.java.lang.StringgetKey()Gets the key identifying the group, corresponding to the key of the AttributeGroupDefinition.java.lang.StringgetType()Gets the type of the group (e.g.DataValue[]getValues()Gets the list of DataValue objects representing the value of the group.DataValuegetValues(int index)Gets the value at the specified index in the Values array.voidload(com.opentext.api.LLValue value)Deserialize an ServiceDataObject from an LLValue that is received from Livelink.voidsetDisplayName(java.lang.String value)Sets the display name of the group.voidsetKey(java.lang.String value)Sets the key identifying the group, corresponding to the key of the AttributeGroupDefinition.voidsetType(java.lang.String value)Sets the type of the group (e.g.voidsetValues(int index, DataValue value)Sets the value at the specified index in the fValues array.voidsetValues(DataValue[] value)Sets the list of DataValue objects representing the value of the group.com.opentext.api.LLValuetoLLValue()Serialize an SDO object to an LLValue that can be sent to Livelink.java.lang.StringtoString()Returns a string representation of the object consisting of the object name and any features and their values within square brackets.
-
-
-
Method Detail
-
setDisplayName
public void setDisplayName(java.lang.String value)
Sets the display name of the group.
-
getDisplayName
public java.lang.String getDisplayName()
Gets the display name of the group.
-
setKey
public void setKey(java.lang.String value)
Sets the key identifying the group, corresponding to the key of the AttributeGroupDefinition.
-
getKey
public java.lang.String getKey()
Gets the key identifying the group, corresponding to the key of the AttributeGroupDefinition.
-
setType
public void setType(java.lang.String value)
Sets the type of the group (e.g. Category).
-
getType
public java.lang.String getType()
Gets the type of the group (e.g. Category).
-
setValues
public void setValues(DataValue[] value)
Sets the list of DataValue objects representing the value of the group.
-
getValues
public DataValue[] getValues()
Gets the list of DataValue objects representing the value of the group.
-
setValues
public void setValues(int index, DataValue value)Sets the value at the specified index in the fValues array.
-
getValues
public DataValue getValues(int index)
Gets the value at the specified index in the Values array.
-
load
public void load(com.opentext.api.LLValue value)
Description copied from interface:IServiceDataObjectDeserialize an ServiceDataObject from an LLValue that is received from Livelink. The LLValue is an Assoc that contains all of the features of this SDO. These features may refer to other SDOs and contain arrays of primitive values or SDOs. Each referenced SDO, will have its load() method called as well. Note: this is an internal method not meant to be called by clients.- Specified by:
loadin interfaceIServiceDataObject- Overrides:
loadin classServiceDataObject- Parameters:
value- the LLValue containing the data to be loaded
-
toLLValue
public com.opentext.api.LLValue toLLValue()
Description copied from interface:IServiceDataObjectSerialize an SDO object to an LLValue that can be sent to Livelink. Each feature of the SDO is stored in a key of the LLValue Assoc. Any references to other SDOs cause their toLLValue() method to be called. Note: this is an internal method not meant to be called by clients.- Specified by:
toLLValuein interfaceIServiceDataObject- Overrides:
toLLValuein classServiceDataObject- Returns:
- Returns the LLValue object that represents this SDO
-
toString
public java.lang.String toString()
Description copied from class:ServiceDataObjectReturns a string representation of the object consisting of the object name and any features and their values within square brackets. Intended for simple debugging or logging of an SDO.- Overrides:
toStringin classServiceDataObject
-
-