public class ContextHelper extends Object
Contributors: Drägerwerk AG & Co. KGaA - initial API and implementation ****************************************************************************
| Modifier and Type | Class and Description |
|---|---|
static class |
ContextHelper.InstanceIdentifierWithType<T extends AbstractContextDescriptor>
The Class InstanceIdentifierWithType.
|
| Constructor and Description |
|---|
ContextHelper() |
| Modifier and Type | Method and Description |
|---|---|
static org.ws4d.java.types.URI |
createEnsembleAssociationUri(String handleQuery,
ContextAssociation stateValue) |
static org.ws4d.java.types.URI |
createEnsembleIdUri(InstanceIdentifier instanceIdentifier) |
static InstanceIdentifier |
createInstanceIdentifierFromUri(org.ws4d.java.types.URI uriRepresentation)
Creates the instance identifier from uri.
|
static InstanceIdentifier |
createInstanceIdentifierWithoutInterpretation(InstanceIdentifier identifier) |
static InstanceIdentifier |
createInterpretableInstanceIdentifier(String root,
Map<String,String> interpretationParticles)
Creates the interpretable instance identifier.
|
static InstanceIdentifier |
createInterpretableInstanceIdentifier(String root,
Map<String,String> interpretationParticles,
List<String> knownKeys)
Creates an interpretable instance identifier.
|
static org.ws4d.java.types.URI |
createLocationAssociationUri(String handleQuery,
String stateValue)
Creates the
URI representation of a location association state. |
static org.ws4d.java.types.URI |
createLocationIdUri(InstanceIdentifier instanceIdentifier)
Creates the
URI representation of an InstanceIdentifier that identifies a location context. |
static org.ws4d.java.types.URI |
createOperatorAssociationUri(String handleQuery,
ContextAssociation stateValue) |
static org.ws4d.java.types.URI |
createPatientAssociationUri(String handleQuery,
ContextAssociation stateValue)
Creates the
URI representation of a patient association state. |
static org.ws4d.java.types.URI |
createPatientIdUri(InstanceIdentifier instanceIdentifier)
Creates the
URI representation of an InstanceIdentifier that identifies a patient context. |
static ContextHelper.InstanceIdentifierWithType<AbstractContextDescriptor> |
createTypedInstanceIdentifier(org.ws4d.java.types.URI uriRepresentation)
Creates the typed instance identifier.
|
static org.ws4d.java.types.URI |
createWorkflowAssociationUri(String handleQuery,
ContextAssociation stateValue) |
static org.ws4d.java.types.URI |
createWorkflowIdUri(InstanceIdentifier instanceIdentifier) |
static org.ws4d.java.types.URI |
getAssociationUri(AbstractContextDescriptor ctxtDescriptor,
AbstractContextState stateValue)
Gets the association uri.
|
static org.ws4d.java.types.URI |
getIdUri(Class<? extends AbstractContextDescriptor> ctxtDescriptorClass,
InstanceIdentifier instanceIdentifier)
|
static Map<String,String> |
getInterpretableParticles(InstanceIdentifier locationId)
Gets the interpretable particles.
|
public static InstanceIdentifier createInterpretableInstanceIdentifier(String root, Map<String,String> interpretationParticles)
root - the rootinterpretationParticles - the interpretation particlespublic static InstanceIdentifier createInterpretableInstanceIdentifier(String root, Map<String,String> interpretationParticles, List<String> knownKeys)
root - the mandatory value for a rootinterpretationParticles - the particles that will form the extension value with interpretation keys.knownKeys - the ordered list of known keyspublic static org.ws4d.java.types.URI createLocationIdUri(InstanceIdentifier instanceIdentifier)
URI representation of an InstanceIdentifier that identifies a location context.instanceIdentifier - the instance identifierpublic static org.ws4d.java.types.URI createLocationAssociationUri(String handleQuery, String stateValue)
URI representation of a location association state.handleQuery - the handle querystateValue - the state valuepublic static org.ws4d.java.types.URI createPatientIdUri(InstanceIdentifier instanceIdentifier)
URI representation of an InstanceIdentifier that identifies a patient context.instanceIdentifier - the instance identifierpublic static org.ws4d.java.types.URI createPatientAssociationUri(String handleQuery, ContextAssociation stateValue)
URI representation of a patient association state.handleQuery - the handle querystateValue - the state valuepublic static org.ws4d.java.types.URI createEnsembleIdUri(InstanceIdentifier instanceIdentifier)
public static org.ws4d.java.types.URI createEnsembleAssociationUri(String handleQuery, ContextAssociation stateValue)
public static org.ws4d.java.types.URI createWorkflowIdUri(InstanceIdentifier instanceIdentifier)
public static org.ws4d.java.types.URI createWorkflowAssociationUri(String handleQuery, ContextAssociation stateValue)
public static org.ws4d.java.types.URI createOperatorAssociationUri(String handleQuery, ContextAssociation stateValue)
public static ContextHelper.InstanceIdentifierWithType<AbstractContextDescriptor> createTypedInstanceIdentifier(org.ws4d.java.types.URI uriRepresentation)
uriRepresentation - the uri representationpublic static InstanceIdentifier createInstanceIdentifierFromUri(org.ws4d.java.types.URI uriRepresentation)
uriRepresentation - the uri representationpublic static Map<String,String> getInterpretableParticles(InstanceIdentifier locationId)
locationId - the location idpublic static org.ws4d.java.types.URI getIdUri(Class<? extends AbstractContextDescriptor> ctxtDescriptorClass, InstanceIdentifier instanceIdentifier)
ctxtDescriptorClass - the ctxt descriptor classinstanceIdentifier - the instance identifierpublic static org.ws4d.java.types.URI getAssociationUri(AbstractContextDescriptor ctxtDescriptor, AbstractContextState stateValue)
ctxtDescriptor - the ctxt descriptorstateValue - the state valuepublic static InstanceIdentifier createInstanceIdentifierWithoutInterpretation(InstanceIdentifier identifier)
Copyright © 2018. All rights reserved.