oracle.dacf.dataset
Class AppModuleInfo
java.lang.Object
|
+--oracle.dacf.dataset.AppModuleInfo
- Direct Known Subclasses:
- ModuleInfo, PackageInfo
- public abstract class AppModuleInfo
- extends java.lang.Object
Base helper class to specify metadata regarding the location of Java Business Objects
bussiness definitions. This class is the abstract superclass for ModuleInfo
and PackageInfo,
and contains methods for basic package information and a test for equality. This
class should not be instantiated or subclassed again because Java Business
Objects uses a module or a package. When working with packages, you are
creating views into the default Application
Module dynamically, based on the Entity Objects.
When working with modules, you are working with predefined views assigned
to a given Application Module. That Application Module is instantiated and
you use views in the context of that Application Module.
- Version:
- SDK
Field Summary |
protected java.lang.String |
_package
Field used for the name of the package where the Java Business Objects reside. |
Constructor Summary |
AppModuleInfo(java.lang.String packagedesc)
Default constructor. |
Method Summary |
boolean |
equals(java.lang.Object obj)
Returns true if the specified AppModuleInfo
is the same as this AppModuleInfo. |
java.lang.String |
getPackage()
Gets the name of the package where your Java Business Objects definitions
reside. |
void |
setPackage(java.lang.String pkg)
Specifies the name of the package where your Java Business Objects definitions
reside. |
abstract java.lang.String |
toString()
Represents this class as a string. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_package
protected java.lang.String _package
- Field used for the name of the package where the Java Business Objects reside.
AppModuleInfo
public AppModuleInfo(java.lang.String packagedesc)
- Default constructor.
- Parameters:
packageName
- the name of the package where your Java Business Objects
definitions reside.
setPackage
public void setPackage(java.lang.String pkg)
- Specifies the name of the package where your Java Business Objects definitions
reside.
- Parameters:
pkg
- the name of the package containing Java Business Objects definitions.
getPackage
public java.lang.String getPackage()
- Gets the name of the package where your Java Business Objects definitions
reside.
- Returns:
- the name of the package containing the Java Business Objects definitions.
equals
public boolean equals(java.lang.Object obj)
- Returns true if the specified AppModuleInfo
is the same as this AppModuleInfo.
- Overrides:
equals
in class java.lang.Object
- Parameters:
obj
- the AppModuleInfo you want to compare.- Returns:
- true if the names are the same; false otherwise.
toString
public abstract java.lang.String toString()
- Represents this class as a string.
- Overrides:
toString
in class java.lang.Object