Oracle Data-aware Controls Reference

oracle.dacf.dataset
Class PackageInfo

java.lang.Object
  extended byoracle.dacf.dataset.AppModuleInfo
      extended byoracle.dacf.dataset.PackageInfo

public class PackageInfo
extends AppModuleInfo

Defines the basic information about a Java Business Objects Package.

This class is used when the DAC application will be using a predefined Java Business Objects package containing the Java Business Objects Entity Objects and Entity Associations that define the operation behavior of the application with respect to database interaction. The package does not contain either a Java Business Objects Application Module or View Objects.

The package includes an associated XML file that contains information about the objects contained by the package.

This class should not be instantiated or subclassed.

Version:
SDK

Field Summary
 
Fields inherited from class oracle.dacf.dataset.AppModuleInfo
_package
 
Constructor Summary
PackageInfo()
          Default constructor.
PackageInfo(java.lang.String pkg, java.lang.String name)
          Constructor requiring a package name and the name of an associated XML file.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Returns true if the specified PackageInfo is identical to this PackageInfo.
 java.lang.String getName()
          Gets the name of the XML file containing the package information.
 void setName(java.lang.String name)
          Specifies the name of the XML file containing the package information.
 java.lang.String toString()
          Returns the string representation of this PackageInfo.
 
Methods inherited from class oracle.dacf.dataset.AppModuleInfo
getPackage, setPackage
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PackageInfo

public PackageInfo()
Default constructor.


PackageInfo

public PackageInfo(java.lang.String pkg,
                   java.lang.String name)
Constructor requiring a package name and the name of an associated XML file.

Parameters:
pkg - the name of the package where your Java Business Objects definitions reside.
name - the name of the XML file containing the package information.
Method Detail

setName

public void setName(java.lang.String name)
Specifies the name of the XML file containing the package information.

Parameters:
name - the name of the XML file.

getName

public java.lang.String getName()
Gets the name of the XML file containing the package information.

Returns:
the name of the XML file.

equals

public boolean equals(java.lang.Object obj)
Returns true if the specified PackageInfo is identical to this PackageInfo.

Overrides:
equals in class AppModuleInfo
Parameters:
obj - the PackageInfo you want to compare.
Returns:
true if it defines the same Package; false otherwise.

toString

public java.lang.String toString()
Returns the string representation of this PackageInfo.

Specified by:
toString in class AppModuleInfo
Returns:
String conversion.

Oracle Data-aware Controls Reference

 

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