Class AbstractGomFilterEntry
java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomFilterEntry
- All Implemented Interfaces:
GomCheckable,GomElement,GomFilterEntry,Serializable
- Direct Known Subclasses:
GomFilterAllowEntry,GomFilterHideEntry
@NonExtendable
public abstract class AbstractGomFilterEntry
extends Object
implements GomFilterEntry, GomCheckable
Abstract base class for filter entries
- Since:
- 4.2.9
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomCheckable
GomCheckable.ContextNested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomFilterEntry
GomFilterEntry.EntryType, GomFilterEntry.FilterEntryWildcardType, GomFilterEntry.FilterType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the tag name, the instance was produced for.Get the configuration, if this is an included element.booleanIndicates, that the element has a representation to be displayed in a form.
A representation usually corresponds to a registered editor component.final voidsetGomElementTag(String name) Sets the tag name, the instance gets produced for.voidsetIncludeConfiguration(GomIncludeConfiguration configuration) Set the configuration for an included element.voidvalidate(GomCheckable.Context context) Validate the element against the given context.voidverify()Verify the element to be fulfill its syntactic constraints.Methods 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.GomFilterEntry
getEntryType, getStringRepresentation, getType
-
Constructor Details
-
AbstractGomFilterEntry
public AbstractGomFilterEntry()
-
-
Method Details
-
setGomElementTag
Description copied from interface:GomElementSets the tag name, the instance gets produced for.- Specified by:
setGomElementTagin interfaceGomElement- Parameters:
name- The name of the tag.
-
getGomElementTag
Description copied from interface:GomElementGet the tag name, the instance was produced for.- Specified by:
getGomElementTagin interfaceGomElement- Returns:
- The name of the tag.
-
getIncludeConfiguration
Description copied from interface:GomElementGet the configuration, if this is an included element.- Specified by:
getIncludeConfigurationin interfaceGomElement- Returns:
- The configuration for including the element.
-
setIncludeConfiguration
Description copied from interface:GomElementSet the configuration for an included element.- Specified by:
setIncludeConfigurationin interfaceGomElement- Parameters:
configuration- The configuration to set.
-
hasRepresentation
public boolean hasRepresentation()Description copied from interface:GomElementIndicates, that the element has a representation to be displayed in a form.
A representation usually corresponds to a registered editor component.- Specified by:
hasRepresentationin interfaceGomElement- Returns:
true, if a representation is available.
-
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.
-