|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fulcrum.intake.xmlmodel.Rule
public class 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 |
String |
getMessage()
Get the error message |
String |
getName()
Get the name of the parameter |
String |
getValue()
Get the value of the parameter |
void |
loadFromXML(Attributes attrib)
Imports a column from an XML specification |
void |
setField(XmlField parent)
Set the parent Field of the rule |
void |
setMessage(String newMessage)
Set the error message |
void |
setName(String newName)
Set the name of the parameter |
void |
setValue(String newValue)
Set the value of the parameter |
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(Attributes attrib)
public void setName(String newName)
public String getName()
getName in interface Constraintpublic void setValue(String newValue)
public String getValue()
getValue in interface Constraintpublic void setMessage(String newMessage)
public String getMessage()
getMessage in interface Constraintpublic void setField(XmlField parent)
public XmlField getField()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||