Class OIDRegistry

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      OIDRegistryItem get​(OID oid)
      Retrieves the OID registry item for the specified OID, if available.
      OIDRegistryItem get​(java.lang.String oid)
      Retrieves the OID registry item for the specified OID, if available.
      static OIDRegistry getDefault()
      Retrieves the default instance of this OID registry.
      java.util.Map<OID,​OIDRegistryItem> getItems()
      Retrieves an unmodifiable map of all items in the OID registry, indexed by OID.
      OIDRegistry withSchema​(Schema schema)
      Retrieves a copy of this OID registry that has been augmented with information from the provided schema.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getDefault

        @NotNull
        public static OIDRegistry getDefault()
        Retrieves the default instance of this OID registry.
        Returns:
        The default instance of this OID registry.
      • withSchema

        @NotNull
        public OIDRegistry withSchema​(@NotNull
                                      Schema schema)
        Retrieves a copy of this OID registry that has been augmented with information from the provided schema.
        Parameters:
        schema - The schema that may be used to augment the information in this OID registry. It must not be null.
        Returns:
        A copy of this OID registry that has been augmented with information from the provided schema.
      • getItems

        @NotNull
        public java.util.Map<OID,​OIDRegistryItemgetItems()
        Retrieves an unmodifiable map of all items in the OID registry, indexed by OID.
        Returns:
        An unmodifiable map of all items in the OID registry, indexed by OID.
      • get

        @Nullable
        public OIDRegistryItem get​(@NotNull
                                   java.lang.String oid)
        Retrieves the OID registry item for the specified OID, if available.
        Parameters:
        oid - The OID for the item to retrieve.
        Returns:
        The OID registry item for the specified OID, or null if this registry does not have any information about the specified OID.
      • get

        @Nullable
        public OIDRegistryItem get​(@NotNull
                                   OID oid)
        Retrieves the OID registry item for the specified OID, if available.
        Parameters:
        oid - The OID for the item to retrieve.
        Returns:
        The OID registry item for the specified OID, or null if this registry does not have any information about the specified OID.