Class EsbTableMetaData
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.tables.QSupplementalTableMetaData
com.kingsrook.qqq.esb.model.EsbTableMetaData
- All Implemented Interfaces:
Cloneable
Table-level ESB meta-data: the destinations a table publishes its record
change events to.
Not included in frontend meta-data; the UI reads it through the
permission-checked ESB endpoints.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EsbTableMetaDatafinishClone(QSupplementalTableMetaData abstractClone) finish the cloning operation started in the base class. copy all state from the subclass into the input clone (which can be safely casted to the subclass's type, as it was obtained by super.clone()) Rather than making this public and breaking all existing implementations that don't have it - we're making it protected, with a one-time warning if it isn't implemented in a subclass.Getter for publicationsgetType()Getter for typebooleanbooleanstatic EsbTableMetaDataof(QTableMetaData table) Get the ESB meta-data on a table - or null if it has none.static EsbTableMetaDataofOrWithNew(QTableMetaData table) Get the ESB meta-data on a table - creating (and adding) it if the table doesn't have any yet.voidsetPublications(List<EsbTablePublication> publications) Setter for publicationsvoidvalidate(QInstance qInstance, QTableMetaData tableMetaData, QInstanceValidator qInstanceValidator) Each publication must be to a known destination.withPublication(EsbTablePublication publication) Fluent setter to add a single publicationwithPublications(List<EsbTablePublication> publications) Fluent setter for publicationsMethods inherited from class com.kingsrook.qqq.backend.core.model.metadata.tables.QSupplementalTableMetaData
clone, enrich, of, ofOrWithNew
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
EsbTableMetaData
public EsbTableMetaData()
-
-
Method Details
-
of
Get the ESB meta-data on a table - or null if it has none. -
ofOrWithNew
Get the ESB meta-data on a table - creating (and adding) it if the table doesn't have any yet. -
getType
Description copied from class:QSupplementalTableMetaDataGetter for type- Specified by:
getTypein classQSupplementalTableMetaData
-
includeInPartialFrontendMetaData
public boolean includeInPartialFrontendMetaData()- Overrides:
includeInPartialFrontendMetaDatain classQSupplementalTableMetaData
-
includeInFullFrontendMetaData
public boolean includeInFullFrontendMetaData()- Overrides:
includeInFullFrontendMetaDatain classQSupplementalTableMetaData
-
validate
public void validate(QInstance qInstance, QTableMetaData tableMetaData, QInstanceValidator qInstanceValidator) Each publication must be to a known destination.- Overrides:
validatein classQSupplementalTableMetaData
-
finishClone
Description copied from class:QSupplementalTableMetaDatafinish the cloning operation started in the base class. copy all state from the subclass into the input clone (which can be safely casted to the subclass's type, as it was obtained by super.clone()) Rather than making this public and breaking all existing implementations that don't have it - we're making it protected, with a one-time warning if it isn't implemented in a subclass.- Overrides:
finishClonein classQSupplementalTableMetaData
-
getPublications
Getter for publications -
setPublications
Setter for publications -
withPublications
Fluent setter for publications -
withPublication
Fluent setter to add a single publication
-