|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.avalara.avatax.services.tax.SeverityLevel
public class SeverityLevel
Severity of the result Message
.
Example: [Java] if (getTaxResult.getResultCode().equals(SeverityLevel.Success)) { Message[] messages = getTaxResult.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()); } }
Field Summary | |
---|---|
static SeverityLevel |
Error
Errors occured, operation failed. |
static SeverityLevel |
Exception
Unexpected exceptions occurred, operation failed. |
static SeverityLevel |
Success
Operation succeeded. |
static SeverityLevel |
Warning
Warnings occured, operation succeeded. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified Object is equal to the current Object. |
static SeverityLevel |
fromString(java.lang.String value)
|
static SeverityLevel |
fromValue(java.lang.String value)
|
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. |
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. |
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. |
java.lang.String |
getValue()
|
int |
hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
java.lang.Object |
readResolve()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final SeverityLevel Success
public static final SeverityLevel Warning
public static final SeverityLevel Error
public static final SeverityLevel Exception
Method Detail |
---|
public java.lang.String getValue()
public static SeverityLevel fromValue(java.lang.String value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static SeverityLevel fromString(java.lang.String value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object readResolve() throws java.io.ObjectStreamException
java.io.ObjectStreamException
public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
mechType
- _javaType
- _xmlType
-
public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
mechType
- _javaType
- _xmlType
-
public static org.apache.axis.description.TypeDesc getTypeDesc()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |