Package org.apache.torque.generator.option

# Klasse OptionImpl

java.lang.Object
org.apache.torque.generator.option.OptionImpl

Alle implementierten Schnittstellen:
  `Option`

public class OptionImpl extends Object implements Option
The default implementation of the option Interface. This class is immutable.

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `OptionImpl(String qualifiedName, Object value)`
  Constructs an OptionImpl from the String representation of a QualifiedName and a value.
  `OptionImpl(String namespace, String name, Object value)`
  Constructs an optionImpl from a namespace, a name and a value.
  `OptionImpl(QualifiedName qualifiedName, Object value)`
  Constructs an OptionImpl from a QualifiedaName and a value.

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `boolean`
  `equals(Object obj)`
  `QualifiedName`
  `getQualifiedName()`
  Returns the qualified name of the option.
  `Object`
  `getValue()`
  Retursn the value of the option.
  `int`
  `hashCode()`
  `String`
  `toString()`
  Creates as String representation of this Object for debugging purposes.

  ### Von Klasse geerbte Methoden java.lang.Object

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

- ## Konstruktordetails

  - ### OptionImpl

    public OptionImpl(String namespace, String name, Object value)
    Constructs an optionImpl from a namespace, a name and a value.
    Parameter:
      `namespace` - the namespace of the option, may be null.
      `name` - the name of the option, must not be empty.
      `value` - the value of the option, may be null.

  - ### OptionImpl

    public OptionImpl(String qualifiedName, Object value)
    Constructs an OptionImpl from the String representation of a QualifiedName and a value.
    Parameter:
      `qualifiedName` - The String representation of the qualified name of the option, in the form context:name or name. (in the latter case, context is null).
      `value` - the value of the option, may be null.
    Löst aus:
      `IllegalArgumentException` - if qualifiedName is not a legal QualifiedName.

  - ### OptionImpl

    public OptionImpl(QualifiedName qualifiedName, Object value)
    Constructs an OptionImpl from a QualifiedaName and a value.
    Parameter:
      `qualifiedName` - A qualifiedName containing the context and the name of the option.
      `value` - the value of the option, may be null.

- ## Methodendetails

  - ### getQualifiedName

    public QualifiedName getQualifiedName()
    Returns the qualified name of the option.
    Angegeben von:
      `getQualifiedName` in Schnittstelle `Option`
    Gibt zurück:
      the qualified name of the option, not null.

  - ### getValue

    public Object getValue()
    Retursn the value of the option.
    Angegeben von:
      `getValue` in Schnittstelle `Option`
    Gibt zurück:
      the value of the option, may be null.

  - ### toString

    public String toString()
    Creates as String representation of this Object for debugging purposes.
    Setzt außer Kraft:
      `toString` in Klasse `Object`
    Gibt zurück:
      A String representation, not null.

  - ### hashCode

    public int hashCode()
    Setzt außer Kraft:
      `hashCode` in Klasse `Object`

  - ### equals

    public boolean equals(Object obj)
    Setzt außer Kraft:
      `equals` in Klasse `Object`