# Class: com.pnfsoftware.jeb.core.units.UnitChangeEventData

Specific data related to a [J#UnitChange](J#UnitChange) change event issued by a unit.

## Constructor: UnitChangeEventData
- parameter: `type`, type: `int`
- parameter: `target`, type: `java.lang.Object`


## Constructor: UnitChangeEventData
- parameter: `type`, type: `int`
- parameter: `target`, type: `java.lang.Object`
- parameter: `value`, type: `java.lang.Object`


## Constructor: UnitChangeEventData
- parameter: `type`, type: `int`
- parameter: `target`, type: `java.lang.Object`
- parameter: `value`, type: `java.lang.Object`
- parameter: `previousValue`, type: `java.lang.Object`


## Constructor: UnitChangeEventData
- parameter: `type`, type: `int`
- parameter: `target`, type: `java.lang.Object`
- parameter: `value`, type: `java.lang.Object`
- parameter: `previousValue`, type: `java.lang.Object`
- parameter: `location`, type: `java.lang.Object`


## Field: attrmap
Type: `java.util.Map<java.lang.Object,java.lang.Object>`

## Field: location
Type: `java.lang.Object`

## Field: previousValue
Type: `java.lang.Object`

## Field: target
Type: `java.lang.Object`

## Field: type
Type: `int`

## Field: value
Type: `java.lang.Object`

## Static Field: CodeAddition
Type: `int`

Constant value: `7`
Description: this type indicates that new code items were added to the unit.

## Static Field: CommentUpdate
Type: `int`

Constant value: `3`

## Static Field: Conversion
Type: `int`

Constant value: `6`
Description: this type indicates that the target object was converted.

## Static Field: CreatedPackage
Type: `int`

Constant value: `4`

## Static Field: LabelUpdate
Type: `int`

Constant value: `2`

## Static Field: MovedTo
Type: `int`

Constant value: `5`

## Static Field: NameUpdate
Type: `int`

Constant value: `1`

## Static Field: NonStructuralChange
Type: `int`

Constant value: `9`
Description: generic change type for non\-structural \(superficial\) changes.

## Static Field: StructuralChange
Type: `int`

Constant value: `8`
Description: generic change type for structural changes \(the target object's internal details have substantially changed\).

## Method: attr
- parameter: `key`, type: `java.lang.Object`
- parameter: `value`, type: `java.lang.Object`
- return type: `com.pnfsoftware.jeb.core.units.UnitChangeEventData`


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


