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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected String
Return the default tag for a gom element.getName()
The actual reference name@Nullable String
getUid()
The UID this element holds as a reference.TheIDProvider.UidType
of the references contained.int
hashCode()
name()
Convenience API forgetName()
returning a string valuevoid
setName
(ReferenceName name) Sets the actual reference namevoid
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
-
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:AbstractGomElement
Return the default tag for a gom element.- Specified by:
getDefaultTag
in 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:GomUidTypeProviding
TheIDProvider.UidType
of the references contained.- Specified by:
getUidType
in interfaceGomUidTypeProviding
- Returns:
- The associated uid type.
-
getUid
Description copied from interface:GomUidProviding
The UID this element holds as a reference.- Specified by:
getUid
in 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: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.- Throws:
GomValidationError
- If the element is not plausible wrt. its context.
-