com.avalara.avatax.services.tax
Class Message

java.lang.Object
  extended by com.avalara.avatax.services.tax.Message
All Implemented Interfaces:
java.io.Serializable

public class Message
extends java.lang.Object
implements java.io.Serializable

Message class used in results and exceptions.

 Example:
 [Java]
  Message[] messages = taxResult.getMessages().getMessage();
  int numMessages = (messages == null ? 0 : messages.length);
  for (int i = 0; i < numMessages; i++)
  {
      Message message = messages[i];
      System.out.println("Message " + i + ":" + message.getName());
  }

 

See Also:
Serialized Form

Constructor Summary
Message()
          Initializes a new instance of the class.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Determines whether the specified Object is equal to the current Object.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Axis Custom Deserializer; this method is used internally by the adapter and not intended to be used by external implementation code.
 java.lang.String getDetails()
          Gets the details of the message.
 java.lang.String getHelpLink()
          Gets the URL to help page for this message.
 java.lang.String getName()
          Gets the name of the message.
 java.lang.String getRefersTo()
          Gets the the item the message refers to, if applicable; Used to indicate a missing or incorrect value.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Axis Custom Serializer; this method is used internally by the adapter and not intended to be used by external implementation code.
 SeverityLevel getSeverity()
          Gets the Severity Level of the message.
 java.lang.String getSource()
          Gets the source of the message.
 java.lang.String getSummary()
          Gets the concise summary of the message.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return Axis type metadata object; this method is used internally by the adapter and not intended to be used by external implementation code.
 int hashCode()
          Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
 void setDetails(java.lang.String details)
          Sets the details of the message.
 void setHelpLink(java.lang.String helpLink)
          Sets the URL to help page for this message.
 void setName(java.lang.String name)
          Sets the name of the message.
 void setRefersTo(java.lang.String refersTo)
          Sets the the item the message refers to, if applicable; Used to indicate a missing or incorrect value.
 void setSeverity(SeverityLevel severity)
          Sets the Severity Level of the message.
 void setSource(java.lang.String source)
          Sets the source of the message.
 void setSummary(java.lang.String summary)
          Sets the concise summary of the message.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Message

public Message()
Initializes a new instance of the class.

Method Detail

getSummary

public java.lang.String getSummary()
Gets the concise summary of the message.

Returns:
summary

setSummary

public void setSummary(java.lang.String summary)
Sets the concise summary of the message.

Parameters:
summary -

getDetails

public java.lang.String getDetails()
Gets the details of the message.

Returns:
details

setDetails

public void setDetails(java.lang.String details)
Sets the details of the message.

Parameters:
details -

getHelpLink

public java.lang.String getHelpLink()
Gets the URL to help page for this message.

Returns:
helpLink

setHelpLink

public void setHelpLink(java.lang.String helpLink)
Sets the URL to help page for this message.

Parameters:
helpLink -

getRefersTo

public java.lang.String getRefersTo()
Gets the the item the message refers to, if applicable; Used to indicate a missing or incorrect value.

Returns:
refersTo

setRefersTo

public void setRefersTo(java.lang.String refersTo)
Sets the the item the message refers to, if applicable; Used to indicate a missing or incorrect value.

Parameters:
refersTo -

getSeverity

public SeverityLevel getSeverity()
Gets the Severity Level of the message.

Returns:
severity

setSeverity

public void setSeverity(SeverityLevel severity)
Sets the Severity Level of the message.

Parameters:
severity -

getSource

public java.lang.String getSource()
Gets the source of the message.

Returns:
source

setSource

public void setSource(java.lang.String source)
Sets the source of the message.

Parameters:
source -

getName

public java.lang.String getName()
Gets the name of the message.

Returns:
name

setName

public void setName(java.lang.String name)
Sets the name of the message.

Parameters:
name -

equals

public boolean equals(java.lang.Object obj)
Determines whether the specified Object is equal to the current Object. Note: In current implementation all Java Strings members of the two objects must be exactly alike, including in case, for equal to return true.

Overrides:
equals in class java.lang.Object
Parameters:
obj -
Returns:
true or false, indicating if the two objects are equal.

hashCode

public int hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

Overrides:
hashCode in class java.lang.Object
Returns:
hash code for this GetTaxRequest object
See Also:
Object.hashCode()

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return Axis type metadata object; this method is used internally by the adapter and not intended to be used by external implementation code.


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Axis Custom Serializer; this method is used internally by the adapter and not intended to be used by external implementation code.


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Axis Custom Deserializer; this method is used internally by the adapter and not intended to be used by external implementation code.