Class QAppMetaData
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.layout.QAppMetaData
- All Implemented Interfaces:
QAppChildMetaData,MetaDataProducerOutput,MetaDataWithName,MetaDataWithPermissionRules,QMetaDataObject,TopLevelMetaDataInterface,Serializable
public class QAppMetaData
extends Object
implements QAppChildMetaData, MetaDataWithPermissionRules, TopLevelMetaDataInterface
MetaData definition of an App - an entity that organizes tables invalid input: '&' processes
and can be arranged hierarchically (e.g, apps can contain other apps).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(QAppChildMetaData child) Add a child to this app.voidaddSection(QAppSection section) voidaddSelfToInstance(QInstance qInstance) call the appropriate methods on a QInstance to add ourselves to it.Getter for childrengetIcon()Getter for icongetLabel()Getter for labelgetName()Getter for nameGetter for parentAppNameGetter for permissionRulesGetter for sectionsGetter for sortOrderGetter for supplementalMetaDataGetter for widgetsvoidsetChildren(List<QAppChildMetaData> children) Setter for childrenvoidSetter for iconvoidSetter for labelvoidSetter for namevoidsetParentAppName(String parentAppName) Setter for parentAppNamevoidsetPermissionRules(QPermissionRules permissionRules) Setter for permissionRulesvoidsetSections(List<QAppSection> sections) Setter for sectionsvoidsetSortOrder(Integer sortOrder) Setter for sortOrdervoidsetSupplementalMetaData(Map<String, QSupplementalAppMetaData> supplementalMetaData) Setter for supplementalMetaDatavoidsetWidgets(List<String> widgets) Setter for widgetswithChild(QAppChildMetaData child) Fluently add a child to this app.withChildren(List<QAppChildMetaData> children) Fluent setter for childrenFluent setter for iconFluent setter for labelFluent setter for namewithPermissionRules(QPermissionRules permissionRules) Fluent setter for permissionRuleswithSection(QAppSection section) Fluent setter for sectionswithSectionOfChildren(QAppSection section, QAppChildMetaData... children) withSectionOfChildren(QAppSection section, Collection<? extends QAppChildMetaData> children) withSections(List<QAppSection> sections) Fluent setter for sectionswithSortOrder(Integer sortOrder) Fluent setter for sortOrderwithSupplementalMetaData(QSupplementalAppMetaData supplementalMetaData) Fluent setter for supplementalMetaDatawithSupplementalMetaData(Map<String, QSupplementalAppMetaData> supplementalMetaData) Fluent setter for supplementalMetaDatawithWidgets(List<String> widgets) Fluent setter for widgets
-
Constructor Details
-
QAppMetaData
public QAppMetaData()
-
-
Method Details
-
getName
Getter for name- Specified by:
getNamein interfaceMetaDataWithName- Specified by:
getNamein interfaceQAppChildMetaData- Specified by:
getNamein interfaceTopLevelMetaDataInterface
-
setName
Setter for name- Specified by:
setNamein interfaceMetaDataWithName
-
withName
Fluent setter for name -
getLabel
Getter for label- Specified by:
getLabelin interfaceMetaDataWithName- Specified by:
getLabelin interfaceQAppChildMetaData
-
setLabel
Setter for label- Specified by:
setLabelin interfaceMetaDataWithName
-
withLabel
Fluent setter for label -
getChildren
Getter for children -
setChildren
Setter for children -
addChild
Add a child to this app. -
withChild
Fluently add a child to this app. -
withChildren
Fluent setter for children -
getParentAppName
Getter for parentAppName -
setParentAppName
Setter for parentAppName -
getIcon
-
setIcon
Setter for icon -
withIcon
Fluent setter for icon -
getWidgets
-
setWidgets
-
withWidgets
Fluent setter for widgets -
getSections
Getter for sections -
setSections
Setter for sections -
withSections
Fluent setter for sections -
addSection
-
withSection
Fluent setter for sections -
withSectionOfChildren
public QAppMetaData withSectionOfChildren(QAppSection section, Collection<? extends QAppChildMetaData> children) -
withSectionOfChildren
-
getPermissionRules
Getter for permissionRules- Specified by:
getPermissionRulesin interfaceMetaDataWithPermissionRules
-
setPermissionRules
Setter for permissionRules- Specified by:
setPermissionRulesin interfaceMetaDataWithPermissionRules
-
withPermissionRules
Fluent setter for permissionRules -
addSelfToInstance
Description copied from interface:MetaDataProducerOutputcall the appropriate methods on a QInstance to add ourselves to it.- Specified by:
addSelfToInstancein interfaceMetaDataProducerOutput- Specified by:
addSelfToInstancein interfaceTopLevelMetaDataInterface
-
getSortOrder
Getter for sortOrder -
setSortOrder
Setter for sortOrder -
withSortOrder
Fluent setter for sortOrder -
getSupplementalMetaData
Getter for supplementalMetaData -
setSupplementalMetaData
Setter for supplementalMetaData -
withSupplementalMetaData
Fluent setter for supplementalMetaData -
withSupplementalMetaData
public QAppMetaData withSupplementalMetaData(Map<String, QSupplementalAppMetaData> supplementalMetaData) Fluent setter for supplementalMetaData
-