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.Context
Nested 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.boolean
Indicates, that the element has a representation to be displayed in a form.
A representation usually corresponds to a registered editor component.final void
setGomElementTag
(String name) Sets the tag name, the instance gets produced for.void
setIncludeConfiguration
(GomIncludeConfiguration configuration) Set the configuration for an included element.void
validate
(GomCheckable.Context context) Validate the element against the given context.void
verify()
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, wait
Methods 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:GomElement
Sets the tag name, the instance gets produced for.- Specified by:
setGomElementTag
in interfaceGomElement
- Parameters:
name
- The name of the tag.
-
getGomElementTag
Description copied from interface:GomElement
Get the tag name, the instance was produced for.- Specified by:
getGomElementTag
in interfaceGomElement
- Returns:
- The name of the tag.
-
getIncludeConfiguration
Description copied from interface:GomElement
Get the configuration, if this is an included element.- Specified by:
getIncludeConfiguration
in interfaceGomElement
- Returns:
- The configuration for including the element.
-
setIncludeConfiguration
Description copied from interface:GomElement
Set the configuration for an included element.- Specified by:
setIncludeConfiguration
in interfaceGomElement
- Parameters:
configuration
- The configuration to set.
-
hasRepresentation
public boolean hasRepresentation()Description copied from interface:GomElement
Indicates, that the element has a representation to be displayed in a form.
A representation usually corresponds to a registered editor component.- Specified by:
hasRepresentation
in interfaceGomElement
- Returns:
true
, if a representation is available.
-
verify
Description copied from interface:GomCheckable
Verify the element to be fulfill its syntactic constraints.- Specified by:
verify
in interfaceGomCheckable
- Throws:
IllegalStateException
- If the element is not correctly set up.
-
validate
Description copied from interface:GomCheckable
Validate the element against the given context.- Specified by:
validate
in interfaceGomCheckable
- Parameters:
context
- The context to validate for, must not benull
.- Throws:
GomValidationError
- If the element is not plausible wrt. its context.
-