Package com.gooddata.sdk.model.md
Class AbstractObj
java.lang.Object
com.gooddata.sdk.model.md.AbstractObj
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AnalyticalDashboard,Column,DashboardFilterContext,DataLoadingColumn,Dataset,Dimension,DisplayForm,Fact,Kpi,KpiAlert,Metric,NestedAttribute,ProjectDashboard,Report,ReportDefinition,ScheduledMail,Table,TableDataLoad,VisualizationClass,VisualizationObject
public abstract class AbstractObj
extends java.lang.Object
implements java.io.Serializable
Metadata object (common part)
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractObj(Meta meta) -
Method Summary
Modifier and Type Method Description java.lang.StringgetAuthor()java.lang.StringgetCategory()java.lang.StringgetContributor()java.time.ZonedDateTimegetCreated()java.util.Set<java.lang.String>getFlags()java.lang.StringgetId()Returns internally generated ID of the object (that's part of the object URI).java.lang.StringgetIdentifier()Returns user-specified identifier of the object.java.lang.StringgetSummary()java.util.Set<java.lang.String>getTags()java.lang.StringgetTitle()java.time.ZonedDateTimegetUpdated()java.lang.StringgetUri()booleanisDeprecated()booleanisLocked()booleanisProduction()booleanisSharedWithSomeone()booleanisUnlisted()voidsetCategory(java.lang.String category)voidsetDeprecated(java.lang.Boolean deprecated)voidsetFlags(java.util.Set<java.lang.String> flags)voidsetIdentifier(java.lang.String identifier)voidsetLocked(java.lang.Boolean locked)voidsetProduction(java.lang.Boolean production)voidsetSharedWithSomeone(java.lang.Boolean sharedWithSomeone)voidsetSummary(java.lang.String summary)voidsetTags(java.util.Set<java.lang.String> tags)voidsetTitle(java.lang.String title)voidsetUnlisted(java.lang.Boolean unlisted)java.lang.StringtoString()protected static <T extends Obj>
java.lang.String[]uris(T... objs)Get list of URIs of the givenObjs
-
Field Details
-
Constructor Details
-
Method Details
-
getId
public java.lang.String getId()Returns internally generated ID of the object (that's part of the object URI).- Returns:
- internal ID of the object
-
getAuthor
public java.lang.String getAuthor() -
getContributor
public java.lang.String getContributor() -
getCreated
public java.time.ZonedDateTime getCreated() -
getSummary
public java.lang.String getSummary() -
setSummary
public void setSummary(java.lang.String summary) -
getTitle
public java.lang.String getTitle() -
setTitle
public void setTitle(java.lang.String title) -
getUpdated
public java.time.ZonedDateTime getUpdated() -
getCategory
public java.lang.String getCategory() -
setCategory
public void setCategory(java.lang.String category) -
getTags
public java.util.Set<java.lang.String> getTags() -
setTags
public void setTags(java.util.Set<java.lang.String> tags) -
getUri
public java.lang.String getUri() -
isDeprecated
public boolean isDeprecated() -
setDeprecated
public void setDeprecated(java.lang.Boolean deprecated) -
getIdentifier
public java.lang.String getIdentifier()Returns user-specified identifier of the object.- Returns:
- user-specified object identifier
-
setIdentifier
public void setIdentifier(java.lang.String identifier) -
isLocked
public boolean isLocked() -
setLocked
public void setLocked(java.lang.Boolean locked) -
isUnlisted
public boolean isUnlisted() -
setUnlisted
public void setUnlisted(java.lang.Boolean unlisted) -
isProduction
public boolean isProduction() -
setProduction
public void setProduction(java.lang.Boolean production) -
isSharedWithSomeone
public boolean isSharedWithSomeone() -
setSharedWithSomeone
public void setSharedWithSomeone(java.lang.Boolean sharedWithSomeone) -
getFlags
public java.util.Set<java.lang.String> getFlags() -
setFlags
public void setFlags(java.util.Set<java.lang.String> flags) -
uris
Get list of URIs of the givenObjs- Type Parameters:
T- Obj type- Parameters:
objs- metadata objects- Returns:
- list of URIs
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-