Package com.gooddata.sdk.model.md
Class NestedAttribute
- java.lang.Object
-
- com.gooddata.sdk.model.md.AbstractObj
-
- com.gooddata.sdk.model.md.NestedAttribute
-
- All Implemented Interfaces:
java.io.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.sdk.model.md.AbstractObj
meta
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNestedAttribute(Meta meta, NestedAttribute.Content content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.String>getCompositeAttribute()java.util.Collection<java.lang.String>getCompositeAttributePk()DisplayFormgetDefaultDisplayForm()java.lang.StringgetDimensionUri()java.lang.StringgetDirection()java.util.Collection<DisplayForm>getDisplayForms()java.lang.StringgetDrillDownStepDisplayFormUri()java.util.Collection<java.lang.String>getFolders()URIs of folders containing this objectjava.util.Collection<Key>getForeignKeys()java.util.Collection<java.lang.String>getGrain()java.lang.StringgetLinkedDisplayFormUri()java.util.Collection<Key>getPrimaryKeys()java.util.Collection<java.lang.String>getRelations()java.lang.StringgetSort()java.lang.StringgetType()booleanhasDimension()booleanisSortedByLinkedDf()booleanisSortedByPk()booleanisSortedByUsedDf()java.lang.StringtoString()-
Methods inherited from class com.gooddata.sdk.model.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 java.util.Collection<DisplayForm> getDisplayForms()
-
getPrimaryKeys
public java.util.Collection<Key> getPrimaryKeys()
-
getForeignKeys
public java.util.Collection<Key> getForeignKeys()
-
getDefaultDisplayForm
public DisplayForm getDefaultDisplayForm()
-
getDimensionUri
public java.lang.String getDimensionUri()
-
hasDimension
public boolean hasDimension()
-
getRelations
public java.util.Collection<java.lang.String> getRelations()
-
getDirection
public java.lang.String getDirection()
-
getSort
public java.lang.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 java.lang.String getType()
-
getCompositeAttribute
public java.util.Collection<java.lang.String> getCompositeAttribute()
-
getCompositeAttributePk
public java.util.Collection<java.lang.String> getCompositeAttributePk()
-
getDrillDownStepDisplayFormUri
public java.lang.String getDrillDownStepDisplayFormUri()
-
getLinkedDisplayFormUri
public java.lang.String getLinkedDisplayFormUri()
-
getFolders
public java.util.Collection<java.lang.String> getFolders()
URIs of folders containing this object- Returns:
- collection of URIs or null
-
getGrain
public java.util.Collection<java.lang.String> getGrain()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractObj
-
-