Class AbstractContextState
- java.lang.Object
-
- org.somda.sdc.biceps.model.participant.AbstractState
-
- org.somda.sdc.biceps.model.participant.AbstractMultiState
-
- org.somda.sdc.biceps.model.participant.AbstractContextState
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.ToString2
- Direct Known Subclasses:
EnsembleContextState,LocationContextState,MeansContextState,OperatorContextState,PatientContextState,WorkflowContextState
public class AbstractContextState extends AbstractMultiState implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
Base type of a context state. Every context state can be identified as valid by a validator instance. Moreover, a context state's lifecycle is determined by a start and end. AbstractContextState bundles these information.Java class for AbstractContextState complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractContextState"> <complexContent> <extension base="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}AbstractMultiState"> <sequence> <element name="Validator" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}InstanceIdentifier" maxOccurs="unbounded" minOccurs="0"/> <element name="Identification" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}InstanceIdentifier" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="ContextAssociation" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}ContextAssociation" /> <attribute name="BindingMdibVersion" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}ReferencedVersion" /> <attribute name="UnbindingMdibVersion" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}ReferencedVersion" /> <attribute name="BindingStartTime" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}Timestamp" /> <attribute name="BindingEndTime" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}Timestamp" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected InstantbindingEndTimeprotected BigIntegerbindingMdibVersionprotected InstantbindingStartTimeprotected ContextAssociationcontextAssociationprotected List<InstanceIdentifier>identificationprotected BigIntegerunbindingMdibVersionprotected List<InstanceIdentifier>validator-
Fields inherited from class org.somda.sdc.biceps.model.participant.AbstractMultiState
category, handle
-
Fields inherited from class org.somda.sdc.biceps.model.participant.AbstractState
descriptorHandle, descriptorVersion, extension, stateVersion
-
-
Constructor Summary
Constructors Constructor Description AbstractContextState()
-
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)InstantgetBindingEndTime()Gets the value of the bindingEndTime property.BigIntegergetBindingMdibVersion()Gets the value of the bindingMdibVersion property.InstantgetBindingStartTime()Gets the value of the bindingStartTime property.ContextAssociationgetContextAssociation()Gets the value of the contextAssociation property.List<InstanceIdentifier>getIdentification()Gets the value of the identification property.BigIntegergetUnbindingMdibVersion()Gets the value of the unbindingMdibVersion property.List<InstanceIdentifier>getValidator()Gets the value of the validator property.inthashCode()voidsetBindingEndTime(Instant value)Sets the value of the bindingEndTime property.voidsetBindingMdibVersion(BigInteger value)Sets the value of the bindingMdibVersion property.voidsetBindingStartTime(Instant value)Sets the value of the bindingStartTime property.voidsetContextAssociation(ContextAssociation value)Sets the value of the contextAssociation property.voidsetIdentification(List<InstanceIdentifier> value)voidsetUnbindingMdibVersion(BigInteger value)Sets the value of the unbindingMdibVersion property.voidsetValidator(List<InstanceIdentifier> value)StringtoString()-
Methods inherited from class org.somda.sdc.biceps.model.participant.AbstractMultiState
getCategory, getHandle, setCategory, setHandle
-
Methods inherited from class org.somda.sdc.biceps.model.participant.AbstractState
getDescriptorHandle, getDescriptorVersion, getExtension, getStateVersion, setDescriptorHandle, setDescriptorVersion, setExtension, setStateVersion
-
-
-
-
Field Detail
-
validator
protected List<InstanceIdentifier> validator
-
identification
protected List<InstanceIdentifier> identification
-
contextAssociation
protected ContextAssociation contextAssociation
-
bindingMdibVersion
protected BigInteger bindingMdibVersion
-
unbindingMdibVersion
protected BigInteger unbindingMdibVersion
-
bindingStartTime
protected Instant bindingStartTime
-
bindingEndTime
protected Instant bindingEndTime
-
-
Method Detail
-
getValidator
public List<InstanceIdentifier> getValidator()
Gets the value of the validator 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 validator property.For example, to add a new item, do as follows:
getValidator().add(newItem);Objects of the following type(s) are allowed in the list
InstanceIdentifier
-
getIdentification
public List<InstanceIdentifier> getIdentification()
Gets the value of the identification 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 identification property.For example, to add a new item, do as follows:
getIdentification().add(newItem);Objects of the following type(s) are allowed in the list
InstanceIdentifier
-
getContextAssociation
public ContextAssociation getContextAssociation()
Gets the value of the contextAssociation property.- Returns:
- possible object is
ContextAssociation
-
setContextAssociation
public void setContextAssociation(ContextAssociation value)
Sets the value of the contextAssociation property.- Parameters:
value- allowed object isContextAssociation
-
getBindingMdibVersion
public BigInteger getBindingMdibVersion()
Gets the value of the bindingMdibVersion property.- Returns:
- possible object is
BigInteger
-
setBindingMdibVersion
public void setBindingMdibVersion(BigInteger value)
Sets the value of the bindingMdibVersion property.- Parameters:
value- allowed object isBigInteger
-
getUnbindingMdibVersion
public BigInteger getUnbindingMdibVersion()
Gets the value of the unbindingMdibVersion property.- Returns:
- possible object is
BigInteger
-
setUnbindingMdibVersion
public void setUnbindingMdibVersion(BigInteger value)
Sets the value of the unbindingMdibVersion property.- Parameters:
value- allowed object isBigInteger
-
getBindingStartTime
public Instant getBindingStartTime()
Gets the value of the bindingStartTime property.- Returns:
- possible object is
String
-
setBindingStartTime
public void setBindingStartTime(Instant value)
Sets the value of the bindingStartTime property.- Parameters:
value- allowed object isString
-
getBindingEndTime
public Instant getBindingEndTime()
Gets the value of the bindingEndTime property.- Returns:
- possible object is
String
-
setBindingEndTime
public void setBindingEndTime(Instant value)
Sets the value of the bindingEndTime property.- Parameters:
value- allowed object isString
-
setValidator
public void setValidator(List<InstanceIdentifier> value)
-
setIdentification
public void setIdentification(List<InstanceIdentifier> value)
-
clone
public Object clone()
- Overrides:
clonein classAbstractMultiState
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
copyToin classAbstractMultiState
-
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- Overrides:
copyToin classAbstractMultiState
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
createNewInstancein classAbstractMultiState
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractMultiState
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractMultiState
-
toString
public String toString()
- Overrides:
toStringin classAbstractMultiState
-
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- Overrides:
appendin classAbstractMultiState
-
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- Overrides:
appendFieldsin classAbstractMultiState
-
-