public class Resource extends Object
Resource class.
| Constructor and Description |
|---|
Resource()
Constructor for Resource.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Action |
getAction(ActionType name)
getAction.
|
Action |
getAction(String name)
getAction.
|
Map<ActionType,Action> |
getActions()
Getter for the field
actions. |
Map<String,List<UriParameter>> |
getBaseUriParameters()
Getter for the field
baseUriParameters. |
String |
getDescription()
Getter for the field
description. |
String |
getDisplayName()
Getter for the field
displayName. |
List<String> |
getIs()
Getter for the field
is. |
List<TemplateUse> |
getIsModel()
Getter for the field
isModel. |
String |
getParentUri()
Getter for the field
parentUri. |
String |
getRelativeUri()
Getter for the field
relativeUri. |
Resource |
getResource(String path)
getResource.
|
Map<String,Resource> |
getResources()
Getter for the field
resources. |
List<SecurityReference> |
getSecuredBy()
Getter for the field
securedBy. |
String |
getType()
Getter for the field
type. |
List<TemplateUse> |
getTypeModel()
Getter for the field
typeModel. |
TemplateUse |
getTypeModelT()
getTypeModelT.
|
String |
getUri()
getUri.
|
Map<String,UriParameter> |
getUriParameters()
Getter for the field
uriParameters. |
int |
hashCode()
hashCode.
|
void |
setActions(Map<ActionType,Action> actions)
Setter for the field
actions. |
void |
setBaseUriParameters(Map<String,List<UriParameter>> baseUriParameters)
Setter for the field
baseUriParameters. |
void |
setDescription(String description)
Setter for the field
description. |
void |
setDisplayName(String displayName)
Setter for the field
displayName. |
void |
setIs(List<String> is)
Setter for the field
is. |
void |
setIsModel(List<TemplateUse> isModel)
Setter for the field
isModel. |
void |
setParentUri(String parentUri)
Setter for the field
parentUri. |
void |
setRelativeUri(String relativeUri)
Setter for the field
relativeUri. |
void |
setResources(Map<String,Resource> resources)
Setter for the field
resources. |
void |
setSecuredBy(List<SecurityReference> securedBy)
Setter for the field
securedBy. |
void |
setType(String type)
Setter for the field
type. |
void |
setTypeModel(List<TemplateUse> typeModel)
Setter for the field
typeModel. |
void |
setTypeModelT(TemplateUse type)
setTypeModelT.
|
void |
setUriParameters(Map<String,UriParameter> uriParameters)
Setter for the field
uriParameters. |
String |
toString()
toString.
|
public List<TemplateUse> getIsModel()
Getter for the field isModel.
List object.public void setIsModel(List<TemplateUse> isModel)
Setter for the field isModel.
isModel - a List object.public void setRelativeUri(String relativeUri)
Setter for the field relativeUri.
relativeUri - a String object.public void setParentUri(String parentUri)
Setter for the field parentUri.
parentUri - a String object.public void setUriParameters(Map<String,UriParameter> uriParameters)
Setter for the field uriParameters.
uriParameters - a Map object.public Map<ActionType,Action> getActions()
Getter for the field actions.
Map object.public void setActions(Map<ActionType,Action> actions)
Setter for the field actions.
actions - a Map object.public void setDisplayName(String displayName)
Setter for the field displayName.
displayName - a String object.public String getDisplayName()
Getter for the field displayName.
String object.public String getDescription()
Getter for the field description.
String object.public void setDescription(String description)
Setter for the field description.
description - a String object.public String getRelativeUri()
Getter for the field relativeUri.
String object.public Action getAction(ActionType name)
getAction.
name - a ActionType object.Action object.public Map<String,Resource> getResources()
Getter for the field resources.
Map object.public void setResources(Map<String,Resource> resources)
Setter for the field resources.
resources - a Map object.public Map<String,UriParameter> getUriParameters()
Getter for the field uriParameters.
Map object.public TemplateUse getTypeModelT()
getTypeModelT.
TemplateUse object.public List<TemplateUse> getTypeModel()
Getter for the field typeModel.
List object.public void setTypeModel(List<TemplateUse> typeModel)
Setter for the field typeModel.
typeModel - a List object.public void setType(String type)
Setter for the field type.
type - a String object.public void setTypeModelT(TemplateUse type)
setTypeModelT.
type - a TemplateUse object.public List<SecurityReference> getSecuredBy()
Getter for the field securedBy.
List object.public void setSecuredBy(List<SecurityReference> securedBy)
Setter for the field securedBy.
securedBy - a List object.public Map<String,List<UriParameter>> getBaseUriParameters()
Getter for the field baseUriParameters.
Map object.public void setBaseUriParameters(Map<String,List<UriParameter>> baseUriParameters)
Setter for the field baseUriParameters.
baseUriParameters - a Map object.public String toString()
toString.
Copyright © 2015 Mulesoft. All rights reserved.