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 TypeMethodDescriptionvoid
addChild
(QAppChildMetaData child) Add a child to this app.void
addSection
(QAppSection section) void
addSelfToInstance
(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 widgetsvoid
setChildren
(List<QAppChildMetaData> children) Setter for childrenvoid
Setter for iconvoid
Setter for labelvoid
Setter for namevoid
setParentAppName
(String parentAppName) Setter for parentAppNamevoid
setPermissionRules
(QPermissionRules permissionRules) Setter for permissionRulesvoid
setSections
(List<QAppSection> sections) Setter for sectionsvoid
setSortOrder
(Integer sortOrder) Setter for sortOrdervoid
setSupplementalMetaData
(Map<String, QSupplementalAppMetaData> supplementalMetaData) Setter for supplementalMetaDatavoid
setWidgets
(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:
getName
in interfaceMetaDataWithName
- Specified by:
getName
in interfaceQAppChildMetaData
- Specified by:
getName
in interfaceTopLevelMetaDataInterface
-
setName
Setter for name- Specified by:
setName
in interfaceMetaDataWithName
-
withName
Fluent setter for name -
getLabel
Getter for label- Specified by:
getLabel
in interfaceMetaDataWithName
- Specified by:
getLabel
in interfaceQAppChildMetaData
-
setLabel
Setter for label- Specified by:
setLabel
in 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:
getPermissionRules
in interfaceMetaDataWithPermissionRules
-
setPermissionRules
Setter for permissionRules- Specified by:
setPermissionRules
in interfaceMetaDataWithPermissionRules
-
withPermissionRules
Fluent setter for permissionRules -
addSelfToInstance
Description copied from interface:MetaDataProducerOutput
call the appropriate methods on a QInstance to add ourselves to it.- Specified by:
addSelfToInstance
in interfaceMetaDataProducerOutput
- Specified by:
addSelfToInstance
in 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
-