|
|||||||||
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 java.lang.String |
message
|
protected ProjectPath |
path
|
protected int |
severity
|
static int |
VALID
|
static int |
WARNING
|
Constructor Summary | |
---|---|
ValidationInfo(int severity,
java.lang.String message,
ProjectPath path)
Constructor for ValidationInfo. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns the message. |
ProjectPath |
getPath()
Returns the ProjectPath object identifing a location described by this ValidationInfo. |
int |
getSeverity()
Returns the severity. |
java.lang.Object |
getValidatedObject()
|
java.lang.Object |
getValidatedObjectParent()
|
java.lang.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 java.lang.String message
protected int severity
Constructor Detail |
---|
public ValidationInfo(int severity, java.lang.String message, ProjectPath path)
Method Detail |
---|
public java.lang.Object getValidatedObject()
public java.lang.Object getValidatedObjectParent()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getMessage()
public int getSeverity()
public ProjectPath getPath()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |