public class FieldGroup
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
id |
protected java.lang.String |
label |
protected boolean |
mandatory |
protected FieldGroup |
parent |
protected boolean |
repeats |
| Constructor and Description |
|---|
FieldGroup(java.lang.String id,
java.lang.String label,
boolean mandatory,
boolean repeats,
FieldGroup parent)
Constructs a FieldGroup
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Returns the id of the group
|
java.lang.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 java.lang.String id
protected java.lang.String label
protected FieldGroup parent
protected boolean repeats
protected boolean mandatory
public FieldGroup(java.lang.String id,
java.lang.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 java.lang.String getId()
public java.lang.String getLabel()
public FieldGroup getParent()
public boolean isRepeating()
public boolean isMandatory()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.