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

public abstract class ClassifyEntity extends AbstractTransactionFunction
  • 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 class
      methodName - name of the implemented transaction method
      txId - the transaction ID of this function invocation
      existing - XTDB document to update
      proxy - XTDB document to update, if existing is empty
      userId - doing the update
      entityGUID - of the entity to update
      metadataCollectionId - of the metadata collection in which the transaction is running
      classificationName - name of the classification
      externalSourceGUID - unique identifier for the external source
      externalSourceName - unique name for the external source
      classificationOrigin - 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