Class TableDataPilotFieldElement

All Implemented Interfaces:
Serializable, Cloneable, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class TableDataPilotFieldElement extends OdfElement
DOM implementation of OpenDocument element <table:data-pilot-field>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • TableDataPilotFieldElement

      public TableDataPilotFieldElement(OdfFileDom ownerDoc)
      Create the instance of TableDataPilotFieldElement
      Parameters:
      ownerDoc - The type is OdfFileDom
  • Method Details

    • getOdfName

      public OdfName getOdfName()
      Get the element name
      Specified by:
      getOdfName in class OdfElement
      Returns:
      return OdfName the name of element <table:data-pilot-field>.
    • getTableFunctionAttribute

      public String getTableFunctionAttribute()
      Receives the value of the ODFDOM attribute representation TableFunctionAttribute , See @table:function
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableFunctionAttribute

      public void setTableFunctionAttribute(String tableFunctionValue)
      Sets the value of ODFDOM attribute representation TableFunctionAttribute , See @table:function
      Parameters:
      tableFunctionValue - The type is String
    • getTableIsDataLayoutFieldAttribute

      public String getTableIsDataLayoutFieldAttribute()
      Receives the value of the ODFDOM attribute representation TableIsDataLayoutFieldAttribute , See @table:is-data-layout-field
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableIsDataLayoutFieldAttribute

      public void setTableIsDataLayoutFieldAttribute(String tableIsDataLayoutFieldValue)
      Sets the value of ODFDOM attribute representation TableIsDataLayoutFieldAttribute , See @table:is-data-layout-field
      Parameters:
      tableIsDataLayoutFieldValue - The type is String
    • getTableOrientationAttribute

      public String getTableOrientationAttribute()
      Receives the value of the ODFDOM attribute representation TableOrientationAttribute , See @table:orientation

      Attribute is mandatory.

      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableOrientationAttribute

      public void setTableOrientationAttribute(String tableOrientationValue)
      Sets the value of ODFDOM attribute representation TableOrientationAttribute , See @table:orientation
      Parameters:
      tableOrientationValue - The type is String
    • getTableSelectedPageAttribute

      public String getTableSelectedPageAttribute()
      Receives the value of the ODFDOM attribute representation TableSelectedPageAttribute , See @table:selected-page
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableSelectedPageAttribute

      public void setTableSelectedPageAttribute(String tableSelectedPageValue)
      Sets the value of ODFDOM attribute representation TableSelectedPageAttribute , See @table:selected-page
      Parameters:
      tableSelectedPageValue - The type is String
    • getTableSourceFieldNameAttribute

      public String getTableSourceFieldNameAttribute()
      Receives the value of the ODFDOM attribute representation TableSourceFieldNameAttribute , See @table:source-field-name

      Attribute is mandatory.

      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setTableSourceFieldNameAttribute

      public void setTableSourceFieldNameAttribute(String tableSourceFieldNameValue)
      Sets the value of ODFDOM attribute representation TableSourceFieldNameAttribute , See @table:source-field-name
      Parameters:
      tableSourceFieldNameValue - The type is String
    • getTableUsedHierarchyAttribute

      public Integer getTableUsedHierarchyAttribute()
      Receives the value of the ODFDOM attribute representation TableUsedHierarchyAttribute , See @table:used-hierarchy
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setTableUsedHierarchyAttribute

      public void setTableUsedHierarchyAttribute(Integer tableUsedHierarchyValue)
      Sets the value of ODFDOM attribute representation TableUsedHierarchyAttribute , See @table:used-hierarchy
      Parameters:
      tableUsedHierarchyValue - The type is Integer
    • newTableDataPilotFieldReferenceElement

      public TableDataPilotFieldReferenceElement newTableDataPilotFieldReferenceElement(String tableFieldNameValue, String tableMemberTypeValue, String tableTypeValue)
      Parameters:
      tableFieldNameValue - the String value of TableFieldNameAttribute , see @table:field-name at specification
      tableMemberTypeValue - the String value of TableMemberTypeAttribute , see @table:member-type at specification
      tableTypeValue - the String value of TableTypeAttribute, see @table:type at specification
      Returns:
      the element <table:data-pilot-field-reference>
    • newTableDataPilotGroupsElement

      public TableDataPilotGroupsElement newTableDataPilotGroupsElement(String tableGroupedByValue, String tableSourceFieldNameValue, double tableStepValue)
      Create child element <table:data-pilot-groups>.
      Parameters:
      tableGroupedByValue - the String value of TableGroupedByAttribute , see @table:grouped-by at specification
      tableSourceFieldNameValue - the String value of TableSourceFieldNameAttribute, see @table:source-field-name at specification
      tableStepValue - the Double value of TableStepAttribute, see @table:step at specification
      Returns:
      the element <table:data-pilot-groups>
    • newTableDataPilotLevelElement

      public TableDataPilotLevelElement newTableDataPilotLevelElement()
      Create child element <table:data-pilot-level>.
      Returns:
      the element <table:data-pilot-level>
    • accept

      public void accept(ElementVisitor visitor)
      Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.
      Overrides:
      accept in class OdfElement
      Parameters:
      visitor - an instance of DefaultElementVisitor