# Class: com.pnfsoftware.jeb.core.actions.ActionRenameData

This action class holds information for the [Actions#RENAME](Actions#RENAME) action. 

 Unit plugins may support rename actions on items to allow clients to rename those items.

## Constructor: ActionRenameData


## Static Field: ERRCODE_NAMING_CONFLICT
Type: `int`

Constant value: `1`
Description: This error code may be set by plugins if the action failed because of a naming conflict \(with naming conflict checks enforced\).

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


## Method: getCurrentName
- return type: `java.lang.String`

Description: Get the current name. This method is used by clients.
return: the current name

## Method: getNewName
- return type: `java.lang.String`

Description: Get the new name. This method is used by plugins.
return: the new name

## Method: getOriginalName
- return type: `java.lang.String`

Description: Get the original name. This method is used by clients.
return: 

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

Description: Plugins may retrieve this optional flag to determine whether naming conflict checks may be bypassed, if it is possible.
return: 

## Method: reset


## Method: setBypassNameChecks
- parameter: `bypassNameConflictChecks`, type: `boolean`

Description: Clients may set this optional flag to let the plugin know that naming conflict checks may be bypassed, if it is possible.
parameter: bypassNameConflictChecks: 

## Method: setCurrentName
- parameter: `name`, type: `java.lang.String`

Description: Set the current name. This method is used by plugins.
parameter: name: current name

## Method: setNewName
- parameter: `name`, type: `java.lang.String`

Description: Set the new name. This method is used by clients.
parameter: name: new name

## Method: setOriginalName
- parameter: `originalName`, type: `java.lang.String`

Description: Set the original name. This method is used by plugins.
parameter: originalName: 

