Package com.unboundid.util
Class OIDRegistryItem
- java.lang.Object
-
- com.unboundid.util.OIDRegistryItem
-
- All Implemented Interfaces:
java.io.Serializable
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class OIDRegistryItem extends java.lang.Object implements java.io.Serializable
This class defines a data structure that represents an item in the OID registry.- See Also:
OIDRegistry
, Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JSONObject
asJSONObject()
Retrieves a representation of this OID registry item as a JSON object.java.lang.String
getName()
Retrieves the name for this OID registry item.java.lang.String
getOID()
Retrieves a string representation of the OID for this OID registry item.java.lang.String
getOrigin()
Retrieves a string with information about the origin of this OID registry item, if available.java.lang.String
getType()
Retrieves the type for this OID registry item.java.lang.String
getURL()
Retrieves a URL with more information about this OID registry item, if available.java.lang.String
toString()
Retrieves a string representation of this OID registry item.
-
-
-
Method Detail
-
getOID
@NotNull public java.lang.String getOID()
Retrieves a string representation of the OID for this OID registry item.- Returns:
- A string representation of the OID for this OID registry item.
-
getName
@NotNull public java.lang.String getName()
Retrieves the name for this OID registry item.- Returns:
- The name for this OID registry item.
-
getType
@NotNull public java.lang.String getType()
Retrieves the type for this OID registry item.- Returns:
- The type for this OID registry item.
-
getOrigin
@Nullable public java.lang.String getOrigin()
Retrieves a string with information about the origin of this OID registry item, if available.- Returns:
- A string with information about the origin of this OID registry
item, or
null
if none is available.
-
getURL
@Nullable public java.lang.String getURL()
Retrieves a URL with more information about this OID registry item, if available.- Returns:
- A URL with more information about this OID registry item, or
null
if none is available.
-
asJSONObject
@NotNull public JSONObject asJSONObject()
Retrieves a representation of this OID registry item as a JSON object.- Returns:
- A representation of this OID registry item as a JSON object.
-
-