Class ConnectorOfEntityModel

java.lang.Object
com.priint.pubserver.entity.ConnectorOfEntityModel
All Implemented Interfaces:
Serializable

public class ConnectorOfEntityModel extends Object implements Serializable

Connector instance to be used for an entity model.

This class defines a connector-instance to entity-model combination.

Since:
4.0.0
See Also:
  • Constructor Details

    • ConnectorOfEntityModel

      public ConnectorOfEntityModel()
  • Method Details

    • getConnectorIdentifier

      public String getConnectorIdentifier()
      Gets the connector instance identifier.

      E.g. "com.priint.pubserver.connector.jpa.api.PublishingHubDBConnector:default".

      Defaults to an empty string.

      Returns:
      identifier as string
    • setConnectorIdentifier

      public void setConnectorIdentifier(String connectorIdentifier)
      Sets the connector instance identifier.

      E.g. "com.priint.pubserver.connector.jpa.api.PublishingHubDBConnector:default"

      Throws NullArgumentException if input is null.

      Parameters:
      connectorIdentifier -
    • getEntityModelIdentifier

      public String getEntityModelIdentifier()
      Gets the entity model identifier.

      Defaults to an empty string.

      Returns:
      identifier as String
    • setEntityModelIdentifier

      public void setEntityModelIdentifier(String entityModelIdentifier)
      Sets the entity model identifier.

      Throws NullArgumentException if input is null.

      Parameters:
      entityModelIdentifier -
    • isQueryRootBuckets

      public boolean isQueryRootBuckets()
      Gets whether the connector gets called during a call to getEntityRootBuckets.

      Defaults to false.

      Returns:
      true if connector instance it is called in a root query.
    • setQueryRootBuckets

      public void setQueryRootBuckets(boolean queryRootBuckets)
      Sets whether the connector gets called during a call to getEntityRootBuckets.
      Parameters:
      queryRootBuckets -
    • toString

      public String toString()
      Overrides:
      toString in class Object