Package step.resources
Class Resource
- java.lang.Object
-
- step.core.accessors.AbstractIdentifiableObject
-
- step.core.accessors.AbstractOrganizableObject
-
- step.resources.Resource
-
- All Implemented Interfaces:
EnricheableObject
public class Resource extends step.core.accessors.AbstractOrganizableObject implements EnricheableObject
-
-
Field Summary
Fields Modifier and Type Field Description protected org.bson.types.ObjectId
currentRevisionId
protected boolean
ephemeral
protected java.lang.String
resourceName
protected java.lang.String
resourceType
-
Constructor Summary
Constructors Constructor Description Resource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bson.types.ObjectId
getCurrentRevisionId()
java.lang.String
getResourceName()
java.lang.String
getResourceType()
boolean
isEphemeral()
void
setCurrentRevisionId(org.bson.types.ObjectId currentRevisionId)
void
setEphemeral(boolean ephemeral)
void
setResourceName(java.lang.String resourceName)
void
setResourceType(java.lang.String resourceType)
-
Methods inherited from class step.core.accessors.AbstractOrganizableObject
addAttribute, getAttribute, getAttributes, hasAttribute, setAttributes
-
Methods inherited from class step.core.accessors.AbstractIdentifiableObject
addCustomField, computeCustomFieldIfAbsent, equals, getCustomField, getCustomField, getCustomFields, getId, hashCode, setCustomFields, setId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface step.core.objectenricher.EnricheableObject
addAttribute, getAttribute, getAttributes, setAttributes
-
-
-
-
Method Detail
-
getCurrentRevisionId
public org.bson.types.ObjectId getCurrentRevisionId()
-
setCurrentRevisionId
public void setCurrentRevisionId(org.bson.types.ObjectId currentRevisionId)
-
getResourceType
public java.lang.String getResourceType()
-
setResourceType
public void setResourceType(java.lang.String resourceType)
-
getResourceName
public java.lang.String getResourceName()
-
setResourceName
public void setResourceName(java.lang.String resourceName)
-
isEphemeral
public boolean isEphemeral()
-
setEphemeral
public void setEphemeral(boolean ephemeral)
-
-