Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02


oracle.jbo.domain
Class DateDomain

java.lang.Object
  extended byoracle.jbo.domain.DateDomain

All Implemented Interfaces:
DomainInterface, java.io.Serializable

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
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.

equals

public boolean equals(java.lang.Object obj)
Deprecated.

hashCode

public int hashCode()
Deprecated.

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02


Copyright © 1997, 2005, Oracle. All rights reserved.