|
|||||||||
| Home >> All >> org >> objectstyle >> cayenne >> project >> [ validator overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.objectstyle.cayenne.project.validator
Class ValidationInfo

java.lang.Objectorg.objectstyle.cayenne.project.validator.ValidationInfo
- public class ValidationInfo
- extends java.lang.Object
ValidationInfo encapsulates information about a single node validation on the project tree.
| Field Summary | |
static int |
ERROR
|
protected java.lang.String |
message
|
protected org.objectstyle.cayenne.project.ProjectPath |
path
|
protected int |
severity
|
static int |
VALID
|
static int |
WARNING
|
| Constructor Summary | |
ValidationInfo(int severity,
java.lang.String message,
org.objectstyle.cayenne.project.ProjectPath path)
Constructor for ValidationInfo. |
|
| Method Summary | |
java.lang.String |
getMessage()
Returns the message. |
org.objectstyle.cayenne.project.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()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
VALID
public static final int VALID
- See Also:
- Constant Field Values
WARNING
public static final int WARNING
- See Also:
- Constant Field Values
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
path
protected org.objectstyle.cayenne.project.ProjectPath path
message
protected java.lang.String message
severity
protected int severity
| Constructor Detail |
ValidationInfo
public ValidationInfo(int severity,
java.lang.String message,
org.objectstyle.cayenne.project.ProjectPath path)
- Constructor for ValidationInfo.
| Method Detail |
getValidatedObject
public java.lang.Object getValidatedObject()
getValidatedObjectParent
public java.lang.Object getValidatedObjectParent()
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
getMessage
public java.lang.String getMessage()
- Returns the message.
getSeverity
public int getSeverity()
- Returns the severity.
getPath
public org.objectstyle.cayenne.project.ProjectPath getPath()
- Returns the ProjectPath object identifing a location
described by this ValidationInfo.
|
|||||||||
| Home >> All >> org >> objectstyle >> cayenne >> project >> [ validator overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.objectstyle.cayenne.project.validator.ValidationInfo