public class Resource extends GeneralResource
| Constructor and Description |
|---|
Resource() |
| Modifier and Type | Method and Description |
|---|---|
Node |
getBody() |
String |
getBodyAsString() |
String |
getDescription() |
String |
getName() |
List<String> |
getScopes() |
String |
getType() |
Resource |
newBody() |
void |
setBody(Node body) |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setScopes(List<String> scopes) |
void |
setType(String type) |
String |
toString() |
getResourceID, setResourceID, toJSON, toJSON, toXML, toXMLpublic String getName()
public void setName(String name)
name - the name to setpublic String getType()
public void setType(String type)
type - the type to setpublic Node getBody()
public String getDescription()
public void setDescription(String description)
description - the description to setpublic Resource newBody()
public String getBodyAsString() throws JAXBException
JAXBExceptionpublic void setBody(Node body)
body - the body to setCopyright © 2019. All Rights Reserved.