Interface NamespacedEntityId
-
- All Superinterfaces:
CharSequence
,Comparable<EntityId>
,EntityId
- All Known Implementing Classes:
DefaultNamespacedEntityId
,NamespacedEntityIdWithType
@Immutable public interface NamespacedEntityId extends EntityId
Interface for all entity IDs that contain a namespace in their string representation. Every implementation of this interface needs to ensure that name and namespace are valid according toRegexPatterns.ENTITY_NAME_REGEX
andRegexPatterns.NAMESPACE_REGEX
. Every implementation must ensure immutability.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Gets the name part of this entity ID.String
getNamespace()
Gets the namespace part of this entity ID.-
Methods inherited from interface java.lang.CharSequence
chars, codePoints, toString
-
-