org.jboss.jca.validator
Class Failure

java.lang.Object
  extended by org.jboss.jca.validator.Failure

public class Failure
extends Object

Failure


Constructor Summary
Failure(int severity, String section, String description)
          Constructor
Failure(int severity, String section, String description, String code)
          Constructor
 
Method Summary
 String asText(ResourceBundle rb)
          As text
 String asXML(ResourceBundle rb)
          As XML
 boolean equals(Object obj)
          
 String getCode()
          Get the code
 String getDescription()
          Get the description
 String getSection()
          Get the section
 int getSeverity()
          Get the severity
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Failure

public Failure(int severity,
               String section,
               String description)
Constructor

Parameters:
severity - The severity
section - The section
description - The description

Failure

public Failure(int severity,
               String section,
               String description,
               String code)
Constructor

Parameters:
severity - The severity
section - The section
description - The description
code - The code
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:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)