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
FieldsModifier and TypeFieldDescriptionprotected org.bson.types.ObjectId
protected boolean
protected boolean
protected String
protected String
Fields inherited from class step.core.accessors.AbstractOrganizableObject
attributes, NAME, VERSION
Fields inherited from class step.core.accessors.AbstractIdentifiableObject
customFields, ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bson.types.ObjectId
boolean
boolean
void
setCurrentRevisionId
(org.bson.types.ObjectId currentRevisionId) void
setDirectory
(boolean directory) void
setEphemeral
(boolean ephemeral) void
setResourceName
(String resourceName) void
setResourceType
(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
-
Field Details
-
currentRevisionId
protected org.bson.types.ObjectId currentRevisionId -
resourceType
-
resourceName
-
directory
protected boolean directory -
ephemeral
protected boolean ephemeral
-
-
Constructor Details
-
Resource
public Resource()
-
-
Method Details
-
getCurrentRevisionId
public org.bson.types.ObjectId getCurrentRevisionId() -
setCurrentRevisionId
public void setCurrentRevisionId(org.bson.types.ObjectId currentRevisionId) -
getResourceType
-
setResourceType
-
getResourceName
-
setResourceName
-
isEphemeral
public boolean isEphemeral() -
setEphemeral
public void setEphemeral(boolean ephemeral) -
isDirectory
public boolean isDirectory() -
setDirectory
public void setDirectory(boolean directory)
-