Package org.jboss.jca.validator
Class Failure
- java.lang.Object
-
- org.jboss.jca.validator.Failure
-
- All Implemented Interfaces:
Serializable
public class Failure extends Object implements Serializable
Failure- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasText(ResourceBundle rb)As textStringasXML(ResourceBundle rb)As XMLbooleanequals(Object obj)StringgetCode()Get the codeStringgetDescription()Get the descriptionStringgetSection()Get the sectionintgetSeverity()Get the severityinthashCode()StringtoString()
-
-
-
Method Detail
-
getSeverity
public int getSeverity()
Get the severity- Returns:
- The severity
-
getSection
public String getSection()
Get the section- Returns:
- The section
-
getDescription
public String getDescription()
Get the description- Returns:
- The description
-
getCode
public String getCode()
Get the code- Returns:
- The code
-
asText
public String asText(ResourceBundle rb)
As text- Parameters:
rb- The resource bundle- Returns:
- The text representation
-
asXML
public String asXML(ResourceBundle rb)
As XML- Parameters:
rb- The resource bundle- Returns:
- The XML representation
-
hashCode
public int hashCode()
- Overrides:
hashCodein classObject- See Also:
Object.hashCode()
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classObject- See Also:
Object.equals(java.lang.Object)
-
toString
public String toString()
- Overrides:
toStringin classObject- See Also:
Object.toString()
-
-