Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.patterns.uaWebService.types
Class ServiceMessage

java.lang.Object
  extended by oracle.apps.fnd.applcore.patterns.uaWebService.types.ServiceMessage
Direct Known Subclasses:
ServiceErrorMessage

public class ServiceMessage
extends java.lang.Object

Java class for ServiceMessage complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ServiceMessage">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="code" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="severity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="detail" type="{http://xmlns.oracle.com/adf/svc/errors/}ServiceMessage" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String code
           
protected  java.util.List<ServiceMessage> detail
           
protected  java.lang.String message
           
protected  java.lang.String severity
           
 
Constructor Summary
ServiceMessage()
           
 
Method Summary
 java.lang.String getCode()
          Gets the value of the code property.
 java.util.List<ServiceMessage> getDetail()
          Gets the value of the detail property.
 java.lang.String getMessage()
          Gets the value of the message property.
 java.lang.String getSeverity()
          Gets the value of the severity property.
 void setCode(java.lang.String value)
          Sets the value of the code property.
 void setMessage(java.lang.String value)
          Sets the value of the message property.
 void setSeverity(java.lang.String value)
          Sets the value of the severity property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code

protected java.lang.String code

message

protected java.lang.String message

severity

protected java.lang.String severity

detail

protected java.util.List<ServiceMessage> detail
Constructor Detail

ServiceMessage

public ServiceMessage()
Method Detail

getCode

public java.lang.String getCode()
Gets the value of the code property.

Returns:
possible object is String

setCode

public void setCode(java.lang.String value)
Sets the value of the code property.

Parameters:
value - allowed object is String

getMessage

public java.lang.String getMessage()
Gets the value of the message property.

Returns:
possible object is String

setMessage

public void setMessage(java.lang.String value)
Sets the value of the message property.

Parameters:
value - allowed object is String

getSeverity

public java.lang.String getSeverity()
Gets the value of the severity property.

Returns:
possible object is String

setSeverity

public void setSeverity(java.lang.String value)
Sets the value of the severity property.

Parameters:
value - allowed object is String

getDetail

public java.util.List<ServiceMessage> getDetail()
Gets the value of the detail property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the detail property.

For example, to add a new item, do as follows:

    getDetail().add(newItem);
 

Objects of the following type(s) are allowed in the list ServiceMessage


Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.