Package com.gooddata.sdk.model.md
Class Meta
- java.lang.Object
-
- com.gooddata.sdk.model.md.Meta
-
- All Implemented Interfaces:
java.io.Serializable
public class Meta extends java.lang.Object implements java.io.SerializableMetadata meta information (meant just for internal SDK usage)- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description Meta(java.lang.String title)Meta(java.lang.String title, java.lang.String summary)Meta(java.lang.String author, java.lang.String contributor, java.time.ZonedDateTime created, java.time.ZonedDateTime updated, java.lang.String summary, java.lang.String title, java.lang.String category, java.util.Set<java.lang.String> tags, java.lang.String uri, java.lang.String identifier, java.lang.Boolean deprecated, java.lang.Boolean production, java.lang.Boolean locked, java.lang.Boolean unlisted, java.lang.Boolean sharedWithSomeone, java.util.Set<java.lang.String> flags)Constructor with "extra" flags argumentprotectedMeta(java.lang.String author, java.lang.String contributor, java.time.ZonedDateTime created, java.time.ZonedDateTime updated, java.lang.String summary, java.lang.String title, java.lang.String category, java.util.Set<java.lang.String> tags, java.lang.String uri, java.lang.String identifier, java.util.Set<java.lang.String> flags)
-
Method Summary
All Methods Instance Methods Concrete Methods 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()java.lang.BooleanisDeprecated()Default is false/not-deprecated.java.lang.BooleanisLocked()Flag that MD object is locked; default is false/unlocked.java.lang.BooleanisProduction()Is the object production or not?java.lang.BooleanisSharedWithSomeone()Is the linked object shared with someone via ACLs?java.lang.BooleanisUnlisted()Default is false/listed.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()
-
-
-
Constructor Detail
-
Meta
protected Meta(java.lang.String author, java.lang.String contributor, java.time.ZonedDateTime created, java.time.ZonedDateTime updated, java.lang.String summary, java.lang.String title, java.lang.String category, java.util.Set<java.lang.String> tags, java.lang.String uri, java.lang.String identifier, java.util.Set<java.lang.String> flags)
-
Meta
public Meta(java.lang.String author, java.lang.String contributor, java.time.ZonedDateTime created, java.time.ZonedDateTime updated, java.lang.String summary, java.lang.String title, java.lang.String category, java.util.Set<java.lang.String> tags, java.lang.String uri, java.lang.String identifier, java.lang.Boolean deprecated, java.lang.Boolean production, java.lang.Boolean locked, java.lang.Boolean unlisted, java.lang.Boolean sharedWithSomeone, java.util.Set<java.lang.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(java.lang.String title)
-
Meta
public Meta(java.lang.String title, java.lang.String summary)
-
-
Method Detail
-
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 java.lang.Boolean isDeprecated()
Default is false/not-deprecated.- Returns:
- true when the linked object is deprecated, null if not set
-
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)
-
isProduction
public java.lang.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(java.lang.Boolean production)
-
isLocked
public java.lang.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(java.lang.Boolean locked)
-
isUnlisted
public java.lang.Boolean isUnlisted()
Default is false/listed.- Returns:
- true when the linked object is unlisted, null if not set
-
setUnlisted
public void setUnlisted(java.lang.Boolean unlisted)
-
isSharedWithSomeone
public java.lang.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(java.lang.Boolean sharedWithSomeone)
-
getFlags
public java.util.Set<java.lang.String> getFlags()
-
setFlags
public void setFlags(java.util.Set<java.lang.String> flags)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-