public class FieldGroup extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected String |
label |
protected boolean |
mandatory |
protected FieldGroup |
parent |
protected boolean |
repeats |
Constructor and Description |
---|
FieldGroup(String id,
String label,
boolean mandatory,
boolean repeats,
FieldGroup parent)
Constructs a FieldGroup
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the id of the group
|
String |
getLabel()
Returns the display label of the group
|
FieldGroup |
getParent()
Returns the parent group
|
boolean |
isMandatory()
Determines if the group is mandatory
|
boolean |
isRepeating()
Determines whether the fields inside this group can
repeat multiple times
|
protected String id
protected String label
protected FieldGroup parent
protected boolean repeats
protected boolean mandatory
public FieldGroup(String id, String label, boolean mandatory, boolean repeats, FieldGroup parent)
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 parentpublic String getId()
public String getLabel()
public FieldGroup getParent()
public boolean isRepeating()
public boolean isMandatory()
Copyright © 2005–2017 Alfresco Software. All rights reserved.