public abstract class DataObjectRestRep
extends java.lang.Object
Constructor and Description |
---|
DataObjectRestRep() |
DataObjectRestRep(java.lang.String name,
java.net.URI id,
RestLinkRep link,
java.util.Calendar creationTime,
java.lang.Boolean inactive,
java.util.Set<java.lang.String> tags) |
Modifier and Type | Method and Description |
---|---|
java.util.Calendar |
getCreationTime()
A timestamp that shows when this resource was created in ViPR
|
java.lang.Boolean |
getGlobal() |
java.net.URI |
getId()
An identifier that is generated by ViPR when the resource is created.
|
java.lang.Boolean |
getInactive()
Whether or not the resource is inactive.
|
java.lang.Boolean |
getInternal()
Whether or not the resource is an internal resource.
|
RestLinkRep |
getLink()
A hyperlink to the details for this resource
|
java.lang.String |
getName()
The name assigned to this resource in ViPR.
|
java.lang.Boolean |
getRemote() |
java.util.Set<java.lang.String> |
getTags()
Keywords and labels that can be added by a user to a resource
to make it easy to find when doing a search.
|
RelatedResourceRep |
getVdc() |
void |
setCreationTime(java.util.Calendar creationTime) |
void |
setGlobal(java.lang.Boolean global) |
void |
setId(java.net.URI id) |
void |
setInactive(java.lang.Boolean inactive) |
void |
setInternal(java.lang.Boolean internal) |
void |
setLink(RestLinkRep link) |
void |
setName(java.lang.String name) |
void |
setRemote(java.lang.Boolean remote) |
void |
setTags(java.util.Set<java.lang.String> tags) |
void |
setVdc(RelatedResourceRep vdc) |
java.lang.String |
toString() |
public DataObjectRestRep()
public DataObjectRestRep(java.lang.String name, java.net.URI id, RestLinkRep link, java.util.Calendar creationTime, java.lang.Boolean inactive, java.util.Set<java.lang.String> tags)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.net.URI getId()
public void setId(java.net.URI id)
public RestLinkRep getLink()
public void setLink(RestLinkRep link)
public java.util.Calendar getCreationTime()
public void setCreationTime(java.util.Calendar creationTime)
public java.util.Set<java.lang.String> getTags()
public void setTags(java.util.Set<java.lang.String> tags)
public java.lang.Boolean getInactive()
public void setInactive(java.lang.Boolean inactive)
public java.lang.Boolean getGlobal()
public void setGlobal(java.lang.Boolean global)
global
- the global to setpublic java.lang.Boolean getRemote()
public void setRemote(java.lang.Boolean remote)
remote
- the remote to setpublic java.lang.String toString()
toString
in class java.lang.Object
public RelatedResourceRep getVdc()
public void setVdc(RelatedResourceRep vdc)
vdc
- the vdc to setpublic java.lang.Boolean getInternal()
public void setInternal(java.lang.Boolean internal)