Package com.pnfsoftware.jeb.core.units
Class UnitChangeEventData
java.lang.Object
com.pnfsoftware.jeb.core.units.UnitChangeEventData
Specific data related to a
J.UnitChange change event issued by a unit.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionAdditional attributes.static final intthis type indicates that new code items were added to the unit.static final intUnit comment update.static final intthis type indicates that the target object was converted.static final intPackage creation.static final intUnit label update.Optional location associated with the change.static final intUnit move.static final intUnit name update.static final intgeneric change type for non-structural (superficial) changes.Previous value.static final intgeneric change type for structural changes (the target object's internal details have substantially changed).Target object.intChange type.New value. -
Constructor Summary
ConstructorsConstructorDescriptionUnitChangeEventData(int type, Object target) Create event data.UnitChangeEventData(int type, Object target, Object value) Create event data.UnitChangeEventData(int type, Object target, Object value, Object previousValue) Create event data.UnitChangeEventData(int type, Object target, Object value, Object previousValue, Object location) Create event data. -
Method Summary
-
Field Details
-
NameUpdate
public static final int NameUpdateUnit name update.- See Also:
-
LabelUpdate
public static final int LabelUpdateUnit label update.- See Also:
-
CommentUpdate
public static final int CommentUpdateUnit comment update.- See Also:
-
CreatedPackage
public static final int CreatedPackagePackage creation.- See Also:
-
MovedTo
public static final int MovedToUnit move.- See Also:
-
Conversion
public static final int Conversionthis type indicates that the target object was converted.- See Also:
-
CodeAddition
public static final int CodeAdditionthis type indicates that new code items were added to the unit.- See Also:
-
StructuralChange
public static final int StructuralChangegeneric change type for structural changes (the target object's internal details have substantially changed).- See Also:
-
NonStructuralChange
public static final int NonStructuralChangegeneric change type for non-structural (superficial) changes.- See Also:
-
type
public int typeChange type. -
target
Target object. -
value
New value. -
previousValue
Previous value. -
location
Optional location associated with the change. -
attrmap
Additional attributes.
-
-
Constructor Details
-
UnitChangeEventData
Create event data.- Parameters:
type- change typetarget- target object
-
UnitChangeEventData
Create event data.- Parameters:
type- change typetarget- target objectvalue- new value
-
UnitChangeEventData
Create event data.- Parameters:
type- change typetarget- target objectvalue- new valuepreviousValue- previous value
-
UnitChangeEventData
public UnitChangeEventData(int type, Object target, Object value, Object previousValue, Object location) Create event data.- Parameters:
type- change typetarget- target objectvalue- new valuepreviousValue- previous valuelocation- optional location
-
-
Method Details