public class EnumPropertyValueMapping extends InstancePropertyValueMapping
{
...
:instanceProvenanceType 1
:currentStatus 15
...
}
cruxConnector, mapper| Constructor and Description |
|---|
EnumPropertyValueMapping() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addEnumPropertyValueToDoc(CruxOMRSRepositoryConnector cruxConnector,
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceType instanceType,
crux.api.CruxDocument.Builder builder,
String propertyName,
String namespace,
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EnumPropertyValue value)
Add the provided enum value to the Crux document.
|
static Integer |
getEnumPropertyValueForComparison(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EnumPropertyValue epv)
Convert the provided enumeration property value into a Crux comparable form.
|
static org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProvenanceType |
getInstanceProvenanceTypeFromOrdinal(Integer ordinal)
Convert the provided ordinal into its InstanceProvenanceType.
|
static org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceStatus |
getInstanceStatusFromOrdinal(Integer ordinal)
Convert the provided ordinal into its InstanceStatus.
|
static Integer |
getOrdinalForInstanceProvenanceType(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProvenanceType ipt)
Convert the provided InstanceProvenanceType into its symbolic name.
|
static Integer |
getOrdinalForInstanceStatus(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceStatus is)
Convert the provided InstanceStatus into its ordinal.
|
addInstancePropertyValueToDoc, getEndsWithPropertyNameForMatching, getInstancePropertyValueFromDoc, getKeywordsForProperty, getNamesForProperty, getPropertyValueKeyword, getSerializedPropertyKeyword, getValueForComparisongetDeserializedValue, getEmbeddedSerializedForm, getKeyword, getKeywordpublic static void addEnumPropertyValueToDoc(CruxOMRSRepositoryConnector cruxConnector, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceType instanceType, crux.api.CruxDocument.Builder builder, String propertyName, String namespace, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EnumPropertyValue value)
cruxConnector - connectivity to the repositoryinstanceType - of the instance for which this value appliesbuilder - to which to add the property valuepropertyName - of the propertynamespace - by which to qualify the propertyvalue - of the propertypublic static Integer getEnumPropertyValueForComparison(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EnumPropertyValue epv)
epv - Egeria value to translate to Crux-comparable valuepublic static org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProvenanceType getInstanceProvenanceTypeFromOrdinal(Integer ordinal)
ordinal - to convertpublic static Integer getOrdinalForInstanceProvenanceType(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProvenanceType ipt)
ipt - to convertpublic static org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceStatus getInstanceStatusFromOrdinal(Integer ordinal)
ordinal - to convertpublic static Integer getOrdinalForInstanceStatus(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceStatus is)
is - to convertCopyright © 2021 ODPi. All rights reserved.