Package com.priint.pubserver.entity
Class ConnectorOfEntityModel
- java.lang.Object
-
- com.priint.pubserver.entity.ConnectorOfEntityModel
-
- All Implemented Interfaces:
java.io.Serializable
public class ConnectorOfEntityModel extends java.lang.Object implements java.io.SerializableConnector 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 Summary
Constructors Constructor Description ConnectorOfEntityModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetConnectorIdentifier()Gets the connector instance identifier.java.lang.StringgetEntityModelIdentifier()Gets the entity model identifier.booleanisQueryRootBuckets()Gets whether the connector gets called during a call to getEntityRootBuckets.voidsetConnectorIdentifier(java.lang.String connectorIdentifier)Sets the connector instance identifier.voidsetEntityModelIdentifier(java.lang.String entityModelIdentifier)Sets the entity model identifier.voidsetQueryRootBuckets(boolean queryRootBuckets)Sets whether the connector gets called during a call to getEntityRootBuckets.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-