Package org.alfresco.repo.forms
Class FieldGroup
java.lang.Object
org.alfresco.repo.forms.FieldGroup
Represents a field group
- Author:
- Gavin Cornwell
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFieldGroup(String id, String label, boolean mandatory, boolean repeats, FieldGroup parent) Constructs a FieldGroup -
Method Summary
-
Field Details
-
id
-
label
-
parent
-
repeats
protected boolean repeats -
mandatory
protected boolean mandatory
-
-
Constructor Details
-
FieldGroup
Constructs a FieldGroup- Parameters:
id- The id of the grouplabel- The display label of the groupmandatory- Whether the group is mandatoryrepeats- Whether the group of fields can repeatparent- The group's parent group or null if it doesn't have a parent
-
-
Method Details
-
getId
Returns the id of the group- Returns:
- The id of the group
-
getLabel
Returns the display label of the group- Returns:
- The display label of the group
-
getParent
Returns the parent group- Returns:
- The parent group or null if there isn't a parent
-
isRepeating
public boolean isRepeating()Determines whether the fields inside this group can repeat multiple times- Returns:
- true if the group repeats
-
isMandatory
public boolean isMandatory()Determines if the group is mandatory- Returns:
- true if the group is mandatory
-