|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.icc.dbforms.obj.Variable
public class Variable
POJO representation of a Variable.
Variables may be of type DataDictionary Element (DDE) or a Placeholder (ad-hoc variable), defined by the
Variable.VariableType type. If it is of type DDE, then the name would be the name/path of the
Data Dictionary Element, else (if it is a Placeholder type) it would be the name given by the user.
If a Variable is marked protected, it's value cannot be edited by the user during Correspondence creation.
| Nested Class Summary | |
|---|---|
static class |
Variable.VariableSubType
Enum to specify the variable subType, whether its a Enum. |
static class |
Variable.VariableType
Enum to specify the variable type, whether its a DDE or just a placeholder. |
| Constructor Summary | |
|---|---|
Variable()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDataModuleName()
|
DataType |
getDataType()
Get the data type of the Variable. |
java.lang.String |
getDescription()
Get the description for the Variable. |
java.lang.String |
getId()
Get the identifier for the Variable. |
java.lang.String |
getName()
Get the name for the Variable. |
java.lang.Boolean |
getProtect()
Get whether the Variable is protected. |
Variable.VariableSubType |
getSubType()
Get the type (DDE/PLACEHOLDER) of the Variable. |
Variable.VariableType |
getType()
Get the type (DDE/PLACEHOLDER) of the Variable. |
java.util.List |
getValueSet()
Returns the list of possible values for this variable. |
void |
setDataModuleName(java.lang.String dataModuleId)
|
void |
setDataType(DataType dataType)
Sets the data type of the Variable. |
void |
setDescription(java.lang.String description)
Sets the description for the Variable. |
void |
setId(java.lang.String id)
Sets the identifier for the Variable. |
void |
setName(java.lang.String name)
Sets the name for the Variable. |
void |
setProtect(java.lang.Boolean protect)
Sets whether the Variable is protected. |
void |
setSubType(Variable.VariableSubType subType)
Sets the type (DDE/PLACEHOLDER) of the Variable. |
void |
setType(Variable.VariableType type)
Sets the type (DDE/PLACEHOLDER) of the Variable. |
void |
setValueSet(java.util.List valueSet)
Sets possible values for this variable. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Variable()
| Method Detail |
|---|
public java.lang.String getId()
public void setId(java.lang.String id)
id - The identifier for the Variable.public java.lang.String getName()
public void setName(java.lang.String name)
name - The name for the Variable.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The description for the Variable.public java.lang.Boolean getProtect()
public void setProtect(java.lang.Boolean protect)
protect - Whether the Variable is protected.public Variable.VariableType getType()
public void setType(Variable.VariableType type)
type - The type (DDE/PLACEHOLDER) of the Variable.public Variable.VariableSubType getSubType()
public void setSubType(Variable.VariableSubType subType)
type - The type (DDE/PLACEHOLDER) of the Variable.public java.util.List getValueSet()
public void setValueSet(java.util.List valueSet)
valueSet - the list of values for an ENUM Variablepublic DataType getDataType()
DataTypepublic void setDataType(DataType dataType)
dataType - The data type of the Variable.DataTypepublic java.lang.String getDataModuleName()
public void setDataModuleName(java.lang.String dataModuleId)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||