Interface IFragmentDefinition
- All Superinterfaces:
- Serializable
Base interface for fragment definition
- Author:
- bchapoton
- 
Method SummaryModifier 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- 
getIdString getId()Get the id- Returns:
- id
 
- 
getLabelString getLabel()Get the label- Returns:
- label
 
- 
setLabelSet the label- Parameters:
- label-
 
- 
getDescriptionString getDescription()Get the description- Returns:
- description
 
- 
setDescriptionSet the description- Parameters:
- description-
 
- 
getNameString getName()Get the name- Returns:
- name
 
- 
setNameSet the name- Parameters:
- name-
 
- 
getDisplayConditionsFormulaString getDisplayConditionsFormula()Get the display conditions formula- Returns:
- formula
 
- 
setDisplayConditionsFormulaSet the display conditions formula- Parameters:
- displayConditionsFormula-
 
- 
getChildrenList<IContentDefinition> getChildren()Get the fragment's children- Returns:
- children
 
- 
addChildAdd a child to the fragment- Parameters:
- child-
 
- 
removeChildRemove a child to the fragment- Parameters:
- child-
 
- 
clearChildrenvoid clearChildren()Remove all children
- 
cloneClone the fragment definition- Parameters:
- parentBlockDefinition-
- Returns:
- duplicate IFragmentDefinition
 
- 
isEmptyFieldboolean isEmptyField()
- 
setEmptyFieldvoid setEmptyField(boolean emptyField) 
 
-