Package com.scene7.ipsapi.common
Class IpsApiFault
java.lang.Object
com.scene7.ipsapi.common.IpsApiFault
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="code" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="reason" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
<anyAttribute processContents='lax' namespace='##other'/>
</restriction>
</complexContent>
</complexType>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCode()Gets the value of the code property.Gets a map that contains attributes that aren't bound to any typed property on this class.Gets the value of the reason property.voidsetCode(int value) Sets the value of the code property.voidSets the value of the reason property.
-
Constructor Details
-
IpsApiFault
public IpsApiFault()
-
-
Method Details
-
getCode
public int getCode()Gets the value of the code property. -
setCode
public void setCode(int value) Sets the value of the code property. -
getReason
Gets the value of the reason property.- Returns:
- possible object is
String
-
setReason
Sets the value of the reason property.- Parameters:
value- allowed object isString
-
getOtherAttributes
Gets a map that contains attributes that aren't bound to any typed property on this class.the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
- Returns:
- always non-null
-