Class ResourceModel


  • public class ResourceModel
    extends Object
    This class provides getters and setters to model the meta information of a resource
    • Constructor Detail

      • ResourceModel

        public ResourceModel​(org.wso2.carbon.registry.core.Resource resource)
                      throws org.wso2.carbon.registry.core.exceptions.RegistryException
        Throws:
        org.wso2.carbon.registry.core.exceptions.RegistryException
      • ResourceModel

        public ResourceModel()
    • Method Detail

      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • setMediaType

        public void setMediaType​(String mediaType)
      • getMediaType

        public String getMediaType()
      • getAuthorUsername

        public String getAuthorUsername()
      • setAuthorUsername

        public void setAuthorUsername​(String authorUsername)
      • getLastModifiedUsername

        public String getLastModifiedUsername()
      • setLastModifiedUsername

        public void setLastModifiedUsername​(String lastModifiedUsername)
      • getCreatedTime

        public String getCreatedTime()
      • setCreatedTime

        public void setCreatedTime​(String createdTime)
      • getLastModifiedTime

        public String getLastModifiedTime()
      • setLastModifiedTime

        public void setLastModifiedTime​(String lastModifiedTime)
      • getUuid

        public String getUuid()
      • setUuid

        public void setUuid​(String uuid)