Class GomIncludeOptions
java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.access.store.templatestore.gom.GomIncludeOptions
- All Implemented Interfaces:
OptionFactoryProvider,GomCheckable,GomElement,GomIncludeConfiguration,GomPolymorphic,Serializable
@NonExtendable
public class GomIncludeOptions
extends AbstractGomElement
implements GomIncludeConfiguration, GomPolymorphic, OptionFactoryProvider, GomCheckable
GOM definition for inclusion. The enumeration
GomIncludeOptions.IncludeVariant defines the supported types of includes.- Since:
- 4.2.3
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEmpty configuration.static enumVariants to includeNested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomCheckable
GomCheckable.Context -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturn the default tag for a gom element.Get the GuiXML to be included.Language-dependent expressions for producing labelsGet the list of mixed in elements.Get a factory for accessing options defined by the include mechanism.getType()Type of inclusionvoidsetType(IncludeType value) Sets the type of inclusionvoidvalidate(GomCheckable.Context context) Validate the element against the given context.voidverify()Verify the element to be fulfill its syntactic constraints.Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfigurationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
-
Field Details
-
TAG
The tag of this component- Since:
- 4.2.3
- See Also:
-
-
Constructor Details
-
GomIncludeOptions
public GomIncludeOptions()
-
-
Method Details
-
getDefaultTag
Description copied from class:AbstractGomElementReturn the default tag for a gom element.- Specified by:
getDefaultTagin classAbstractGomElement- Returns:
- The elements default tag.
-
getType
Type of inclusion- Since:
- 4.2.3
-
setType
Sets the type of inclusion- Since:
- 4.2.3
-
getLabels
Language-dependent expressions for producing labels- Since:
- 4.2.5
-
getMixins
Description copied from interface:GomPolymorphicGet the list of mixed in elements. Note that the order of mixins returned in the list defines the mixin being chosen for a value. That is, if two or more mixins use the same name for an element, the first mixin of the list will win.- Specified by:
getMixinsin interfaceGomPolymorphic- Returns:
- A list of mixins.
- Throws:
ConfigurationException- if the configuration for providing mixins is incorrect.
-
getGuiXml
Description copied from interface:GomIncludeConfigurationGet the GuiXML to be included.- Specified by:
getGuiXmlin interfaceGomIncludeConfiguration- Returns:
- The included GuiXML.
-
verify
Description copied from interface:GomCheckableVerify the element to be fulfill its syntactic constraints.- Specified by:
verifyin interfaceGomCheckable- Throws:
IllegalStateException- If the element is not correctly set up.
-
validate
Description copied from interface:GomCheckableValidate the element against the given context.- Specified by:
validatein interfaceGomCheckable- Parameters:
context- The context to validate for, must not benull.- Throws:
GomValidationError- If the element is not plausible wrt. its context.
-
getOptionFactory
Get a factory for accessing options defined by the include mechanism.- Specified by:
getOptionFactoryin interfaceOptionFactoryProvider- Returns:
- The factory.
-