|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.jibx.binding.model.ValidationProblem
public class ValidationProblem
Problem reported by model validation. Provides the details for a specific problem item.
| Field Summary | |
|---|---|
static int |
ERROR_LEVEL
|
static int |
FATAL_LEVEL
|
private java.lang.Object |
m_component
Component that reported problem. |
private java.lang.String |
m_message
Supplied problem description message. |
private int |
m_severity
Problem severity level. |
static int |
WARNING_LEVEL
|
| Constructor Summary | |
|---|---|
ValidationProblem(int level,
java.lang.String msg,
java.lang.Object obj)
Full constructor. |
|
ValidationProblem(java.lang.String msg,
java.lang.Object obj)
Constructor using default (error) severity level. |
|
| Method Summary | |
|---|---|
static java.lang.String |
componentDescription(java.lang.Object obj)
Create description text for a component of a binding definition. |
java.lang.Object |
getComponent()
Get the main binding definition item for the problem. |
java.lang.String |
getDescription()
Get problem description. |
int |
getSeverity()
Get problem severity level. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int WARNING_LEVEL
public static final int ERROR_LEVEL
public static final int FATAL_LEVEL
private final int m_severity
private final java.lang.String m_message
private final java.lang.Object m_component
| Constructor Detail |
|---|
ValidationProblem(int level,
java.lang.String msg,
java.lang.Object obj)
level - severity level of problemmsg - problem descriptionobj - source object for validation error (may be null
if not specific to a particular component)
ValidationProblem(java.lang.String msg,
java.lang.Object obj)
msg - problem descriptionobj - source object for validation error| Method Detail |
|---|
public static java.lang.String componentDescription(java.lang.Object obj)
obj - binding definition component
public java.lang.Object getComponent()
public java.lang.String getDescription()
public int getSeverity()
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||