# 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`

Description: Determine whether this payload instance may be reused after [#reset()](#reset()).
return: always `true`

## 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: the original name, if known

## 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: `true` if conflict checks may be bypassed when supported

## Method: reset

Description: Reset client\-provided rename inputs and transient execution data.

## 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: original item name

