Class MdState
- java.lang.Object
-
- org.somda.sdc.biceps.model.participant.MdState
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.ToString2
public class MdState extends Object implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
MdState is the root container to represent the state part of the MDIB. The state part describes the values provided by a POC MEDICAL DEVICE, e.g., which measurement or alert values as well as patient demographics it provides. As the state part most often changes very frequently, it is well-known as the dynamic part of the MDIB. The MdState's counterpart is pm:MdDescription.Java class for MdState complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MdState"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://standards.ieee.org/downloads/11073/11073-10207-2017/extension}Extension" minOccurs="0"/> <element name="State" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}AbstractState" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="StateVersion" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}VersionCounter" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected ExtensionTypeextensionprotected List<AbstractState>stateprotected BigIntegerstateVersion
-
Constructor Summary
Constructors Constructor Description MdState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)ObjectcreateNewInstance()booleanequals(Object object)ExtensionTypegetExtension()Gets the value of the extension property.List<AbstractState>getState()Gets the value of the state property.BigIntegergetStateVersion()Gets the value of the stateVersion property.inthashCode()voidsetExtension(ExtensionType value)Sets the value of the extension property.voidsetState(List<AbstractState> value)voidsetStateVersion(BigInteger value)Sets the value of the stateVersion property.StringtoString()
-
-
-
Field Detail
-
extension
protected ExtensionType extension
-
state
protected List<AbstractState> state
-
stateVersion
protected BigInteger stateVersion
-
-
Method Detail
-
getExtension
public ExtensionType getExtension()
Gets the value of the extension property.- Returns:
- possible object is
ExtensionType
-
setExtension
public void setExtension(ExtensionType value)
Sets the value of the extension property.- Parameters:
value- allowed object isExtensionType
-
getState
public List<AbstractState> getState()
Gets the value of the state property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the state property.For example, to add a new item, do as follows:
getState().add(newItem);Objects of the following type(s) are allowed in the list
AbstractState
-
getStateVersion
public BigInteger getStateVersion()
Gets the value of the stateVersion property.- Returns:
- possible object is
BigInteger
-
setStateVersion
public void setStateVersion(BigInteger value)
Sets the value of the stateVersion property.- Parameters:
value- allowed object isBigInteger
-
setState
public void setState(List<AbstractState> value)
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
copyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
-