Class SaveClassificationReferenceCopy
java.lang.Object
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.AbstractTransactionFunction
org.odpi.openmetadata.adapters.repositoryservices.xtdb.repositoryconnector.txnfn.SaveClassificationReferenceCopy
- Direct Known Subclasses:
SaveClassificationReferenceCopyEntityDetail
,SaveClassificationReferenceCopyEntityProxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final clojure.lang.Keyword
protected final clojure.lang.IPersistentMap
-
Constructor Summary
ModifierConstructorDescriptionprotected
SaveClassificationReferenceCopy
(String className, String methodName, Long txId, String entityGUID, clojure.lang.PersistentHashMap existing, clojure.lang.PersistentHashMap entity, Classification classification, String homeMetadataCollectionId) 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
-
FUNCTION_NAME
public static final clojure.lang.Keyword FUNCTION_NAME -
xtdbDoc
protected final clojure.lang.IPersistentMap xtdbDoc
-
-
Constructor Details
-
SaveClassificationReferenceCopy
protected SaveClassificationReferenceCopy(String className, String methodName, Long txId, String entityGUID, clojure.lang.PersistentHashMap existing, clojure.lang.PersistentHashMap entity, Classification classification, String homeMetadataCollectionId) 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 updateentity
- XTDB document to create, if existing is emptyentityGUID
- of the entity to updateclassification
- to persist on the entityhomeMetadataCollectionId
- the metadataCollectionId of the repository where the transaction is running- Throws:
Exception
- on any error
-
-
Method Details
-
getTxFn
Construct the transaction function specific to the subclass.- Parameters:
className
- canonical name of the subclass for which to construct the transaction function- Returns:
- the transaction function
-