Class Resource


  • public class Resource
    extends step.core.accessors.AbstractOrganizableObject
    • 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  
      • Fields inherited from class step.core.accessors.AbstractOrganizableObject

        attributes, NAME, VERSION
      • Fields inherited from class step.core.accessors.AbstractIdentifiableObject

        customFields, ID
    • 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
    • Field Detail

      • currentRevisionId

        protected org.bson.types.ObjectId currentRevisionId
      • resourceType

        protected java.lang.String resourceType
      • resourceName

        protected java.lang.String resourceName
      • ephemeral

        protected boolean ephemeral
    • Constructor Detail

      • Resource

        public Resource()
    • 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)