org.jomc.model
Class ModelObjectValidationReport.Detail

Package class diagram package ModelObjectValidationReport.Detail
java.lang.Object
  extended by org.jomc.model.ModelObjectValidationReport.Detail
All Implemented Interfaces:
Serializable
Enclosing class:
ModelObjectValidationReport

public static class ModelObjectValidationReport.Detail
extends Object
implements Serializable

Report detail.

See Also:
Serialized Form

Constructor Summary
ModelObjectValidationReport.Detail(String identifier, Level level, String message)
          Creates a new Detail taking an identifier, a level and a message.
 
Method Summary
 javax.xml.bind.JAXBElement getElement()
          Gets the JAXB element of this detail.
 String getIdentifier()
          Gets the identifier of this detail.
 Level getLevel()
          Gets the level of this detail.
 String getMessage()
          Gets the message of this detail.
 void setElement(javax.xml.bind.JAXBElement value)
          Sets the JAXB element of this detail.
 String toString()
          Creates and returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModelObjectValidationReport.Detail

public ModelObjectValidationReport.Detail(String identifier,
                                          Level level,
                                          String message)
Creates a new Detail taking an identifier, a level and a message.

Parameters:
identifier - The detail identifier.
level - The detail level.
message - The detail message.
Method Detail

getIdentifier

public String getIdentifier()
Gets the identifier of this detail.

Returns:
The identifier of this detail or null.

getLevel

public Level getLevel()
Gets the level of this detail.

Returns:
The level of this detail or null.

getMessage

public String getMessage()
Gets the message of this detail.

Returns:
The message of this detail or null.

getElement

public javax.xml.bind.JAXBElement getElement()
Gets the JAXB element of this detail.

Returns:
The JAXB element of this detail or null.

setElement

public void setElement(javax.xml.bind.JAXBElement value)
Sets the JAXB element of this detail.

Parameters:
value - The new JAXB element of this detail or null.

toString

public String toString()
Creates and returns a string representation of the object.

Overrides:
toString in class Object
Returns:
A string representation of the object.


Copyright © 2005-2009 The JOMC Project. All Rights Reserved.