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