class: ValidationReportVO

public class: ValidationReportVO
Author: Full Access
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 126 $ $LastChangedDate: 2007-11-15 11:3; Complexity: 1
Dates: Created: 16.07.2009 15:21:19; Modified: 16.07.2009 15:21:19;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {A0ECB207-BEF8-44ed-967C-DF3995E98054}
 

Goto: Custom Properties, Fields, Methods

Extends: ValueObject

See also: ValueObject, ItemInvalidException

Appears in: valueobjects

Connections
 
Custom Properties
 
ValidationReportVO Attributes
Attribute Details
private java.util.ArrayList
  items
Initial: new java.util.ArrayList()
private ArrayList
  rules
Initial: new ArrayList()
private static const long
  serialVersionUID
Initial: 1L
Notes: Fixed serialVersionUID to prevent java.io.InvalidClassExceptions like 'de.mpg.escidoc.services.common.valueobjects.ItemVO; local class incompatible: stream classdesc serialVersionUID = 8587635524303981401, local class serialVersionUID = -2285753348501257286' that occur after JiBX enhancement of VOs. Without the fixed serialVersionUID, the VOs have to be compiled twice for testing (once for the Application Server, once for the local test).
@author Johannes Mueller
private String
  validationPoint
 
ValidationReportVO Methods
Operation Details
public const
addItem(
   ValidationReportItemVO item):void
Sequential
Notes: Add a single ValidationReportItem to the items ArrayList.
public const
getItems():java.util.List
Sequential
Notes: Items-getter.
@return The validation report items as ArrayList.
public const
getRules():List
Sequential
Notes: Getter.
@return The rules list. Not used actually
public const
getValidationPoint():String
Sequential
Notes: Getter.
@return The validation point
public const
hasItems():boolean
Sequential
Notes: Helper method for JiBX transformations. This method helps JiBX to determine if a "items" XML structure has to be created during marshalling.
@return boolean true if there is at least one item stored in this report.
public const
isValid():boolean
Sequential
Notes: Returns whether the item is valid or not. If at least one restrictive rule wasn't validated, false is returned.
@return Validity of the tested item.
public const
setRules(
   List rules):void
Sequential
Notes: Setter.
public const
setValidationPoint(
   String validationPoint):void
Sequential
Notes: Setter.
public const
toString():String
Sequential
Tags: annotations=@Override
Notes: {@inheritDoc}
public
ValidationReportVO():
Sequential
Notes: Default constructor.