Interface IFragmentDefinition
- All Superinterfaces:
Serializable
Base interface for fragment definition
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(IContentDefinition child) Add a child to the fragmentvoidRemove all childrenclone(IBlockDefinition parentBlockDefinition) Clone the fragment definitionGet the fragment's childrenGet the descriptionGet the display conditions formulagetId()Get the idgetLabel()Get the labelgetName()Get the namebooleanvoidremoveChild(IContentDefinition child) Remove a child to the fragmentvoidsetDescription(String description) Set the descriptionvoidsetDisplayConditionsFormula(String displayConditionsFormula) Set the display conditions formulavoidsetEmptyField(boolean emptyField) voidSet the labelvoidSet the name
-
Method Details
-
getId
String getId()Get the id- Returns:
- id
-
getLabel
String getLabel()Get the label- Returns:
- label
-
setLabel
Set the label -
getDescription
String getDescription()Get the description- Returns:
- description
-
setDescription
Set the description -
getName
String getName()Get the name- Returns:
- name
-
setName
Set the name -
getDisplayConditionsFormula
String getDisplayConditionsFormula()Get the display conditions formula- Returns:
- formula
-
setDisplayConditionsFormula
Set the display conditions formula -
getChildren
List<IContentDefinition> getChildren()Get the fragment's children- Returns:
- children
-
addChild
Add a child to the fragment -
removeChild
Remove a child to the fragment -
clearChildren
void clearChildren()Remove all children -
clone
Clone the fragment definition- Returns:
- duplicate IFragmentDefinition
-
isEmptyField
boolean isEmptyField() -
setEmptyField
void setEmptyField(boolean emptyField)
-