Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-04

oracle.jbo.domain
Class DateDomain

java.lang.Object
  extended by oracle.jbo.domain.DateDomain
All Implemented Interfaces:
java.io.Serializable, DomainInterface

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. 
Throws:
DomainValidationException

DateDomain

public DateDomain(java.sql.Timestamp val)
           throws DomainValidationException
Deprecated. 
Throws:
DomainValidationException

DateDomain

public DateDomain(java.lang.String obj)
           throws DomainValidationException
Deprecated. 
Throws:
DomainValidationException
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. 
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

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-04

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