# Interface: com.pnfsoftware.jeb.core.units.code.android.dex.IDexPackage

This class represent Java packages of a Dex objects.

## Method: getName
- parameter: `effective`, type: `boolean`
- return type: `java.lang.String`

Description: Provide the package's top\-level element name. Example: if the package is "com.xyz.foo", then "foo" is returned.

## Method: setName
- parameter: `name`, type: `java.lang.String`
- return type: `boolean`

Description: Rename the top\-level element of this package. This method does not notify changes on success: it is up to the user to issue a [J#UnitChange](J#UnitChange) notification. 

 This method is for convenience only: users can always use the associated unit's `RENAME` action \(through the [executeAction](IInteractiveUnit#executeAction(com.pnfsoftware.jeb.core.actions.ActionContext, com.pnfsoftware.jeb.core.actions.IActionData)) method\) to rename an item generically.
parameter: name: simple, top\-level element package name
return: success indicator

