public class StringAttribute extends PrimitiveAttribute implements Serializable
Constructor and Description |
---|
StringAttribute() |
Modifier and Type | Method and Description |
---|---|
Integer |
getDisplayLength()
Gets the width of the field which displays the value of the attribute.
|
Integer |
getMaxLength()
Gets the maximum stored length of the attriute.
|
String[] |
getValidValues()
Gets the list of valid values for this attribute.
|
String |
getValidValues(int index)
Gets the value at the specified index in the ValidValues array.
|
String[] |
getValues()
Gets the array of default values for the attribute.
|
String |
getValues(int index)
Gets the value at the specified index in the Values array.
|
void |
load(com.opentext.api.LLValue value)
Deserialize an ServiceDataObject from an LLValue that is received from Livelink.
|
void |
setDisplayLength(Integer value)
Sets the width of the field which displays the value of the attribute.
|
void |
setMaxLength(Integer value)
Sets the maximum stored length of the attriute.
|
void |
setValidValues(int index,
String value)
Sets the value at the specified index in the fValidValues array.
|
void |
setValidValues(String[] value)
Sets the list of valid values for this attribute.
|
void |
setValues(int index,
String value)
Sets the value at the specified index in the fValues array.
|
void |
setValues(String[] value)
Sets the array of default values for the attribute.
|
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.
|
getDisplayName, getID, getKey, getMaxValues, getMinValues, getReadOnly, getRequired, getSearchable, getType, setDisplayName, setID, setKey, setMaxValues, setMinValues, setReadOnly, setRequired, setSearchable, setType
public void setDisplayLength(Integer value)
public Integer getDisplayLength()
public void setMaxLength(Integer value)
public Integer getMaxLength()
public void setValidValues(String[] value)
public String[] getValidValues()
public void setValidValues(int index, String value)
public String getValidValues(int index)
public void setValues(String[] value)
public String[] getValues()
public void setValues(int index, String value)
public String getValues(int index)
public void load(com.opentext.api.LLValue value)
IServiceDataObject
load
in interface IServiceDataObject
load
in class PrimitiveAttribute
value
- the LLValue containing the data to be loadedpublic com.opentext.api.LLValue toLLValue()
IServiceDataObject
toLLValue
in interface IServiceDataObject
toLLValue
in class PrimitiveAttribute
public String toString()
ServiceDataObject
toString
in class PrimitiveAttribute
© Copyright 2017 OpenText Corp. All Rights Reserved.