|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.chaperon.model.Violation
This class represents a violation, which occurs during during the validation of the model.
Constructor Summary | |
Violation(java.lang.String message,
java.lang.String location)
Create a new violation. |
Method Summary | |
java.lang.String |
getLocation()
The location of the part from the model. |
java.lang.String |
getMessage()
Return the message of the violation. |
java.lang.String |
toString()
Return the string representation of the violation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Violation(java.lang.String message, java.lang.String location)
message
- Message of the violation.location
- Location of the part from the model.Method Detail |
public java.lang.String getMessage()
public java.lang.String getLocation()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |