java.lang.Object
org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.executors.RepositoryExecutorBase
org.odpi.openmetadata.repositoryservices.enterprise.repositoryconnector.executors.AddRelationshipExecutor
All Implemented Interfaces:
RepositoryExecutor

public class AddRelationshipExecutor extends RepositoryExecutorBase
AddRelationshipExecutor provides the executor for the addEntity and addExternalEntity methods.
  • Constructor Details

    • AddRelationshipExecutor

      public AddRelationshipExecutor(String userId, String relationshipTypeGUID, InstanceProperties initialProperties, EntityProxy entityOneProxy, EntityProxy entityTwoProxy, InstanceStatus initialStatus, AuditLog auditLog, String methodName)
      Constructor takes the parameters for the request.
      Parameters:
      userId - unique identifier for requesting user
      relationshipTypeGUID - unique identifier (guid) for the new entity's type
      initialProperties - initial list of properties for the new relationship - null means no properties
      entityOneProxy - the unique identifier of one of the entities that the relationship is connecting together
      entityTwoProxy - the unique identifier of the other entity that the relationship is connecting together
      initialStatus - initial status typically DRAFT, PREPARED or ACTIVE
      auditLog - logging destination
      methodName - calling method
    • AddRelationshipExecutor

      public AddRelationshipExecutor(String userId, String relationshipTypeGUID, String externalSourceGUID, String externalSourceName, InstanceProperties initialProperties, EntityProxy entityOneProxy, EntityProxy entityTwoProxy, InstanceStatus initialStatus, AuditLog auditLog, String methodName)
      Constructor takes the parameters for the request.
      Parameters:
      userId - unique identifier for requesting user.
      relationshipTypeGUID - unique identifier (guid) for the new entity's type.
      externalSourceGUID - unique identifier (guid) for the external source.
      externalSourceName - unique name for the external source.
      initialProperties - initial list of properties for the new entity null means no properties.
      entityOneProxy - the unique identifier of one of the entities that the relationship is connecting together.
      entityTwoProxy - the unique identifier of the other entity that the relationship is connecting together.
      initialStatus - initial status typically DRAFT, PREPARED or ACTIVE.
      auditLog - logging destination
      methodName - calling method
  • Method Details