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 TypeMethodDescriptionbooleanDeprecated.since 4.0 - no replacementprotected StringReturn the default tag for a gom element.getName()Name of the configurationGet all parameters matching one of the specified names.inthashCode()voidsetCms_Param(GomGenericParam param) Adds a generic parametervoidSets the name of the configurationvoidvalidate(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
-
GomInplaceLinkConfig
public GomInplaceLinkConfig()
-
-
Method Details
-
getDefaultTag
Description copied from class:AbstractGomElementReturn the default tag for a gom element.- Specified by:
getDefaultTagin 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: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.
-