Package ca.cdr.api.fhirgw.json
Class BaseRouteJson<R extends IBaseRouteJson>
java.lang.Object
ca.cdr.api.fhirgw.json.BaseRouteJson<R>
- All Implemented Interfaces:
IBaseRouteJson
,IModelJson
,IModelJson
,Cloneable
- Direct Known Subclasses:
GatewayCreateRouteJson
,GatewayDeleteRouteJson
,GatewayOperationRouteJson
,GatewayReadRouteJson
,GatewaySearchRouteJson
,GatewayTransactionRouteJson
,GatewayUpdateRouteJson
public abstract class BaseRouteJson<R extends IBaseRouteJson>
extends Object
implements IBaseRouteJson, Cloneable
-
Field Summary
Fields inherited from interface ca.uhn.fhir.model.api.IModelJson
SENSITIVE_DATA_FILTER_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddResourceType
(String theResourceType) addTarget
(GatewayRouteTargetJson theTarget) clone()
getId()
int
getTargetIndex
(String theTargetId) boolean
setParallel
(boolean theParallel) setResourceTypes
(Set<String> theResourceTypes) void
setTargets
(List<GatewayRouteTargetJson> theTargets)
-
Constructor Details
-
BaseRouteJson
public BaseRouteJson()
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceIBaseRouteJson
-
setId
-
getResourceTypes
- Specified by:
getResourceTypes
in interfaceIBaseRouteJson
-
setResourceTypes
-
addResourceType
-
getTargetIndex
-
getTargets
- Specified by:
getTargets
in interfaceIBaseRouteJson
-
setTargets
- Specified by:
setTargets
in interfaceIBaseRouteJson
-
addTarget
-
isParallel
- Specified by:
isParallel
in interfaceIBaseRouteJson
-
setParallel
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-