com.ihr.xbrl.pojo

## Class Namespace

- java.lang.Object
- - com.ihr.xbrl.pojo.Namespace

- All Implemented Interfaces:
    HasId, java.io.Serializable

      public class Namespace
      extends java.lang.Object
      implements java.io.Serializable, HasId

  This class represents a namespace and prefix tuple stored into the XBRL database.

  An instance of this class stores both. The namespace prefix and the namespace URI so it will be easy to change either the namespace URI or the prefix at a later time for all elements using this namespace.

  Author:
    Ignacio
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Namespace()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Long` | `getId()` Gets the id.
    `java.lang.String` | `getNamespace()` Gets the namespace.
    `java.lang.String` | `getPrefix()` Gets the prefix.
    `int` | `hashCode()` This is the java hashCode method.
    `void` | `setHash(java.lang.Integer value)` Method used by hibernate to set the value.
    `void` | `setId(java.lang.Long id)` Sets the id.
    `void` | `setNamespace(java.lang.String namespace)` Sets the namespace.
    `void` | `setPrefix(java.lang.String prefix)` Sets the prefix.

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

      `getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Namespace

          public Namespace()

  - ### Method Detail

    - #### getPrefix

          public java.lang.String getPrefix()

      Gets the prefix.
      Returns:
        the prefix

    - #### setPrefix

          public void setPrefix(java.lang.String prefix)

      Sets the prefix.
      Parameters:
        `prefix` - the prefix to set

    - #### getId

          public java.lang.Long getId()

      Gets the id.
      Specified by:
        `getId` in interface `HasId`
      Returns:
        the id

    - #### setId

          public void setId(java.lang.Long id)

      Sets the id.
      Specified by:
        `setId` in interface `HasId`
      Parameters:
        `id` - the id to set

    - #### getNamespace

          public java.lang.String getNamespace()

      Gets the namespace.
      Returns:
        the namespace

    - #### setNamespace

          public void setNamespace(java.lang.String namespace)

      Sets the namespace.
      Parameters:
        `namespace` - the namespace to set

    - #### hashCode

          public int hashCode()

      This is the java hashCode method.
      Overrides:
        `hashCode` in class `java.lang.Object`
      Returns:
        int

    - #### equals

          public boolean equals(java.lang.Object obj)

      Overrides:
        `equals` in class `java.lang.Object`

    - #### setHash

          public void setHash(java.lang.Integer value)

      Method used by hibernate to set the value.
      Parameters:
        `value` - the new hash