Package com.gooddata.executeafm.response
Class AttributeHeader
- java.lang.Object
-
- com.gooddata.executeafm.response.AttributeHeader
-
- All Implemented Interfaces:
LocallyIdentifiable,Header
public class AttributeHeader extends Object implements Header, LocallyIdentifiable
Header of an attribute.
-
-
Constructor Summary
Constructors Constructor Description AttributeHeader(String name, String localIdentifier, String uri, String identifier)Deprecated.use the constructor withAttributeInHeaderAttributeHeader(String name, String localIdentifier, String uri, String identifier, AttributeInHeader formOf)Creates new headerAttributeHeader(String name, String localIdentifier, String uri, String identifier, AttributeInHeader formOf, List<TotalHeaderItem> totalHeaderItems)Creates new headerAttributeHeader(String name, String localIdentifier, String uri, String identifier, List<TotalHeaderItem> totalHeaderItems)Deprecated.use the constructor withAttributeInHeader
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeInHeadergetFormOf()StringgetIdentifier()Metadata identifier of attribute's display formStringgetLocalIdentifier()Local identifier referencing header'sAttributeItemwithinAfmStringgetName()Header name, an attribute's display form title, or specified alias.List<TotalHeaderItem>getTotalItems()Totals' headers belonging to the same level as this header.StringgetUri()Uri of attribute's display formStringtoString()
-
-
-
Constructor Detail
-
AttributeHeader
@Deprecated public AttributeHeader(String name, String localIdentifier, String uri, String identifier)
Deprecated.use the constructor withAttributeInHeaderCreates new header- Parameters:
name- namelocalIdentifier- local identifieruri- uriidentifier- identifier
-
AttributeHeader
@Deprecated public AttributeHeader(String name, String localIdentifier, String uri, String identifier, List<TotalHeaderItem> totalHeaderItems)
Deprecated.use the constructor withAttributeInHeaderCreates new header- Parameters:
name- namelocalIdentifier- local identifieruri- uriidentifier- identifiertotalHeaderItems- total header items
-
AttributeHeader
public AttributeHeader(String name, String localIdentifier, String uri, String identifier, AttributeInHeader formOf)
Creates new header- Parameters:
name- namelocalIdentifier- local identifieruri- uriidentifier- identifierformOf- 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- namelocalIdentifier- local identifieruri- uriidentifier- identifierformOf- info about attribute which this header's display form is form oftotalHeaderItems- total header items
-
-
Method Detail
-
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'sAttributeItemwithinAfm- Specified by:
getLocalIdentifierin interfaceLocallyIdentifiable- 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
-
getFormOf
public AttributeInHeader getFormOf()
-
getTotalItems
public List<TotalHeaderItem> getTotalItems()
Totals' headers belonging to the same level as this header.- Returns:
- lists of totals' header
-
-