Class ClassifyEntity
java.lang.Object
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.AbstractTransactionFunction
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.ClassifyEntity
- Direct Known Subclasses:
ClassifyEntityDetail
,ClassifyEntityProxy
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ClassifyEntity
(String className, String methodName, Long txId, clojure.lang.PersistentHashMap existing, clojure.lang.PersistentHashMap proxy, String userId, String entityGUID, String metadataCollectionId, String classificationName, String externalSourceGUID, String externalSourceName, ClassificationOrigin classificationOrigin, String classificationOriginGUID, InstanceProperties properties) Constructor used to execute the transaction function. -
Method Summary
Methods inherited from class org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.AbstractTransactionFunction
createTransactionFunction, getGUID, getInstanceProvenanceType, getMetadataCollectionId, getTxnTimeCalculation, getTypeDefForInstance, getTypeDefGUID, incrementVersion, incrementVersion
-
Field Details
-
xtdbDoc
protected final clojure.lang.IPersistentMap xtdbDoc
-
-
Constructor Details
-
ClassifyEntity
protected ClassifyEntity(String className, String methodName, Long txId, clojure.lang.PersistentHashMap existing, clojure.lang.PersistentHashMap proxy, String userId, String entityGUID, String metadataCollectionId, String classificationName, String externalSourceGUID, String externalSourceName, ClassificationOrigin classificationOrigin, String classificationOriginGUID, InstanceProperties properties) throws Exception Constructor used to execute the transaction function.- Parameters:
className
- name of the implementing classmethodName
- name of the implemented transaction methodtxId
- the transaction ID of this function invocationexisting
- XTDB document to updateproxy
- XTDB document to update, if existing is emptyuserId
- doing the updateentityGUID
- of the entity to updatemetadataCollectionId
- of the metadata collection in which the transaction is runningclassificationName
- name of the classificationexternalSourceGUID
- unique identifier for the external sourceexternalSourceName
- unique name for the external sourceclassificationOrigin
- source of the classification (assigned or propagated)classificationOriginGUID
- unique identifier of the entity that propagated the classification (if propagated)properties
- the properties to set on the classification- Throws:
Exception
- on any error
-