Class GomInplaceLinkConfig
java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.access.store.templatestore.gom.GomInplaceLinkConfig
- All Implemented Interfaces:
GomCheckable
,GomElement
,Serializable
Container for old style inplace link configurations.
- Since:
- 2.0
- 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 TypeMethodDescriptionboolean
Deprecated.since 4.0 - no replacementprotected String
Return the default tag for a gom element.getName()
Name of the configurationGet all parameters matching one of the specified names.int
hashCode()
void
setCms_Param
(GomGenericParam param) Adds a generic parametervoid
Sets the name of the configurationvoid
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 de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
-
Constructor Details
-
GomInplaceLinkConfig
public GomInplaceLinkConfig()
-
-
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.
-
getName
Name of the configuration- Since:
- 2.0
-
setName
Sets the name of the configuration- Since:
- 2.0
-
getCms_Param
Deprecated.since 4.0 - no replacementDummy getter for parser. UsegetParams(String...)
instead.- Returns:
null
.- Since:
- 2.0
-
setCms_Param
Adds a generic parameter- Since:
- 4.0
-
getParams
Get all parameters matching one of the specified names. If no name is given, all parameters will be returned.- Parameters:
names
- The name to fetch parameters for ornull
.- Returns:
- The defined matching parameters.
- Since:
- 4.0
-
equals
-
hashCode
public int hashCode() -
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.
-