public class DefaultMedicalDeviceInformationBase extends java.lang.Object implements MedicalDeviceInformationBase, MemoryMedicalDeviceInformationBase
| Constructor and Description |
|---|
DefaultMedicalDeviceInformationBase() |
| Modifier and Type | Method and Description |
|---|---|
AbstractDescriptor |
copyDescriptor(AbstractDescriptor descriptor) |
void |
create(MdDescription mdib)
Create a MDIB using the provided description.
|
void |
create(MdDescription mdib,
MdState state)
Create a MDIB using the provided description and the initial state.
|
void |
createWithExistingLock(MdDescription mdib,
MdState state,
java.util.concurrent.locks.ReadWriteLock lock)
Create a MDIB using the provided description and the initial state and uses the provided lock
for all read or write access to the MDIB.
|
void |
createWithExistingLock(MdDescription mdib,
java.util.concurrent.locks.ReadWriteLock lock)
Create a MDIB using the provided description and uses the provided lock for all read or write
access to the MDIB.
|
AlertConditionDescriptor |
getAlertConditionDescriptor(java.lang.String handle) |
java.util.Collection<? extends AbstractAlertDescriptor> |
getAlertDescriptors(java.util.Collection<java.lang.String> handles) |
AlertSignalDescriptor |
getAlertSignalDescriptor(java.lang.String handle) |
java.util.Collection<? extends AbstractAlertState> |
getAlertStates(java.util.Collection<java.lang.String> handles) |
java.util.Collection<? extends AlertSystemDescriptor> |
getAlertSystemDescriptions(java.util.Collection<java.lang.String> handles)
Returns the current descriptions for the alert systems that are specified with the handles
collection.
|
AlertSystemDescriptor |
getAlertSystemDescriptor(java.lang.String handle)
Returns the current description for the alert system that is specified with the handle.
|
java.util.Collection<AbstractDescriptor> |
getAllDescriptors() |
ContainmentTree |
getContainmentTree(java.lang.String referencedDescriptor) |
ContainmentTreeEntry |
getContainmentTreeEntry(java.lang.String referencedDescriptor) |
java.util.Collection<? extends ContextAssociation> |
getContextAssociationStateValues(java.util.List<java.lang.String> handles) |
AbstractDescriptor |
getDescriptor(java.lang.String referencedDescriptor) |
MdDescription |
getDeviceDescriptions()
Returns the current descriptions of the medical devices contained in the MDIB.
|
MdState |
getDeviceStates()
Returns the current states of the medical devices contained in the MDIB.
|
java.lang.String |
getHandle(java.lang.Object o) |
<T extends AbstractContextState> |
getIdentifiableContextState(java.util.List<java.lang.String> handles,
java.lang.Class<T> contentClass) |
MedicalDeviceInformationBaseManager |
getManager()
Return the Manager that should be used for all direct modifications to the MDIB.
|
java.util.concurrent.locks.ReadWriteLock |
getMdibLock()
Returns the Lock that should be used for locking the MDIB for Read/Write Operations.
|
java.math.BigInteger |
getMdibStateVersion() |
java.lang.String |
getMDSDescriptionHandleForOperation(java.lang.String operationHandle) |
java.util.Collection<? extends MdsDescriptor> |
getMDSDescriptions(java.util.Collection<java.lang.String> handles,
boolean onlyNonComposite) |
MdsDescriptor |
getMDSForDescriptor(java.lang.String vmoHandle) |
java.util.Collection<? extends MdsState> |
getMDSStates(java.util.Collection<java.lang.String> handles,
boolean onlyNonComposite) |
java.util.Collection<? extends AbstractMetricDescriptor> |
getMetricDescriptors(java.util.Collection<java.lang.String> handles)
Returns the current descriptors for the metrics that are specified with the handles collection.
|
java.util.Collection<? extends AbstractMetricState> |
getMetricStates(java.util.Collection<java.lang.String> handles)
Returns the current states for the metrics that are specified with the handles collection.
|
AbstractOperationState |
getOperationalStateForDescriptor(java.lang.String operationDescriptorHandle) |
AbstractOperationDescriptor |
getOperationDescriptor(java.lang.String operationHandle)
Returns the current description for the operations that is specified with the handle.
|
java.util.Collection<? extends AbstractOperationDescriptor> |
getOperationForOperationTarget(java.lang.String handle) |
AbstractState |
getState(java.lang.String stateHandle) |
boolean |
isUseSharedMemoryWithDevice() |
public java.util.concurrent.locks.ReadWriteLock getMdibLock()
MedicalDeviceInformationBasegetMdibLock in interface MedicalDeviceInformationBasepublic void create(MdDescription mdib)
MedicalDeviceInformationBasecreate in interface MedicalDeviceInformationBasemdib - The description of the medical devices that should be used to create the MDIB.public void create(MdDescription mdib, MdState state)
MedicalDeviceInformationBasecreate in interface MedicalDeviceInformationBasemdib - the mdibstate - the initial md statepublic void createWithExistingLock(MdDescription mdib, java.util.concurrent.locks.ReadWriteLock lock)
MedicalDeviceInformationBasecreateWithExistingLock in interface MedicalDeviceInformationBasemdib - The description of the medical devices that should be used to create the MDIB.lock - The Lock that should be used for all locking operations on the MDIB.public void createWithExistingLock(MdDescription mdib, MdState state, java.util.concurrent.locks.ReadWriteLock lock)
MedicalDeviceInformationBasecreateWithExistingLock in interface MedicalDeviceInformationBasemdib - the md descriptionstate - the initial md statelock - the mdib lockpublic boolean isUseSharedMemoryWithDevice()
isUseSharedMemoryWithDevice in interface MemoryMedicalDeviceInformationBasepublic MedicalDeviceInformationBaseManager getManager()
MedicalDeviceInformationBasegetManager in interface MedicalDeviceInformationBasepublic MdDescription getDeviceDescriptions()
MedicalDeviceInformationBasegetDeviceDescriptions in interface MedicalDeviceInformationBasepublic java.util.Collection<? extends AbstractMetricDescriptor> getMetricDescriptors(java.util.Collection<java.lang.String> handles)
MedicalDeviceInformationBasegetMetricDescriptors in interface MedicalDeviceInformationBasehandles - Collection of handles that specify which metric descriptions should be returned.public java.util.Collection<? extends AlertSystemDescriptor> getAlertSystemDescriptions(java.util.Collection<java.lang.String> handles)
MedicalDeviceInformationBasegetAlertSystemDescriptions in interface MedicalDeviceInformationBasehandles - Collection of handles that specify which alert system descriptions should be returned.public AlertSystemDescriptor getAlertSystemDescriptor(java.lang.String handle)
MedicalDeviceInformationBasegetAlertSystemDescriptor in interface MedicalDeviceInformationBasehandle - Handle that specify which alert system description should be returned.public AlertConditionDescriptor getAlertConditionDescriptor(java.lang.String handle)
getAlertConditionDescriptor in interface MedicalDeviceInformationBasepublic AlertSignalDescriptor getAlertSignalDescriptor(java.lang.String handle)
getAlertSignalDescriptor in interface MedicalDeviceInformationBasepublic java.util.Collection<? extends MdsDescriptor> getMDSDescriptions(java.util.Collection<java.lang.String> handles, boolean onlyNonComposite)
getMDSDescriptions in interface MedicalDeviceInformationBasepublic AbstractOperationDescriptor getOperationDescriptor(java.lang.String operationHandle)
MedicalDeviceInformationBasegetOperationDescriptor in interface MedicalDeviceInformationBaseoperationHandle - Handle that specify which operation description should be returned.public java.util.Collection<? extends AbstractOperationDescriptor> getOperationForOperationTarget(java.lang.String handle)
getOperationForOperationTarget in interface MedicalDeviceInformationBasepublic java.lang.String getMDSDescriptionHandleForOperation(java.lang.String operationHandle)
getMDSDescriptionHandleForOperation in interface MedicalDeviceInformationBasepublic MdsDescriptor getMDSForDescriptor(java.lang.String vmoHandle)
getMDSForDescriptor in interface MedicalDeviceInformationBasepublic java.lang.String getHandle(java.lang.Object o)
getHandle in interface MedicalDeviceInformationBasepublic java.util.Collection<? extends MdsState> getMDSStates(java.util.Collection<java.lang.String> handles, boolean onlyNonComposite)
getMDSStates in interface MedicalDeviceInformationBasepublic java.util.Collection<? extends AbstractAlertState> getAlertStates(java.util.Collection<java.lang.String> handles)
getAlertStates in interface MedicalDeviceInformationBasepublic java.util.Collection<? extends AbstractAlertDescriptor> getAlertDescriptors(java.util.Collection<java.lang.String> handles)
getAlertDescriptors in interface MedicalDeviceInformationBasepublic MdState getDeviceStates()
MedicalDeviceInformationBasegetDeviceStates in interface MedicalDeviceInformationBasepublic java.util.Collection<? extends AbstractMetricState> getMetricStates(java.util.Collection<java.lang.String> handles)
MedicalDeviceInformationBasegetMetricStates in interface MedicalDeviceInformationBasehandles - Collection of handles that specify which metric states should be returned.public AbstractState getState(java.lang.String stateHandle)
getState in interface MedicalDeviceInformationBasepublic java.math.BigInteger getMdibStateVersion()
getMdibStateVersion in interface MedicalDeviceInformationBasepublic AbstractDescriptor copyDescriptor(AbstractDescriptor descriptor)
public AbstractDescriptor getDescriptor(java.lang.String referencedDescriptor)
getDescriptor in interface MedicalDeviceInformationBasepublic java.util.Collection<AbstractDescriptor> getAllDescriptors()
getAllDescriptors in interface MedicalDeviceInformationBasepublic AbstractOperationState getOperationalStateForDescriptor(java.lang.String operationDescriptorHandle)
public <T extends AbstractContextState> java.util.Collection<T> getIdentifiableContextState(java.util.List<java.lang.String> handles, java.lang.Class<T> contentClass)
getIdentifiableContextState in interface MedicalDeviceInformationBasepublic java.util.Collection<? extends ContextAssociation> getContextAssociationStateValues(java.util.List<java.lang.String> handles)
getContextAssociationStateValues in interface MedicalDeviceInformationBasepublic ContainmentTreeEntry getContainmentTreeEntry(java.lang.String referencedDescriptor)
getContainmentTreeEntry in interface MedicalDeviceInformationBasepublic ContainmentTree getContainmentTree(java.lang.String referencedDescriptor)
getContainmentTree in interface MedicalDeviceInformationBase