com.ibm.ram.internal.jaxb
Class Policy

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

public class Policy
extends java.lang.Object

Java class for Policy complex type.

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

 <complexType name="Policy">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="governor" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" minOccurs="0"/>
         <element name="configurationDetail" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}ConfigurationDetail" maxOccurs="unbounded" minOccurs="0"/>
         <element name="lastModified" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="customReturnCode" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}CustomReturnCode" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}resourceAttrs"/>
       <attribute name="identifier" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String base
           
protected  java.util.List<ConfigurationDetail> configurationDetails
           
protected  java.util.List<CustomReturnCode> customReturnCodes
           
protected  java.lang.String description
           
protected  java.lang.String etag
           
protected  Link<PolicyGovernor> governor
           
protected  java.lang.String href
           
protected  java.lang.String identifier
           
protected  java.lang.String lang
           
protected  javax.xml.datatype.XMLGregorianCalendar lastModified
           
protected  java.lang.String name
           
protected  java.lang.String space
           
 
Constructor Summary
Policy()
           
 
Method Summary
 java.lang.String getBase()
          Gets the value of the base property.
 java.util.List<ConfigurationDetail> getConfigurationDetails()
          Gets the value of the configurationDetails property.
 java.util.List<CustomReturnCode> getCustomReturnCodes()
          Gets the value of the customReturnCodes property.
 java.lang.String getDescription()
          Gets the value of the description property.
 java.lang.String getEtag()
          Gets the value of the etag property.
 Link<PolicyGovernor> getGovernor()
          Gets the value of the governor property.
 java.lang.String getHref()
          Gets the value of the href property.
 java.lang.String getIdentifier()
          Gets the value of the identifier property.
 java.lang.String getLang()
          Gets the value of the lang property.
 javax.xml.datatype.XMLGregorianCalendar getLastModified()
          Gets the value of the lastModified property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getSpace()
          Gets the value of the space property.
 void setBase(java.lang.String value)
          Sets the value of the base property.
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setEtag(java.lang.String value)
          Sets the value of the etag property.
 void setGovernor(Link<PolicyGovernor> value)
          Sets the value of the governor property.
 void setHref(java.lang.String value)
          Sets the value of the href property.
 void setIdentifier(java.lang.String value)
          Sets the value of the identifier property.
 void setLang(java.lang.String value)
          Sets the value of the lang property.
 void setLastModified(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the lastModified property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setSpace(java.lang.String value)
          Sets the value of the space property.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

description

protected java.lang.String description

governor

protected Link<PolicyGovernor> governor

configurationDetails

protected java.util.List<ConfigurationDetail> configurationDetails

lastModified

protected javax.xml.datatype.XMLGregorianCalendar lastModified

customReturnCodes

protected java.util.List<CustomReturnCode> customReturnCodes

identifier

protected java.lang.String identifier

etag

protected java.lang.String etag

href

protected java.lang.String href

base

protected java.lang.String base

lang

protected java.lang.String lang

space

protected java.lang.String space
Constructor Detail

Policy

public Policy()
Method Detail

getName

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

Returns:
possible object is String

setName

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

Parameters:
value - allowed object is String

getDescription

public java.lang.String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(java.lang.String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getGovernor

public Link<PolicyGovernor> getGovernor()
Gets the value of the governor property.

Returns:
possible object is Link

setGovernor

public void setGovernor(Link<PolicyGovernor> value)
Sets the value of the governor property.

Parameters:
value - allowed object is Link

getConfigurationDetails

public java.util.List<ConfigurationDetail> getConfigurationDetails()
Gets the value of the configurationDetails 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 configurationDetails property.

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

    getConfigurationDetails().add(newItem);
 

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


getLastModified

public javax.xml.datatype.XMLGregorianCalendar getLastModified()
Gets the value of the lastModified property.

Returns:
possible object is XMLGregorianCalendar

setLastModified

public void setLastModified(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the lastModified property.

Parameters:
value - allowed object is XMLGregorianCalendar

getCustomReturnCodes

public java.util.List<CustomReturnCode> getCustomReturnCodes()
Gets the value of the customReturnCodes 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 customReturnCodes property.

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

    getCustomReturnCodes().add(newItem);
 

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


getIdentifier

public java.lang.String getIdentifier()
Gets the value of the identifier property.

Returns:
possible object is String

setIdentifier

public void setIdentifier(java.lang.String value)
Sets the value of the identifier property.

Parameters:
value - allowed object is String

getEtag

public java.lang.String getEtag()
Gets the value of the etag property.

Returns:
possible object is String

setEtag

public void setEtag(java.lang.String value)
Sets the value of the etag property.

Parameters:
value - allowed object is String

getHref

public java.lang.String getHref()
Gets the value of the href property.

Returns:
possible object is String

setHref

public void setHref(java.lang.String value)
Sets the value of the href property.

Parameters:
value - allowed object is String

getBase

public java.lang.String getBase()
Gets the value of the base property.

Returns:
possible object is String

setBase

public void setBase(java.lang.String value)
Sets the value of the base property.

Parameters:
value - allowed object is String

getLang

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

Returns:
possible object is String

setLang

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

Parameters:
value - allowed object is String

getSpace

public java.lang.String getSpace()
Gets the value of the space property.

Returns:
possible object is String

setSpace

public void setSpace(java.lang.String value)
Sets the value of the space property.

Parameters:
value - allowed object is String

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object