Package com.gooddata.md
Class Meta
- java.lang.Object
-
- com.gooddata.md.Meta
-
- All Implemented Interfaces:
Serializable
public class Meta extends Object implements Serializable
Metadata meta information (meant just for internal SDK usage)- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description Meta(String title)Meta(String title, String summary)Meta(String author, String contributor, org.joda.time.DateTime created, org.joda.time.DateTime updated, String summary, String title, String category, Set<String> tags, String uri, String identifier, Boolean deprecated, Boolean production, Boolean locked, Boolean unlisted, Boolean sharedWithSomeone)Meta(String author, String contributor, org.joda.time.DateTime created, org.joda.time.DateTime updated, String summary, String title, String category, Set<String> tags, String uri, String identifier, Boolean deprecated, Boolean production, Boolean locked, Boolean unlisted, Boolean sharedWithSomeone, Set<String> flags)Constructor with "extra" flags argumentprotectedMeta(String author, String contributor, org.joda.time.DateTime created, org.joda.time.DateTime updated, String summary, String title, String category, Set<String> tags, String uri, String identifier, Set<String> flags)
-
Method Summary
All 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()Default is false/not-deprecated.BooleanisLocked()Flag that MD object is locked; default is false/unlocked.BooleanisProduction()Is the object production or not? Defaults to true.BooleanisSharedWithSomeone()Is the linked object shared with someone via ACLs?BooleanisUnlisted()Default is false/listed.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()
-
-
-
Constructor Detail
-
Meta
protected Meta(String author, String contributor, org.joda.time.DateTime created, org.joda.time.DateTime updated, String summary, String title, String category, Set<String> tags, String uri, String identifier, Set<String> flags)
-
Meta
@Deprecated public Meta(String author, String contributor, org.joda.time.DateTime created, org.joda.time.DateTime updated, String summary, String title, String category, Set<String> tags, String uri, String identifier, Boolean deprecated, Boolean production, Boolean locked, Boolean unlisted, Boolean sharedWithSomeone)
Deprecated.- Parameters:
author-contributor-created-updated-summary-title-category-tags-uri-identifier-deprecated-production-locked-unlisted-sharedWithSomeone-
-
Meta
public Meta(String author, String contributor, org.joda.time.DateTime created, org.joda.time.DateTime updated, String summary, String title, String category, Set<String> tags, String uri, String identifier, Boolean deprecated, Boolean production, Boolean locked, Boolean unlisted, Boolean sharedWithSomeone, Set<String> flags)
Constructor with "extra" flags argument- Parameters:
author-contributor-created-updated-summary-title-category-tags-uri-identifier-deprecated-production-locked-unlisted-sharedWithSomeone-flags-
-
Meta
public Meta(String title)
-
-
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()
Default is false/not-deprecated.- Returns:
- true when the linked object is deprecated, null if not set
-
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)
-
isProduction
public Boolean isProduction()
Is the object production or not? Defaults to true.- Returns:
- true when the linked object is production, null if not set
-
setProduction
public void setProduction(Boolean production)
-
isLocked
public Boolean isLocked()
Flag that MD object is locked; default is false/unlocked.- Returns:
- true when the linked object is locked, null if not set
-
setLocked
public void setLocked(Boolean locked)
-
isUnlisted
public Boolean isUnlisted()
Default is false/listed.- Returns:
- true when the linked object is unlisted, null if not set
-
setUnlisted
public void setUnlisted(Boolean unlisted)
-
isSharedWithSomeone
public Boolean isSharedWithSomeone()
Is the linked object shared with someone via ACLs?- Returns:
- true when the linked object is shared, null if not set
-
setSharedWithSomeone
public void setSharedWithSomeone(Boolean sharedWithSomeone)
-
-