com.io7m.jstructural.core

## Class SID

- java.lang.Object
- - com.io7m.jstructural.core.SID

-     @Immutable
      public final class SID
      extends Object

  An ID attribute, unique over a document.

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `String` | `getActual()`
    `int` | `hashCode()`
    `static SID` | `newID(String actual)` Construct a new ID.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### newID

          public static SID newID(String actual)

      Construct a new ID.
      Parameters:
        `actual` - The ID text
      Returns:
        A new ID

    - #### equals

          public boolean equals(@Nullable
                                Object obj)

      Overrides:
        `equals` in class `Object`

    - #### getActual

          public String getActual()

      Returns:
        The ID text

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2015 <code@io7m.com> http://io7m.com