public final class ModuleAssignment extends Object implements Serializable, Comparable<ModuleAssignment>
TargetArea
s may contain a list of ModuleAssignment
s 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 FormModifier and Type | Field and Description |
---|---|
static String |
dataModuleFieldName
Deprecated.
|
Constructor and Description |
---|
ModuleAssignment()
Deprecated.
Default constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ModuleAssignment ma)
Deprecated.
Compare based on the position of the data module (to sort them)
|
DataModule |
getDataModule()
Deprecated.
Get the target
DataModule for the assignment. |
String |
getExpression()
Deprecated.
Get the associated expression for the assignment.
|
String |
getId()
Deprecated.
Get the unique identifier for the assignment.
|
Double |
getIndentationLevel()
Deprecated.
The indentation level specified for the target module.
|
Integer |
getPosition()
Deprecated.
Get the position of the assignment in the list of module assignments.
|
boolean |
isEditable()
Deprecated.
Get whether the assignment is editable.
|
boolean |
isInsertPageBreakAfter()
Deprecated.
|
boolean |
isInsertPageBreakBefore()
Deprecated.
|
boolean |
isOptional()
Deprecated.
Get whether the assignment is optional.
|
boolean |
isPreSelected()
Deprecated.
Get whether the assignment is pre-selected.
|
void |
setDataModule(DataModule dataModule)
Deprecated.
Sets the target
DataModule for the assignment. |
void |
setEditable(boolean editable)
Deprecated.
Sets whether the assignment is editable.
|
void |
setExpression(String expression)
Deprecated.
Sets the associated expression for the assignment.
|
void |
setId(String id)
Deprecated.
Sets the unique identifier for the assignment.
|
void |
setIndentationLevel(Double indentationLevel)
Deprecated.
Sets the indentation level for the target module (should always be positive).
|
void |
setInsertPageBreakAfter(boolean insertPageBreakAfter)
Deprecated.
|
void |
setInsertPageBreakBefore(boolean insertPageBreakBefore)
Deprecated.
|
void |
setOptional(boolean optional)
Deprecated.
Sets whether the assignment is optional.
|
void |
setPosition(Integer position)
Deprecated.
Sets the position of the assignment in the list of module assignments.
|
void |
setPreSelected(boolean preSelected)
Deprecated.
Sets whether the assignment is pre-selected.
|
public static final String dataModuleFieldName
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 boolean isInsertPageBreakBefore()
public void setInsertPageBreakBefore(boolean insertPageBreakBefore)
insertPageBreakBefore
- the insertPageBreakBefore to setpublic boolean isInsertPageBreakAfter()
public void setInsertPageBreakAfter(boolean insertPageBreakAfter)
insertPageBreakAfter
- the insertPageBreakAfter to setpublic int compareTo(ModuleAssignment ma)
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.