Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Business Components
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.jbo.domain
Class DateDomain

    java.lang.Object
      |
      +--oracle.jbo.domain.DateDomain

Deprecated. This class has been superceeded by `Date`.

An encapsulation of Oracle SQL `DATE` objects as immutable Domain objects.

public class DateDomain
extends java.lang.Object
implements DomainInterface, java.io.Serializable

Since:
  JDevloper 2.0
See Also:
  `Date`, Serialized Form

Constructor Summary
`DateDomain()` Deprecated.
`DateDomain(java.sql.Date val)` Deprecated.
`DateDomain(java.lang.String obj)` Deprecated.
`DateDomain(java.sql.Timestamp val)` Deprecated.

Method Summary
`boolean` | `equals(java.lang.Object obj)` Deprecated.
`java.lang.Object` | `getData()` Deprecated. Internal: Applications should not use this method.
`int` | `hashCode()` Deprecated.
`void` | `setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx)` Deprecated. Internal: Applications should not use this method.
`java.lang.String` | `toString()` Deprecated.

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### DateDomain

    public DateDomain()

  Deprecated.

### DateDomain

    public DateDomain(java.sql.Date val)
               throws DomainValidationException

  Deprecated.

### DateDomain

    public DateDomain(java.sql.Timestamp val)
               throws DomainValidationException

  Deprecated.

### DateDomain

    public DateDomain(java.lang.String obj)
               throws DomainValidationException

  Deprecated.

Method Detail

### getData

    public java.lang.Object getData()

  Deprecated.
  Description copied from interface: DomainInterface
  Internal: Applications should not use this method.

  Returns the value in the format that is acceptable to the database.

  For domain classes based on `oracle.sql.*` classes, this method returns a `Datum` object. For domains based on `java.lang` types such as `String`, the value-holder object that is passed to JDBC is returned.

  Specified by:
    getData in interface DomainInterface
  Tags copied from interface: DomainInterface
  Returns:
    a formatted value object.

### setContext

    public void setContext(DomainOwnerInterface owner,
                           Transaction trans,
                           java.lang.Object ctx)

  Deprecated.
  Description copied from interface: DomainInterface
  Internal: Applications should not use this method.
  Specified by:
    setContext in interface DomainInterface

### toString

    public java.lang.String toString()

  Deprecated.
  Overrides:
    toString in class java.lang.Object

### equals

    public boolean equals(java.lang.Object obj)

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

### hashCode

    public int hashCode()

  Deprecated.
  Overrides:
    hashCode in class java.lang.Object

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Business Components
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD