Interface IFragmentDefinition

All Superinterfaces:
Serializable

public interface IFragmentDefinition extends Serializable
Base interface for fragment definition
Author:
bchapoton
  • Method Details

    • getId

      String getId()
      Get the id
      Returns:
      id
    • getLabel

      String getLabel()
      Get the label
      Returns:
      label
    • setLabel

      void setLabel(String label)
      Set the label
      Parameters:
      label -
    • getDescription

      String getDescription()
      Get the description
      Returns:
      description
    • setDescription

      void setDescription(String description)
      Set the description
      Parameters:
      description -
    • getName

      String getName()
      Get the name
      Returns:
      name
    • setName

      void setName(String name)
      Set the name
      Parameters:
      name -
    • getDisplayConditionsFormula

      String getDisplayConditionsFormula()
      Get the display conditions formula
      Returns:
      formula
    • setDisplayConditionsFormula

      void setDisplayConditionsFormula(String displayConditionsFormula)
      Set the display conditions formula
      Parameters:
      displayConditionsFormula -
    • getChildren

      List<IContentDefinition> getChildren()
      Get the fragment's children
      Returns:
      children
    • addChild

      void addChild(IContentDefinition child)
      Add a child to the fragment
      Parameters:
      child -
    • removeChild

      void removeChild(IContentDefinition child)
      Remove a child to the fragment
      Parameters:
      child -
    • clearChildren

      void clearChildren()
      Remove all children
    • clone

      IFragmentDefinition clone(IBlockDefinition parentBlockDefinition)
      Clone the fragment definition
      Parameters:
      parentBlockDefinition -
      Returns:
      duplicate IFragmentDefinition
    • isEmptyField

      boolean isEmptyField()
    • setEmptyField

      void setEmptyField(boolean emptyField)