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