sos.reports
Interface ReportEvent.ElementChange

All Known Implementing Classes:
DefaultReportEvent.DefaultElementChange
Enclosing interface:
ReportEvent

public static interface ReportEvent.ElementChange

The details of how a report element changed. It includes the type of change, the child elements inserted, and the child elements deleted.

Since:
1.0

Field Summary
static int ATTRIBUTE_CHANGE
          Constant indicating an attribute's value changed.
static int ATTRIBUTE_SET_CHANGE
          Constant indicating the entire attribute set changed.
static int CONTENT_CHANGE
          Constant indicating the content changed.
static int DELETION
          Constant indicating a deletion.
static int INSERTION
          Constant indicating an insertion.
static int STRUCTURE_CHANGE
          Constant indicating a structural change.
 
Method Summary
 java.util.List getChildrenAdded()
          Returns the elements that were inserted.
 java.util.List getChildrenRemoved()
          Returns the elements that were deleted.
 int getType()
          Returns the type of this change.
 

Field Detail

INSERTION

public static final int INSERTION
Constant indicating an insertion.

See Also:
Constant Field Values

DELETION

public static final int DELETION
Constant indicating a deletion.

See Also:
Constant Field Values

STRUCTURE_CHANGE

public static final int STRUCTURE_CHANGE
Constant indicating a structural change.

See Also:
Constant Field Values

CONTENT_CHANGE

public static final int CONTENT_CHANGE
Constant indicating the content changed.

See Also:
Constant Field Values

ATTRIBUTE_CHANGE

public static final int ATTRIBUTE_CHANGE
Constant indicating an attribute's value changed.

See Also:
Constant Field Values

ATTRIBUTE_SET_CHANGE

public static final int ATTRIBUTE_SET_CHANGE
Constant indicating the entire attribute set changed.

See Also:
Constant Field Values
Method Detail

getChildrenAdded

public java.util.List getChildrenAdded()
Returns the elements that were inserted.

Returns:
the elements that were inserted

getChildrenRemoved

public java.util.List getChildrenRemoved()
Returns the elements that were deleted.

Returns:
the elements that were deleted

getType

public int getType()
Returns the type of this change.

Returns:
the type of this change, typically one of
  • INSERTION
  • DELETION
  • STRUCTURE_CHANGE
  • CONTENT_CHANGE
  • ATTRIBUTE_CHANGE
  • ATTRIBUTE_SET_CHANGE


Copyright 2003, 2004 Side of Software (SOS). All rights reserved.