com.ibm.ram.internal.jaxb
Class PolicyResult

java.lang.Object
  extended by com.ibm.ram.internal.jaxb.PolicyResult

public class PolicyResult
extends java.lang.Object

Java class for PolicyResult complex type.

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

 <complexType name="PolicyResult">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="policyConfiguration" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}PolicyConfiguration"/>
         <element name="runBy" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" minOccurs="0"/>
         <element name="runDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
         <element name="detail" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}PolicyResultDetail" maxOccurs="unbounded" minOccurs="0"/>
         <element name="customReturnCode" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}CustomReturnCode" minOccurs="0"/>
       </sequence>
       <attribute name="obsolete" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="returnCode" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}PolicyReturnCode" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  CustomReturnCode customReturnCode
           
protected  java.util.List<PolicyResultDetail> details
           
protected  java.lang.String message
           
protected  java.lang.Boolean obsolete
           
protected  PolicyConfiguration policyConfiguration
           
protected  PolicyReturnCode returnCode
           
protected  Link<User> runBy
           
protected  javax.xml.datatype.XMLGregorianCalendar runDate
           
 
Constructor Summary
PolicyResult()
           
 
Method Summary
 CustomReturnCode getCustomReturnCode()
          Gets the value of the customReturnCode property.
 java.util.List<PolicyResultDetail> getDetails()
          Gets the value of the details property.
 java.lang.String getMessage()
          Gets the value of the message property.
 PolicyConfiguration getPolicyConfiguration()
          Gets the value of the policyConfiguration property.
 PolicyReturnCode getReturnCode()
          Gets the value of the returnCode property.
 Link<User> getRunBy()
          Gets the value of the runBy property.
 javax.xml.datatype.XMLGregorianCalendar getRunDate()
          Gets the value of the runDate property.
 boolean isObsolete()
          Gets the value of the obsolete property.
 boolean isSetObsolete()
           
 void setCustomReturnCode(CustomReturnCode value)
          Sets the value of the customReturnCode property.
 void setMessage(java.lang.String value)
          Sets the value of the message property.
 void setObsolete(boolean value)
          Sets the value of the obsolete property.
 void setPolicyConfiguration(PolicyConfiguration value)
          Sets the value of the policyConfiguration property.
 void setReturnCode(PolicyReturnCode value)
          Sets the value of the returnCode property.
 void setRunBy(Link<User> value)
          Sets the value of the runBy property.
 void setRunDate(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the runDate property.
 void unsetObsolete()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

message

protected java.lang.String message

policyConfiguration

protected PolicyConfiguration policyConfiguration

runBy

protected Link<User> runBy

runDate

protected javax.xml.datatype.XMLGregorianCalendar runDate

details

protected java.util.List<PolicyResultDetail> details

customReturnCode

protected CustomReturnCode customReturnCode

obsolete

protected java.lang.Boolean obsolete

returnCode

protected PolicyReturnCode returnCode
Constructor Detail

PolicyResult

public PolicyResult()
Method Detail

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

getPolicyConfiguration

public PolicyConfiguration getPolicyConfiguration()
Gets the value of the policyConfiguration property.

Returns:
possible object is PolicyConfiguration

setPolicyConfiguration

public void setPolicyConfiguration(PolicyConfiguration value)
Sets the value of the policyConfiguration property.

Parameters:
value - allowed object is PolicyConfiguration

getRunBy

public Link<User> getRunBy()
Gets the value of the runBy property.

Returns:
possible object is Link

setRunBy

public void setRunBy(Link<User> value)
Sets the value of the runBy property.

Parameters:
value - allowed object is Link

getRunDate

public javax.xml.datatype.XMLGregorianCalendar getRunDate()
Gets the value of the runDate property.

Returns:
possible object is XMLGregorianCalendar

setRunDate

public void setRunDate(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the runDate property.

Parameters:
value - allowed object is XMLGregorianCalendar

getDetails

public java.util.List<PolicyResultDetail> getDetails()
Gets the value of the details 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 details property.

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

    getDetails().add(newItem);
 

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


getCustomReturnCode

public CustomReturnCode getCustomReturnCode()
Gets the value of the customReturnCode property.

Returns:
possible object is CustomReturnCode

setCustomReturnCode

public void setCustomReturnCode(CustomReturnCode value)
Sets the value of the customReturnCode property.

Parameters:
value - allowed object is CustomReturnCode

isObsolete

public boolean isObsolete()
Gets the value of the obsolete property.

Returns:
possible object is Boolean

setObsolete

public void setObsolete(boolean value)
Sets the value of the obsolete property.

Parameters:
value - allowed object is Boolean

isSetObsolete

public boolean isSetObsolete()

unsetObsolete

public void unsetObsolete()

getReturnCode

public PolicyReturnCode getReturnCode()
Gets the value of the returnCode property.

Returns:
possible object is PolicyReturnCode

setReturnCode

public void setReturnCode(PolicyReturnCode value)
Sets the value of the returnCode property.

Parameters:
value - allowed object is PolicyReturnCode