public static class Conformance.RestResource extends BaseIdentifiableElement implements IResourceBlock
Definition: A specification of the restful capabilities of the solution for a specific resource type
| Constructor and Description |
|---|
Conformance.RestResource() |
| Modifier and Type | Method and Description |
|---|---|
Conformance.RestResourceOperation |
addOperation()
Adds and returns a new value for operation (What operations are supported?)
|
StringDt |
addSearchInclude()
Adds and returns a new value for searchInclude (_include values supported by the server)
|
Conformance.RestResource |
addSearchInclude(String theString)
Adds a new value for searchInclude (_include values supported by the server)
|
Conformance.RestResourceSearchParam |
addSearchParam()
Adds and returns a new value for searchParam (Additional search params defined)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
List<Conformance.RestResourceOperation> |
getOperation()
Gets the value(s) for operation (What operations are supported?).
|
Conformance.RestResourceOperation |
getOperationFirstRep()
Gets the first repetition for operation (What operations are supported?),
creating it if it does not already exist.
|
ResourceReferenceDt |
getProfile()
Gets the value(s) for profile (What structural features are supported).
|
BooleanDt |
getReadHistory()
Gets the value(s) for readHistory (Whether vRead can return past versions).
|
List<StringDt> |
getSearchInclude()
Gets the value(s) for searchInclude (_include values supported by the server).
|
StringDt |
getSearchIncludeFirstRep()
Gets the first repetition for searchInclude (_include values supported by the server),
creating it if it does not already exist.
|
List<Conformance.RestResourceSearchParam> |
getSearchParam()
Gets the value(s) for searchParam (Additional search params defined).
|
Conformance.RestResourceSearchParam |
getSearchParamFirstRep()
Gets the first repetition for searchParam (Additional search params defined),
creating it if it does not already exist.
|
BoundCodeDt<ResourceTypeEnum> |
getType()
Gets the value(s) for type (A resource type that is supported).
|
BooleanDt |
getUpdateCreate()
Gets the value(s) for updateCreate (If allows/uses update to a new location).
|
boolean |
isEmpty() |
Conformance.RestResource |
setOperation(List<Conformance.RestResourceOperation> theValue)
Sets the value(s) for operation (What operations are supported?)
|
Conformance.RestResource |
setProfile(ResourceReferenceDt theValue)
Sets the value(s) for profile (What structural features are supported)
|
Conformance.RestResource |
setReadHistory(boolean theBoolean)
Sets the value for readHistory (Whether vRead can return past versions)
|
Conformance.RestResource |
setReadHistory(BooleanDt theValue)
Sets the value(s) for readHistory (Whether vRead can return past versions)
|
Conformance.RestResource |
setSearchInclude(List<StringDt> theValue)
Sets the value(s) for searchInclude (_include values supported by the server)
|
Conformance.RestResource |
setSearchParam(List<Conformance.RestResourceSearchParam> theValue)
Sets the value(s) for searchParam (Additional search params defined)
|
Conformance.RestResource |
setType(BoundCodeDt<ResourceTypeEnum> theValue)
Sets the value(s) for type (A resource type that is supported)
|
Conformance.RestResource |
setType(ResourceTypeEnum theValue)
Sets the value(s) for type (A resource type that is supported)
|
Conformance.RestResource |
setUpdateCreate(boolean theBoolean)
Sets the value for updateCreate (If allows/uses update to a new location)
|
Conformance.RestResource |
setUpdateCreate(BooleanDt theValue)
Sets the value(s) for updateCreate (If allows/uses update to a new location)
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementSpecificId, getId, setElementSpecificId, setId, setIdpublic <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic BoundCodeDt<ResourceTypeEnum> getType()
null.
Definition: A type of resource exposed via the restful interface
public Conformance.RestResource setType(BoundCodeDt<ResourceTypeEnum> theValue)
Definition: A type of resource exposed via the restful interface
public Conformance.RestResource setType(ResourceTypeEnum theValue)
Definition: A type of resource exposed via the restful interface
public ResourceReferenceDt getProfile()
null.
Definition: A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations
public Conformance.RestResource setProfile(ResourceReferenceDt theValue)
Definition: A specification of the profile that describes the solution's support for the resource, including any constraints on cardinality, bindings, lengths or other limitations
public List<Conformance.RestResourceOperation> getOperation()
null.
Definition: Identifies a restful operation supported by the solution
public Conformance.RestResource setOperation(List<Conformance.RestResourceOperation> theValue)
Definition: Identifies a restful operation supported by the solution
public Conformance.RestResourceOperation addOperation()
Definition: Identifies a restful operation supported by the solution
public Conformance.RestResourceOperation getOperationFirstRep()
Definition: Identifies a restful operation supported by the solution
public BooleanDt getReadHistory()
null.
Definition: A flag for whether the server is able to return past versions as part of the vRead operation
public Conformance.RestResource setReadHistory(BooleanDt theValue)
Definition: A flag for whether the server is able to return past versions as part of the vRead operation
public Conformance.RestResource setReadHistory(boolean theBoolean)
Definition: A flag for whether the server is able to return past versions as part of the vRead operation
public BooleanDt getUpdateCreate()
null.
Definition: A flag to indicate that the server allows the client to create new identities on the server. If the update operation is used (client) or allowed (server) to a new location where a resource doesn't already exist. This means that the server allows the client to create new identities on the server
public Conformance.RestResource setUpdateCreate(BooleanDt theValue)
Definition: A flag to indicate that the server allows the client to create new identities on the server. If the update operation is used (client) or allowed (server) to a new location where a resource doesn't already exist. This means that the server allows the client to create new identities on the server
public Conformance.RestResource setUpdateCreate(boolean theBoolean)
Definition: A flag to indicate that the server allows the client to create new identities on the server. If the update operation is used (client) or allowed (server) to a new location where a resource doesn't already exist. This means that the server allows the client to create new identities on the server
public List<StringDt> getSearchInclude()
null.
Definition: A list of _include values supported by the server
public Conformance.RestResource setSearchInclude(List<StringDt> theValue)
Definition: A list of _include values supported by the server
public StringDt addSearchInclude()
Definition: A list of _include values supported by the server
public StringDt getSearchIncludeFirstRep()
Definition: A list of _include values supported by the server
public Conformance.RestResource addSearchInclude(String theString)
Definition: A list of _include values supported by the server
public List<Conformance.RestResourceSearchParam> getSearchParam()
null.
Definition: Additional search parameters for implementations to support and/or make use of
public Conformance.RestResource setSearchParam(List<Conformance.RestResourceSearchParam> theValue)
Definition: Additional search parameters for implementations to support and/or make use of
public Conformance.RestResourceSearchParam addSearchParam()
Definition: Additional search parameters for implementations to support and/or make use of
public Conformance.RestResourceSearchParam getSearchParamFirstRep()
Definition: Additional search parameters for implementations to support and/or make use of
Copyright © 2014 University Health Network. All rights reserved.