Class NamespaceId

  • All Implemented Interfaces:
    Serializable, Comparable<NamespaceId>

    public class NamespaceId
    extends AbstractId<NamespaceId>
    A strongly typed representation of a namespace ID. This class cannot be used to get a namespace ID from a namespace name, but does provide the namespace ID string wrapped with a stronger type. The constructor for this class will throw an error if the canonical parameter is null.
    See Also:
    Serialized Form
    • Method Detail

      • of

        public static NamespaceId of​(String canonical)
        Get a NamespaceId object for the provided canonical string. This is guaranteed to be non-null
        canonical - Namespace ID string
        Namespace.ID object