| java.lang.Object com.flexive.shared.structure.FxAssignment com.flexive.shared.structure.FxGroupAssignment
All known Subclasses: com.flexive.core.structure.FxPreloadGroupAssignment, com.flexive.shared.structure.FxGroupAssignmentEdit,
FxGroupAssignment | public class FxGroupAssignment extends FxAssignment implements Serializable(Code) | | Assignment of a (structure) group to a type or another assignment of a (structure) group
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Constructor Summary | |
public | FxGroupAssignment(long assignmentId, boolean enabled, FxType assignedType, String alias, String xpath, int position, FxMultiplicity multiplicity, int defaultMultiplicity, FxGroupAssignment parentGroupAssignment, long baseAssignment, FxString label, FxString hint, FxGroup group, GroupMode mode, List<FxStructureOption> options) |
FxGroupAssignment | public FxGroupAssignment(long assignmentId, boolean enabled, FxType assignedType, String alias, String xpath, int position, FxMultiplicity multiplicity, int defaultMultiplicity, FxGroupAssignment parentGroupAssignment, long baseAssignment, FxString label, FxString hint, FxGroup group, GroupMode mode, List<FxStructureOption> options)(Code) | | Constructor
Parameters: assignmentId - internal id of this assignment Parameters: enabled - is this assignment enabled? Parameters: assignedType - the FxType this assignment belongs to Parameters: alias - an optional alias, if null the original name will be used Parameters: xpath - XPath relative to the assigned FxType Parameters: position - position within the same XPath hierarchy Parameters: multiplicity - multiplicity Parameters: defaultMultiplicity - default multiplicity Parameters: parentGroupAssignment - (optional) parent FxGroupAssignment this group assignment belongs to Parameters: baseAssignment - base assignment (if derived the parent, if not the root assignment, if its a root assignment FxAssignment.ROOT_BASE) Parameters: label - (optional) label Parameters: hint - (optional) hint Parameters: group - the assigned group Parameters: mode - used group mode (any-of or one-of) Parameters: options - options |
addAssignment | protected void addAssignment(FxAssignment as)(Code) | | Add and sort an assignment during initialization phase
Parameters: as - assignment to add at the correct position |
getAllChildAssignments | public List<FxAssignment> getAllChildAssignments()(Code) | | Get all assignments of this group and its subgroups
all assignments of this group and its subgroups |
getAssignedGroups | public List<FxGroupAssignment> getAssignedGroups()(Code) | | Get all group assignments that are assigned to this assignment
group assignments that are assigned to this assignment |
getAssignedProperties | public List<FxPropertyAssignment> getAssignedProperties()(Code) | | Get all property assignments that are assigned to this assignment
property assignments that are assigned to this assignment |
getAssignments | public List<FxAssignment> getAssignments()(Code) | | Get all assignments (groups and properties in correct order) that are assigned to this group
group assignments that are assigned to this assignment |
getGroup | public FxGroup getGroup()(Code) | | Get the group this assignment relates to
group this assignment relates to |
getMode | public GroupMode getMode()(Code) | | Get the mode used for this group.
group mode used |
getMultiplicity | public FxMultiplicity getMultiplicity()(Code) | | Get the multiplicity of this assignment.
Depending on if the assigned element allows overriding of its base multiplicity the base
elements multiplicity is returned or the multiplicity of the assignment
multiplicity of this assignment |
|
|