Package org.apache.fulcrum.intake.model
Class Rule
java.lang.Object
org.apache.fulcrum.intake.model.Rule
- All Implemented Interfaces:
Serializable
,Constraint
A Class for holding data about a constraint on a property.
- Version:
- $Id$
- Author:
- John McNally, Thomas Vandahl
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Rule
public Rule()
-
-
Method Details
-
getName
Get the name of the parameter- Specified by:
getName
in interfaceConstraint
- Returns:
- the constraint name
-
getValue
Get the value of the parameter- Specified by:
getValue
in interfaceConstraint
- Returns:
- the constraint value
-
getMessage
Get the error message- Specified by:
getMessage
in interfaceConstraint
- Returns:
- the constraint error message
-
toString
String representation of the column. This is an xml representation.
-