|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.icc.dbforms.obj.ModuleAssignment
public final class ModuleAssignment
POJO representation for a Data Module assignment to a Target Area.
TargetAreas may contain a list of ModuleAssignments that determines the data modules assigned to the
Target Area. Each assignment in the List would have its own properties determining whether the associated DataModule
is preSelected, editable or optional.
TargetAreaAssignment,
Serialized Form| Field Summary | |
|---|---|
static String |
dataModuleFieldName
|
| Constructor Summary | |
|---|---|
ModuleAssignment()
Default constructor |
|
| Method Summary | |
|---|---|
int |
compareTo(ModuleAssignment ma)
Compare based on the position of the data module (to sort them) |
DataModule |
getDataModule()
Get the target DataModule for the assignment. |
String |
getExpression()
Get the associated expression for the assignment. |
String |
getId()
Get the unique identifier for the assignment. |
Double |
getIndentationLevel()
The indentation level specified for the target module. |
Integer |
getPosition()
Get the position of the assignment in the list of module assignments. |
boolean |
isEditable()
Get whether the assignment is editable. |
boolean |
isOptional()
Get whether the assignment is optional. |
boolean |
isPreSelected()
Get whether the assignment is pre-selected. |
void |
setDataModule(DataModule dataModule)
Sets the target DataModule for the assignment. |
void |
setEditable(boolean editable)
Sets whether the assignment is editable. |
void |
setExpression(String expression)
Sets the associated expression for the assignment. |
void |
setId(String id)
Sets the unique identifier for the assignment. |
void |
setIndentationLevel(Double indentationLevel)
Sets the indentation level for the target module (should always be positive). |
void |
setOptional(boolean optional)
Sets whether the assignment is optional. |
void |
setPosition(Integer position)
Sets the position of the assignment in the list of module assignments. |
void |
setPreSelected(boolean preSelected)
Sets whether the assignment is pre-selected. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String dataModuleFieldName
| Constructor Detail |
|---|
public ModuleAssignment()
| Method Detail |
|---|
public String getId()
public void setId(String id)
id - The unique identifier for the assignment.public DataModule getDataModule()
DataModule for the assignment.
DataModule for the assignment.public void setDataModule(DataModule dataModule)
DataModule for the assignment.
dataModule - The target DataModule for the assignment.public Integer getPosition()
public void setPosition(Integer position)
position - The position of the assignment in the list of module assignments.public boolean isEditable()
public void setEditable(boolean editable)
editable - Whether the assignment is editable.public boolean isPreSelected()
public void setPreSelected(boolean preSelected)
preSelected - Whether the assignment is pre-selected.public boolean isOptional()
public void setOptional(boolean optional)
optional - Whether the assignment is optional.public String getExpression()
public void setExpression(String expression)
expression - The associated expression for the assignment.public Double getIndentationLevel()
public void setIndentationLevel(Double indentationLevel)
indentationLevel - the indentation level to set for the target module.
ICCException - if the given indentation level is invalid.public int compareTo(ModuleAssignment ma)
compareTo in interface Comparable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||