Class Conformance.RestSecurity
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.Conformance.RestSecurity
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IIdentifiableElement,ca.uhn.fhir.model.api.IResourceBlock,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
- Conformance
public static class Conformance.RestSecurity extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Conformance.rest.security ()Definition: Information about security implementation from an interface perspective - what a client needs to know
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RestSecurity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Conformance.RestSecurityCertificateaddCertificate()Adds and returns a new value for certificate ()Conformance.RestSecurityaddCertificate(Conformance.RestSecurityCertificate theValue)Adds a given new value for certificate ()BoundCodeableConceptDt<RestfulSecurityServiceEnum>addService()Add a value for service ()BoundCodeableConceptDt<RestfulSecurityServiceEnum>addService(RestfulSecurityServiceEnum theValue)Add a value for service () using an enumerated type.<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)List<Conformance.RestSecurityCertificate>getCertificate()Gets the value(s) for certificate ().Conformance.RestSecurityCertificategetCertificateFirstRep()Gets the first repetition for certificate (), creating it if it does not already exist.BooleangetCors()Gets the value(s) for cors ().ca.uhn.fhir.model.primitive.BooleanDtgetCorsElement()Gets the value(s) for cors ().StringgetDescription()Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDtgetDescriptionElement()Gets the value(s) for description ().List<BoundCodeableConceptDt<RestfulSecurityServiceEnum>>getService()Gets the value(s) for service ().BoundCodeableConceptDt<RestfulSecurityServiceEnum>getServiceFirstRep()Gets the first repetition for service (), creating it if it does not already exist.booleanisEmpty()Conformance.RestSecuritysetCertificate(List<Conformance.RestSecurityCertificate> theValue)Sets the value(s) for certificate ()Conformance.RestSecuritysetCors(boolean theBoolean)Sets the value for cors ()Conformance.RestSecuritysetCors(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for cors ()Conformance.RestSecuritysetDescription(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for description ()Conformance.RestSecuritysetDescription(String theString)Sets the value for description ()Conformance.RestSecuritysetService(RestfulSecurityServiceEnum theValue)Sets the value(s), and clears any existing value(s) for service ()Conformance.RestSecuritysetService(List<BoundCodeableConceptDt<RestfulSecurityServiceEnum>> theValue)Sets the value(s) for service ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
RestSecurity
public RestSecurity()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getCorsElement
public ca.uhn.fhir.model.primitive.BooleanDt getCorsElement()
Gets the value(s) for cors (). creating it if it does not exist. Will not returnnull.Definition: Server adds CORS headers when responding to requests - this enables javascript applications to use the server
-
getCors
public Boolean getCors()
Gets the value(s) for cors (). creating it if it does not exist. This method may returnnull.Definition: Server adds CORS headers when responding to requests - this enables javascript applications to use the server
-
setCors
public Conformance.RestSecurity setCors(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Sets the value(s) for cors ()Definition: Server adds CORS headers when responding to requests - this enables javascript applications to use the server
-
setCors
public Conformance.RestSecurity setCors(boolean theBoolean)
Sets the value for cors ()Definition: Server adds CORS headers when responding to requests - this enables javascript applications to use the server
-
getService
public List<BoundCodeableConceptDt<RestfulSecurityServiceEnum>> getService()
Gets the value(s) for service (). creating it if it does not exist. Will not returnnull.Definition: Types of security services are supported/required by the system
-
setService
public Conformance.RestSecurity setService(List<BoundCodeableConceptDt<RestfulSecurityServiceEnum>> theValue)
Sets the value(s) for service ()Definition: Types of security services are supported/required by the system
-
addService
public BoundCodeableConceptDt<RestfulSecurityServiceEnum> addService(RestfulSecurityServiceEnum theValue)
Add a value for service () using an enumerated type. This is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory or contain the desirable codes. If you wish to use codes other than those which are built-in, you may also use theaddService()method.Definition: Types of security services are supported/required by the system
-
getServiceFirstRep
public BoundCodeableConceptDt<RestfulSecurityServiceEnum> getServiceFirstRep()
Gets the first repetition for service (), creating it if it does not already exist.Definition: Types of security services are supported/required by the system
-
addService
public BoundCodeableConceptDt<RestfulSecurityServiceEnum> addService()
Add a value for service ()Definition: Types of security services are supported/required by the system
-
setService
public Conformance.RestSecurity setService(RestfulSecurityServiceEnum theValue)
Sets the value(s), and clears any existing value(s) for service ()Definition: Types of security services are supported/required by the system
-
getDescriptionElement
public ca.uhn.fhir.model.primitive.StringDt getDescriptionElement()
Gets the value(s) for description (). creating it if it does not exist. Will not returnnull.Definition: General description of how security works
-
getDescription
public String getDescription()
Gets the value(s) for description (). creating it if it does not exist. This method may returnnull.Definition: General description of how security works
-
setDescription
public Conformance.RestSecurity setDescription(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for description ()Definition: General description of how security works
-
setDescription
public Conformance.RestSecurity setDescription(String theString)
Sets the value for description ()Definition: General description of how security works
-
getCertificate
public List<Conformance.RestSecurityCertificate> getCertificate()
Gets the value(s) for certificate (). creating it if it does not exist. Will not returnnull.Definition: Certificates associated with security profiles
-
setCertificate
public Conformance.RestSecurity setCertificate(List<Conformance.RestSecurityCertificate> theValue)
Sets the value(s) for certificate ()Definition: Certificates associated with security profiles
-
addCertificate
public Conformance.RestSecurityCertificate addCertificate()
Adds and returns a new value for certificate ()Definition: Certificates associated with security profiles
-
addCertificate
public Conformance.RestSecurity addCertificate(Conformance.RestSecurityCertificate theValue)
Adds a given new value for certificate ()Definition: Certificates associated with security profiles
- Parameters:
theValue- The certificate to add (must not benull)
-
getCertificateFirstRep
public Conformance.RestSecurityCertificate getCertificateFirstRep()
Gets the first repetition for certificate (), creating it if it does not already exist.Definition: Certificates associated with security profiles
-
-