Class GomQuery
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<T>
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomList<GomParamImpl>
de.espirit.firstspirit.access.store.templatestore.gom.GomQuery
- All Implemented Interfaces:
GomCheckable,GomElement,GomList<GomParamImpl>,GomUidProviding,GomUidTypeProviding,Serializable,Cloneable,Iterable<GomParamImpl>,Collection<GomParamImpl>,List<GomParamImpl>,RandomAccess
@NonExtendable
public class GomQuery
extends AbstractGomList<GomParamImpl>
implements GomCheckable, GomUidProviding, GomUidTypeProviding
GOM representation of a query
- Since:
- 4.2.410
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomCheckable
GomCheckable.Context -
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns the default tag name of the component.Map<String,Class<? extends GomElement>> Get a list of mappings from tag name to class supported by this list.getName()Uid of the query@Nullable StringgetUid()The UID this element holds as a reference.TheIDProvider.UidTypeof the references contained.voidSets the uid of the queryvoidvalidate(GomCheckable.Context context) Validate the element against the given context.voidverify()Check if the list is marked as mandatory (not inherited!)Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomList
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfigurationMethods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Field Details
-
TAG
The tag of this component- Since:
- 4.2.410
- See Also:
-
-
Constructor Details
-
GomQuery
public GomQuery()
-
-
Method Details
-
getDefaultTag
Description copied from class:AbstractGomListReturns the default tag name of the component.- Specified by:
getDefaultTagin classAbstractGomList<GomParamImpl>
-
getName
Uid of the query- Since:
- 4.2.410
-
setName
Sets the uid of the query- Since:
- 4.2.410
-
getGomElementMappings
Description copied from interface:GomListGet a list of mappings from tag name to class supported by this list.- Convention:
- The mapping shall only be created on demand and not change at runtime.
- Specified by:
getGomElementMappingsin interfaceGomList<GomParamImpl>- Overrides:
getGomElementMappingsin classAbstractGomList<GomParamImpl>- Returns:
- The list of child tags.
-
verify
Description copied from class:AbstractGomListCheck if the list is marked as mandatory (not inherited!) and not empty- Specified by:
verifyin interfaceGomCheckable- Overrides:
verifyin classAbstractGomList<GomParamImpl>- 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.
-
getUid
Description copied from interface:GomUidProvidingThe UID this element holds as a reference.- Specified by:
getUidin interfaceGomUidProviding- Returns:
- The UID or
null.
-
getUidType
Description copied from interface:GomUidTypeProvidingTheIDProvider.UidTypeof the references contained.- Specified by:
getUidTypein interfaceGomUidTypeProviding- Returns:
- The associated uid type.
-