Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


javax.ide.model.java.declaration
Interface PackageD

All Superinterfaces:
Declaration, HasAnnotationsD, HasNameD

public interface PackageD
extends Declaration, HasNameD, HasAnnotationsD

Represents a package.


Nested Class Summary

 

Nested classes/interfaces inherited from interface javax.ide.model.java.declaration.Declaration
Declaration.DeclarationKind

 

Method Summary
 java.util.Collection getClasses()
          Gets all known top-level classes in this package.
 PackageD getPackage(java.lang.String name)
          Gets the first matching package, null if none.
 java.util.Collection getPackages()
          Gets all known subpackages.
 java.lang.String getQualifiedName()
          Gets the fully qualified package name.

 

Methods inherited from interface javax.ide.model.java.declaration.HasNameD
getName

 

Methods inherited from interface javax.ide.model.java.declaration.HasAnnotationsD
getAnnotations

 

Methods inherited from interface javax.ide.model.java.declaration.Declaration
getDeclarationKind, getPosition, isSynthetic

 

Method Detail

getQualifiedName

java.lang.String getQualifiedName()
Gets the fully qualified package name.
Returns:
The fully qualified package name.

getPackages

java.util.Collection getPackages()
Gets all known subpackages.
Returns:
The collection of package declarations for all known subpackages.

Collection of PackageDs.


getPackage

PackageD getPackage(java.lang.String name)
Gets the first matching package, null if none.
Returns:
The package declaration for the first matching package.

getClasses

java.util.Collection getClasses()
Gets all known top-level classes in this package.
Returns:
The collection of class declarations for all known top-level classes in this package.

Collection of ClassDs.


Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


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