|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.turbine.services.intake.xmlmodel.Rule
A Class for holding data about a constraint on a property.
| Constructor Summary | |
Rule()
Default Constructor |
|
| Method Summary | |
XmlField |
getField()
Get the parent Field of the rule |
java.lang.String |
getMessage()
Get the error message |
java.lang.String |
getName()
Get the name of the parameter |
java.lang.String |
getValue()
Get the value of the parameter |
void |
loadFromXML(org.xml.sax.Attributes attrib)
Imports a column from an XML specification |
void |
setField(XmlField parent)
Set the parent Field of the rule |
void |
setMessage(java.lang.String newMessage)
Set the error message |
void |
setName(java.lang.String newName)
Set the name of the parameter |
void |
setValue(java.lang.String newValue)
Set the value of the parameter |
java.lang.String |
toString()
String representation of the column. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Rule()
| Method Detail |
public void loadFromXML(org.xml.sax.Attributes attrib)
public void setName(java.lang.String newName)
public java.lang.String getName()
getName in interface Constraintpublic void setValue(java.lang.String newValue)
public java.lang.String getValue()
getValue in interface Constraintpublic void setMessage(java.lang.String newMessage)
public java.lang.String getMessage()
getMessage in interface Constraintpublic void setField(XmlField parent)
public XmlField getField()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||