Class DatasetDataAccessConfiguration
java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.content.access.DatasetDataAccessConfiguration
- All Implemented Interfaces:
GomCheckable,GomElement,Serializable
@NonExtendable
public class DatasetDataAccessConfiguration
extends AbstractGomElement
implements GomCheckable
GOM configuration object for dataset data access.
- Since:
- 5.2.250501
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomCheckable
GomCheckable.Context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturn the default tag for a gom element.@NotNull GomQuerygetQuery()Returns the query to be used for entry selection.@NotNull GomTableTemplateUidReturns the universal identifier of the editing templatebooleanhasQuery()Indicates if a query is configured.voidsetTemplate(@NotNull GomTableTemplateUid template) Sets the universal identifier of the editing templatevoidvalidate(@NotNull 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, setIncludeConfiguration
-
Constructor Details
-
DatasetDataAccessConfiguration
public DatasetDataAccessConfiguration()
-
-
Method Details
-
getDefaultTag
Description copied from class:AbstractGomElementReturn the default tag for a gom element.- Specified by:
getDefaultTagin classAbstractGomElement- Returns:
- The elements default tag.
-
getTemplate
Returns the universal identifier of the editing template- Returns:
- the identifier, never
null - Since:
- 5.2.250501
-
setTemplate
Sets the universal identifier of the editing template- Parameters:
template- the identifier of the template, must not benull- Since:
- 5.2.250501
-
hasQuery
public boolean hasQuery()Indicates if a query is configured.- Returns:
trueif a query is configured,falseotherwise- Since:
- 5.2.250501
- See Also:
-
getQuery
Returns the query to be used for entry selection.- Returns:
- the query, never
null - Since:
- 5.2.250501
-
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.
-