Package com.emc.documentum.rest.model
Class HomeDocument.Resource
java.lang.Object
com.emc.documentum.rest.model.HomeDocument.Resource
- Enclosing class:
- HomeDocument
Resource in Home Document
-
Constructor Details
-
Resource
public Resource(String rel, String href, boolean isTemplate, List<String> allowedHttpMethods, List<String> supportedRepresentations) Constructor- Parameters:
rel
- relationhref
- hrefisTemplate
- href template or notallowedHttpMethods
- allowed http methodssupportedRepresentations
- supported representations
-
-
Method Details
-
getRel
Get relation- Returns:
- relation
-
getHref
Get href- Returns:
- href
-
getAllowedHttpMethods
Get allowed http methods- Returns:
- allowed http methods
-
getSupportedRepresentations
Get supported representations- Returns:
- supported representations
-
isTemplate
public boolean isTemplate()Mark if the href is template- Returns:
true
if href is template
-