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 String
Return the default tag for a gom element.@NotNull GomQuery
getQuery()
Returns the query to be used for entry selection.@NotNull GomTableTemplateUid
Returns the universal identifier of the editing templateboolean
hasQuery()
Indicates if a query is configured.void
setTemplate
(@NotNull GomTableTemplateUid template) Sets the universal identifier of the editing templatevoid
validate
(@NotNull 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 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:AbstractGomElement
Return the default tag for a gom element.- Specified by:
getDefaultTag
in 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:
true
if a query is configured,false
otherwise- 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: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.
-