|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.project.validator.ValidationInfo
public class ValidationInfo
ValidationInfo encapsulates information about a single node validation on the project tree.
Field Summary | |
---|---|
static int |
ERROR
|
protected String |
message
|
protected ProjectPath |
path
|
protected int |
severity
|
static int |
VALID
|
static int |
WARNING
|
Constructor Summary | |
---|---|
ValidationInfo(int severity,
String message,
ProjectPath path)
Constructor for ValidationInfo. |
Method Summary | |
---|---|
String |
getMessage()
Returns the message. |
ProjectPath |
getPath()
Returns the ProjectPath object identifing a location described by this ValidationInfo. |
int |
getSeverity()
Returns the severity. |
Object |
getValidatedObject()
|
Object |
getValidatedObjectParent()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int VALID
public static final int WARNING
public static final int ERROR
protected ProjectPath path
protected String message
protected int severity
Constructor Detail |
---|
public ValidationInfo(int severity, String message, ProjectPath path)
Method Detail |
---|
public Object getValidatedObject()
public Object getValidatedObjectParent()
public String toString()
toString
in class Object
public String getMessage()
public int getSeverity()
public ProjectPath getPath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |