# Interface: com.pnfsoftware.jeb.core.units.code.ICodePackage

Abstraction for a code package \(or namespace\). A package contains other packages, types, classes, and methods.

## Method: getChildren
- return type: `java.util.List<? extends com.pnfsoftware.jeb.core.units.code.ICodeItem>`

Description: Get all the \(direct\) children of this package, including other packages.
return: direct children

## Method: getChildrenPackages
- return type: `java.util.List<? extends com.pnfsoftware.jeb.core.units.code.ICodePackage>`

Description: Get the list of \(direct\) children packages. This method is a convenience method; [#getChildren()](#getChildren()) could be used to retrieve all children, including children packages.
return: direct child packages

## Method: getParentPackage
- return type: `com.pnfsoftware.jeb.core.units.code.ICodePackage`

Description: Get the parent of this package.
return: parent package, or null

## Method: isRootPackage
- return type: `boolean`

Description: Determine if this package is the \(or a\) root package.
return: true if this package is a root package

