Package step.resources
Class Resource
- java.lang.Object
-
- step.core.accessors.AbstractIdentifiableObject
-
- step.core.accessors.AbstractOrganizableObject
-
- step.resources.Resource
-
public class Resource extends AbstractOrganizableObject
-
-
Field Summary
Fields Modifier and Type Field Description protected org.bson.types.ObjectIdcurrentRevisionIdprotected booleanephemeralprotected StringresourceNameprotected StringresourceType-
Fields inherited from class step.core.accessors.AbstractOrganizableObject
attributes, NAME, VERSION
-
Fields inherited from class step.core.accessors.AbstractIdentifiableObject
_id, customFields
-
-
Constructor Summary
Constructors Constructor Description Resource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bson.types.ObjectIdgetCurrentRevisionId()StringgetResourceName()StringgetResourceType()booleanisEphemeral()voidsetCurrentRevisionId(org.bson.types.ObjectId currentRevisionId)voidsetEphemeral(boolean ephemeral)voidsetResourceName(String resourceName)voidsetResourceType(String resourceType)-
Methods inherited from class step.core.accessors.AbstractOrganizableObject
addAttribute, getAttributes, setAttributes
-
Methods inherited from class step.core.accessors.AbstractIdentifiableObject
addCustomField, computeCustomFieldIfAbsent, equals, getCustomField, getCustomField, getCustomFields, getId, hashCode, setCustomFields, setId
-
-
-
-
Method Detail
-
getCurrentRevisionId
public org.bson.types.ObjectId getCurrentRevisionId()
-
setCurrentRevisionId
public void setCurrentRevisionId(org.bson.types.ObjectId currentRevisionId)
-
getResourceType
public String getResourceType()
-
setResourceType
public void setResourceType(String resourceType)
-
getResourceName
public String getResourceName()
-
setResourceName
public void setResourceName(String resourceName)
-
isEphemeral
public boolean isEphemeral()
-
setEphemeral
public void setEphemeral(boolean ephemeral)
-
-