Class ResourceModel
java.lang.Object
org.wso2.carbon.registry.rest.api.model.ResourceModel
This class provides getters and setters to model the meta information of a resource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUuid()voidsetAuthorUsername(String authorUsername) voidsetCreatedTime(String createdTime) voidsetDescription(String description) voidsetLastModifiedTime(String lastModifiedTime) voidsetLastModifiedUsername(String lastModifiedUsername) voidsetMediaType(String mediaType) void
-
Constructor Details
-
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 Details
-
getDescription
-
setDescription
-
setMediaType
-
getMediaType
-
getAuthorUsername
-
setAuthorUsername
-
getLastModifiedUsername
-
setLastModifiedUsername
-
getCreatedTime
-
setCreatedTime
-
getLastModifiedTime
-
setLastModifiedTime
-
getUuid
-
setUuid
-