public class Attribute extends ServiceDataObject implements Serializable
Constructor and Description |
---|
Attribute() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Gets the display name of the attribute.
|
long |
getID()
Gets the ID of the attribute within its group.
|
String |
getKey()
Gets the key identifying the attribute, corresponding to the key of the DataValue used to represent this attribute's values.
|
Integer |
getMaxValues()
Gets the maximum number of values for the attribute.
|
Integer |
getMinValues()
Gets the minimum number of values for the attribute.
|
BooleanObject |
getReadOnly()
Gets whether or not the attribute is read-only.
|
Boolean |
getRequired()
Gets the required flag for the attribute, which controls whether a value is required for the attribute.
|
Boolean |
getSearchable()
Gets the searchable flag for the attribute, which controls whether the attribute is searchable.
|
String |
getType()
Gets the primitive type of the attribute, one of "String", "Integer", "Real", "Date" or "Boolean".
|
void |
load(com.opentext.api.LLValue value)
Deserialize an ServiceDataObject from an LLValue that is received from Livelink.
|
void |
setDisplayName(String value)
Sets the display name of the attribute.
|
void |
setID(long value)
Sets the ID of the attribute within its group.
|
void |
setKey(String value)
Sets the key identifying the attribute, corresponding to the key of the DataValue used to represent this attribute's values.
|
void |
setMaxValues(Integer value)
Sets the maximum number of values for the attribute.
|
void |
setMinValues(Integer value)
Sets the minimum number of values for the attribute.
|
void |
setReadOnly(BooleanObject value)
Sets whether or not the attribute is read-only.
|
void |
setRequired(Boolean value)
Sets the required flag for the attribute, which controls whether a value is required for the attribute.
|
void |
setSearchable(Boolean value)
Sets the searchable flag for the attribute, which controls whether the attribute is searchable.
|
void |
setType(String value)
Sets the primitive type of the attribute, one of "String", "Integer", "Real", "Date" or "Boolean".
|
com.opentext.api.LLValue |
toLLValue()
Serialize an SDO object to an LLValue that can be sent to Livelink.
|
String |
toString()
Returns a string representation of the object consisting of the object name
and any features and their values within square brackets.
|
public void setDisplayName(String value)
public String getDisplayName()
public void setID(long value)
public long getID()
public void setKey(String value)
public String getKey()
public void setMaxValues(Integer value)
public Integer getMaxValues()
public void setMinValues(Integer value)
public Integer getMinValues()
public void setReadOnly(BooleanObject value)
public BooleanObject getReadOnly()
public void setRequired(Boolean value)
public Boolean getRequired()
public void setSearchable(Boolean value)
public Boolean getSearchable()
public void setType(String value)
public String getType()
public void load(com.opentext.api.LLValue value)
IServiceDataObject
load
in interface IServiceDataObject
load
in class ServiceDataObject
value
- the LLValue containing the data to be loadedpublic com.opentext.api.LLValue toLLValue()
IServiceDataObject
toLLValue
in interface IServiceDataObject
toLLValue
in class ServiceDataObject
public String toString()
ServiceDataObject
toString
in class ServiceDataObject
© Copyright 2017 OpenText Corp. All Rights Reserved.