Package com.gooddata.md
Class NestedAttribute
- java.lang.Object
-
- com.gooddata.md.AbstractObj
-
- com.gooddata.md.NestedAttribute
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Attribute
public class NestedAttribute extends AbstractObj
Attribute representation which is nested in some other metadata object (i.e. withinDimension). Can't be queried, get or updated directly - useAttributefor these operations.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classNestedAttribute.Content
-
Field Summary
-
Fields inherited from class com.gooddata.md.AbstractObj
meta
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNestedAttribute(Meta meta, NestedAttribute.Content content)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Collection<String>getCompositeAttribute()Collection<String>getCompositeAttributePk()DisplayFormgetDefaultDisplayForm()StringgetDimensionLink()Deprecated.usegetDimensionUri()insteadStringgetDimensionUri()StringgetDirection()Collection<DisplayForm>getDisplayForms()StringgetDrillDownStepDisplayFormLink()Deprecated.usegetDrillDownStepDisplayFormUri()insteadStringgetDrillDownStepDisplayFormUri()Collection<String>getFolders()URIs of folders containing this objectCollection<Key>getForeignKeys()Collection<String>getGrain()StringgetLinkedDisplayFormLink()Deprecated.usegetLinkedDisplayFormUri()insteadStringgetLinkedDisplayFormUri()Collection<Key>getPrimaryKeys()Collection<String>getRelations()StringgetSort()StringgetType()booleanhasDimension()booleanisSortedByLinkedDf()booleanisSortedByPk()booleanisSortedByUsedDf()StringtoString()-
Methods inherited from class com.gooddata.md.AbstractObj
getAuthor, getCategory, getContributor, getCreated, getFlags, getId, getIdentifier, getSummary, getTags, getTitle, getUpdated, getUri, isDeprecated, isLocked, isProduction, isSharedWithSomeone, isUnlisted, setCategory, setDeprecated, setFlags, setIdentifier, setLocked, setProduction, setSharedWithSomeone, setSummary, setTags, setTitle, setUnlisted, uris
-
-
-
-
Constructor Detail
-
NestedAttribute
protected NestedAttribute(Meta meta, NestedAttribute.Content content)
-
-
Method Detail
-
getDisplayForms
public Collection<DisplayForm> getDisplayForms()
-
getPrimaryKeys
public Collection<Key> getPrimaryKeys()
-
getForeignKeys
public Collection<Key> getForeignKeys()
-
getDefaultDisplayForm
public DisplayForm getDefaultDisplayForm()
-
getDimensionLink
@Deprecated public String getDimensionLink()
Deprecated.usegetDimensionUri()instead- Returns:
- dimension URI string
-
getDimensionUri
public String getDimensionUri()
-
hasDimension
public boolean hasDimension()
-
getRelations
public Collection<String> getRelations()
-
getDirection
public String getDirection()
-
getSort
public String getSort()
- Returns:
- sort setting - pk, byUsedDF or uri linking some display form, null if not set
- See Also:
isSortedByLinkedDf(),isSortedByUsedDf(),isSortedByPk()
-
isSortedByLinkedDf
public boolean isSortedByLinkedDf()
- Returns:
- true when the sort is set and it is a link to display form, false otherwise
-
isSortedByUsedDf
public boolean isSortedByUsedDf()
- Returns:
- true when the sort is set to byUsedDF (used display form), false otherwise
-
isSortedByPk
public boolean isSortedByPk()
- Returns:
- true when the sort is set to pk (primary key), false otherwise
-
getType
public String getType()
-
getCompositeAttribute
public Collection<String> getCompositeAttribute()
-
getCompositeAttributePk
public Collection<String> getCompositeAttributePk()
-
getDrillDownStepDisplayFormLink
@Deprecated public String getDrillDownStepDisplayFormLink()
Deprecated.usegetDrillDownStepDisplayFormUri()instead- Returns:
- drill-down step display form URI string
-
getDrillDownStepDisplayFormUri
public String getDrillDownStepDisplayFormUri()
-
getLinkedDisplayFormLink
@Deprecated public String getLinkedDisplayFormLink()
Deprecated.usegetLinkedDisplayFormUri()instead- Returns:
- linked display form URI string
-
getLinkedDisplayFormUri
public String getLinkedDisplayFormUri()
-
getFolders
public Collection<String> getFolders()
URIs of folders containing this object- Returns:
- collection of URIs or null
-
getGrain
public Collection<String> getGrain()
-
toString
public String toString()
- Overrides:
toStringin classAbstractObj
-
-