@Alias(value="resource") public class ResourceConfig extends Object implements ConfigurableResource
| Constructor and Description |
|---|
ResourceConfig() |
| Modifier and Type | Method and Description |
|---|---|
CoreInfo |
getCoreInfo() |
String |
getResourceName() |
List<ResourceConfig> |
getSubResources() |
boolean |
isDelete() |
boolean |
isEarlyAck() |
boolean |
isFetch() |
boolean |
isGet() |
boolean |
isIpatch() |
boolean |
isObservable() |
boolean |
isPatch() |
boolean |
isPost() |
boolean |
isPut() |
void |
setCoreInfoConfig(ResourceInfoConfig coreInfo) |
void |
setDelete(boolean delete) |
void |
setEarlyAck(boolean earlyAck) |
void |
setFetch(boolean fetch) |
void |
setGet(boolean get) |
void |
setIpatch(boolean ipatch) |
void |
setObservable(boolean observable) |
void |
setPatch(boolean patch) |
void |
setPost(boolean post) |
void |
setPut(boolean put) |
void |
setResourceName(String resourceName) |
void |
setResources(List<ResourceConfig> resources) |
String |
toString()
The string representation.
|
public String getResourceName()
public void setResourceName(String resourceName)
resourceName - the name to setpublic boolean isGet()
isGet in interface ConfigurableResourcepublic void setGet(boolean get)
get - the get to setpublic boolean isPost()
isPost in interface ConfigurableResourcepublic void setPost(boolean post)
post - the post to setpublic boolean isPut()
isPut in interface ConfigurableResourcepublic void setPut(boolean put)
put - the put to setpublic boolean isDelete()
isDelete in interface ConfigurableResourcepublic void setDelete(boolean delete)
delete - the delete to setpublic boolean isFetch()
isFetch in interface ConfigurableResourcepublic void setFetch(boolean fetch)
fetch - the fetch to setpublic boolean isPatch()
isPatch in interface ConfigurableResourcepublic void setPatch(boolean patch)
patch - the patch to setpublic boolean isIpatch()
isIpatch in interface ConfigurableResourcepublic void setIpatch(boolean ipatch)
ipatch - the ipatch to setpublic boolean isObservable()
isObservable in interface ConfigurableResourcepublic void setObservable(boolean observable)
observable - the observable to set.public boolean isEarlyAck()
isEarlyAck in interface ConfigurableResourcepublic void setEarlyAck(boolean earlyAck)
earlyAck - the earlyAck to set.public CoreInfo getCoreInfo()
getCoreInfo in interface ConfigurableResourcepublic void setCoreInfoConfig(ResourceInfoConfig coreInfo)
coreInfo - the CoRE info configuration to set.public List<ResourceConfig> getSubResources()
public void setResources(List<ResourceConfig> resources)
resources - the subordinate resources to set on this resource.Copyright © 2019–2024 Teslanet.nl. All rights reserved.