Interface Id

All Superinterfaces:
OsidPrimitive, Serializable
All Known Subinterfaces:
Id

public interface Id extends OsidPrimitive
Supplements the OSID Id interface for Java.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determines if the authority, namespace, and identfier of the given Id is equal to this one.
    int
    Returns a hash code value for this Id based on the authority, namespace, and identifier of this Id.

    Methods inherited from interface OsidPrimitive

    toString
    Modifier and Type
    Method
    Description
    Returns a string representation of this OsidPrimitive.
  • Method Details

    • equals

      boolean equals(Object obj)
      Determines if the authority, namespace, and identfier of the given Id is equal to this one.
      Overrides:
      equals in class Object
      Parameters:
      obj - an object to compare
      Returns:
      true if the given object is equal to this Version, false otherwise
    • hashCode

      int hashCode()
      Returns a hash code value for this Id based on the authority, namespace, and identifier of this Id.
      Overrides:
      hashCode in class Object
      Returns:
      a hash code value for this object