org.infinispan.schematic.document

## Class Symbol

- java.lang.Object
- - org.infinispan.schematic.document.Symbol

- All Implemented Interfaces:
    Serializable

      @Immutable
      @SerializeWith(value=Symbol.Externalizer.class)
      public final class Symbol
      extends Object
      implements Serializable

  A `symbol` value for use within a `BSON Object`.
  Since:
    5.1
  See Also:
    Serialized Form

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Symbol.Externalizer`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Symbol(String symbol)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `String` | `getSymbol()`
    `int` | `hashCode()`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### Symbol

          public Symbol(String symbol)

  - ### Method Detail

    - #### getSymbol

          public String getSymbol()

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.