Class GomContentReferenceEntry
java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.access.store.templatestore.gom.GomContentReferenceEntry
- All Implemented Interfaces:
GomCheckable,GomElement,GomUidProviding,GomUidTypeProviding,Serializable
@NonExtendable
public class GomContentReferenceEntry
extends AbstractGomElement
implements GomCheckable, GomUidProviding, GomUidTypeProviding
Entry for identifier lists.
- Since:
- 4.2.9
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomCheckable
GomCheckable.Context -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected StringReturn the default tag for a gom element.getName()The actual reference name@Nullable StringgetUid()The UID this element holds as a reference.TheIDProvider.UidTypeof the references contained.inthashCode()name()Convenience API forgetName()returning a string valuevoidsetName(ReferenceName name) Sets the actual reference namevoidvalidate(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
-
Field Details
-
TAG
The tag of this component- Since:
- 4.2.9
- See Also:
-
-
Constructor Details
-
GomContentReferenceEntry
Convenient constructor.- Parameters:
name- The reference name to set.- Since:
- 4.2.9
-
-
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
The actual reference name- Since:
- 4.2.9
-
setName
Sets the actual reference name- Since:
- 4.2.9
-
getUidType
Description copied from interface:GomUidTypeProvidingTheIDProvider.UidTypeof the references contained.- Specified by:
getUidTypein interfaceGomUidTypeProviding- Returns:
- The associated uid type.
-
getUid
Description copied from interface:GomUidProvidingThe UID this element holds as a reference.- Specified by:
getUidin interfaceGomUidProviding- Returns:
- The UID or
null.
-
name
Convenience API forgetName()returning a string value- Since:
- 4.2.9
-
hashCode
public int hashCode() -
equals
-
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.
-