Class ConnectorOfEntityModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class ConnectorOfEntityModel
    extends java.lang.Object
    implements java.io.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:
    Serialized Form
    • Constructor Detail

      • ConnectorOfEntityModel

        public ConnectorOfEntityModel()
    • Method Detail

      • getConnectorIdentifier

        public java.lang.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​(java.lang.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 java.lang.String getEntityModelIdentifier()
        Gets the entity model identifier.

        Defaults to an empty string.

        Returns:
        identifier as String
      • setEntityModelIdentifier

        public void setEntityModelIdentifier​(java.lang.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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object