Class AttributeHeader

java.lang.Object
com.gooddata.sdk.model.executeafm.response.AttributeHeader
All Implemented Interfaces:
LocallyIdentifiable, Header

public class AttributeHeader extends Object implements Header, LocallyIdentifiable
Header of an attribute.
  • Constructor Details

    • AttributeHeader

      public AttributeHeader(String name, String localIdentifier, String uri, String identifier, AttributeInHeader formOf)
      Creates new header
      Parameters:
      name - name
      localIdentifier - local identifier
      uri - uri
      identifier - identifier
      formOf - info about attribute which this header's display form is form of
    • AttributeHeader

      public AttributeHeader(String name, String localIdentifier, String uri, String identifier, AttributeInHeader formOf, List<TotalHeaderItem> totalHeaderItems)
      Creates new header
      Parameters:
      name - name
      localIdentifier - local identifier
      uri - uri
      identifier - identifier
      formOf - info about attribute which this header's display form is form of
      totalHeaderItems - total header items
    • AttributeHeader

      public AttributeHeader(String name, String localIdentifier, String uri, String identifier, String type, AttributeInHeader formOf, List<TotalHeaderItem> totalHeaderItems)
      Creates new header
      Parameters:
      name - name
      localIdentifier - local identifier
      uri - uri
      identifier - identifier
      type - type
      formOf - info about attribute which this header's display form is form of
      totalHeaderItems - total header items
  • Method Details

    • getName

      public String getName()
      Header name, an attribute's display form title, or specified alias.
      Returns:
      header name
    • getLocalIdentifier

      public String getLocalIdentifier()
      Local identifier referencing header's AttributeItem within Afm
      Specified by:
      getLocalIdentifier in interface LocallyIdentifiable
      Returns:
      attribute's local identifier
    • getUri

      public String getUri()
      Uri of attribute's display form
      Returns:
      uri
    • getIdentifier

      public String getIdentifier()
      Metadata identifier of attribute's display form
      Returns:
      identifier
    • getType

      public String getType()
      Metadata type of attribute's display form
      Returns:
      type
    • getFormOf

      public AttributeInHeader getFormOf()
    • getTotalItems

      public List<TotalHeaderItem> getTotalItems()
      Totals' headers belonging to the same level as this header.
      Returns:
      lists of totals' header
    • toString

      public String toString()
      Overrides:
      toString in class Object