public abstract class AbstractObj extends Object implements Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractObj(Meta meta) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthor() |
String |
getCategory() |
String |
getContributor() |
org.joda.time.DateTime |
getCreated() |
Set<String> |
getFlags() |
String |
getId()
Returns internally generated ID of the object (that's part of the object URI).
|
String |
getIdentifier()
Returns user-specified identifier of the object.
|
String |
getSummary() |
Set<String> |
getTags() |
String |
getTitle() |
org.joda.time.DateTime |
getUpdated() |
String |
getUri() |
boolean |
isDeprecated() |
boolean |
isLocked() |
boolean |
isProduction() |
boolean |
isSharedWithSomeone() |
boolean |
isUnlisted() |
void |
setCategory(String category) |
void |
setDeprecated(Boolean deprecated) |
void |
setFlags(Set<String> flags) |
void |
setIdentifier(String identifier) |
void |
setLocked(Boolean locked) |
void |
setProduction(Boolean production) |
void |
setSharedWithSomeone(Boolean sharedWithSomeone) |
void |
setSummary(String summary) |
void |
setTags(Set<String> tags) |
void |
setTitle(String title) |
void |
setUnlisted(Boolean unlisted) |
String |
toString() |
protected static <T extends Obj> |
uris(T... objs)
Get list of URIs of the given
Objs |
protected final Meta meta
protected AbstractObj(Meta meta)
public String getId()
public String getAuthor()
public String getContributor()
public org.joda.time.DateTime getCreated()
public String getSummary()
public void setSummary(String summary)
public String getTitle()
public void setTitle(String title)
public org.joda.time.DateTime getUpdated()
public String getCategory()
public void setCategory(String category)
public String getUri()
public boolean isDeprecated()
public void setDeprecated(Boolean deprecated)
public String getIdentifier()
public void setIdentifier(String identifier)
public boolean isLocked()
public void setLocked(Boolean locked)
public boolean isUnlisted()
public void setUnlisted(Boolean unlisted)
public boolean isProduction()
public void setProduction(Boolean production)
public boolean isSharedWithSomeone()
public void setSharedWithSomeone(Boolean sharedWithSomeone)
@SafeVarargs protected static <T extends Obj> String[] uris(T... objs)
ObjsT - Obj typeobjs - metadata objectsCopyright © 2019. All rights reserved.