com.ibm.ram.internal.jaxb
Class PolicyConfiguration

java.lang.Object
  extended by com.ibm.ram.internal.jaxb.PolicyConfiguration
All Implemented Interfaces:
java.lang.Cloneable

public class PolicyConfiguration
extends java.lang.Object
implements java.lang.Cloneable

What events a policy runs on within a state.

Java class for PolicyConfiguration complex type.

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

 <complexType name="PolicyConfiguration">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
                   <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="policy" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" minOccurs="0"/>
         <element name="stateConfiguration" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link"/>
         <element name="configurationDetail" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}ConfigurationDetail" maxOccurs="unbounded" minOccurs="0"/>
         <element name="assetSaveEventConfig" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}EventConfiguration" minOccurs="0"/>
         <element name="stateEntranceEventConfig" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}EventConfiguration" minOccurs="0"/>
         <element name="timerEventConfig" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}EventConfiguration" minOccurs="0"/>
         <element name="actionEventConfig" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}EventConfiguration" minOccurs="0"/>
         <element name="deleteEventConfig" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}EventConfiguration" minOccurs="0"/>
         <element name="lastModified" type="{http://www.w3.org/2001/XMLSchema}dateTime" 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" />
       <attribute name="inherited" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  EventConfiguration actionEventConfig
           
protected  EventConfiguration assetSaveEventConfig
           
protected  java.lang.String base
           
protected  java.util.List<ConfigurationDetail> configurationDetails
           
protected  EventConfiguration deleteEventConfig
           
protected  java.lang.String etag
           
protected  java.lang.String href
           
protected  java.lang.String identifier
           
protected  java.lang.Boolean inherited
           
protected  java.lang.String lang
           
protected  javax.xml.datatype.XMLGregorianCalendar lastModified
           
protected  java.lang.String name
           
protected  Link<Policy> policy
           
protected  java.lang.String space
           
protected  Link<StateConfiguration> stateConfiguration
           
protected  EventConfiguration stateEntranceEventConfig
           
protected  EventConfiguration timerEventConfig
           
 
Constructor Summary
PolicyConfiguration()
           
 
Method Summary
 PolicyConfiguration clone()
           
 EventConfiguration getActionEventConfig()
          Gets the value of the actionEventConfig property.
 EventConfiguration getAssetSaveEventConfig()
          Gets the value of the assetSaveEventConfig property.
 java.lang.String getBase()
          Gets the value of the base property.
 java.util.List<ConfigurationDetail> getConfigurationDetails()
          Gets the value of the configurationDetails property.
 EventConfiguration getDeleteEventConfig()
          Gets the value of the deleteEventConfig property.
 java.lang.String getEtag()
          Gets the value of the etag 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.
 Link<Policy> getPolicy()
          Gets the value of the policy property.
 java.lang.String getSpace()
          Gets the value of the space property.
 Link getStateConfiguration()
          Gets the value of the stateConfiguration property.
 EventConfiguration getStateEntranceEventConfig()
          Gets the value of the stateEntranceEventConfig property.
 EventConfiguration getTimerEventConfig()
          Gets the value of the timerEventConfig property.
 boolean isInherited()
           
 void setActionEventConfig(EventConfiguration value)
          Sets the value of the actionEventConfig property.
 void setAssetSaveEventConfig(EventConfiguration value)
          Sets the value of the assetSaveEventConfig property.
 void setBase(java.lang.String value)
          Sets the value of the base property.
 void setDeleteEventConfig(EventConfiguration value)
          Sets the value of the deleteEventConfig property.
 void setEtag(java.lang.String value)
          Sets the value of the etag 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 setInherited(boolean value)
           
 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 setPolicy(Link<Policy> value)
          Sets the value of the policy property.
 void setSpace(java.lang.String value)
          Sets the value of the space property.
 void setStateConfiguration(Link<StateConfiguration> value)
          Sets the value of the stateConfiguration property.
 void setStateEntranceEventConfig(EventConfiguration value)
          Sets the value of the stateEntranceEventConfig property.
 void setTimerEventConfig(EventConfiguration value)
          Sets the value of the timerEventConfig property.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

policy

protected Link<Policy> policy

stateConfiguration

protected Link<StateConfiguration> stateConfiguration

configurationDetails

protected java.util.List<ConfigurationDetail> configurationDetails

assetSaveEventConfig

protected EventConfiguration assetSaveEventConfig

stateEntranceEventConfig

protected EventConfiguration stateEntranceEventConfig

timerEventConfig

protected EventConfiguration timerEventConfig

actionEventConfig

protected EventConfiguration actionEventConfig

deleteEventConfig

protected EventConfiguration deleteEventConfig

lastModified

protected javax.xml.datatype.XMLGregorianCalendar lastModified

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

inherited

protected java.lang.Boolean inherited
Constructor Detail

PolicyConfiguration

public PolicyConfiguration()
Since:
7.2
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

getPolicy

public Link<Policy> getPolicy()
Gets the value of the policy property.

Returns:
possible object is Link

setPolicy

public void setPolicy(Link<Policy> value)
Sets the value of the policy property.

Parameters:
value - allowed object is Link

getStateConfiguration

public Link getStateConfiguration()
Gets the value of the stateConfiguration property.

Returns:
possible object is Link

setStateConfiguration

public void setStateConfiguration(Link<StateConfiguration> value)
Sets the value of the stateConfiguration 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


getAssetSaveEventConfig

public EventConfiguration getAssetSaveEventConfig()
Gets the value of the assetSaveEventConfig property.

Returns:
possible object is EventConfiguration

setAssetSaveEventConfig

public void setAssetSaveEventConfig(EventConfiguration value)
Sets the value of the assetSaveEventConfig property.

Parameters:
value - allowed object is EventConfiguration

getStateEntranceEventConfig

public EventConfiguration getStateEntranceEventConfig()
Gets the value of the stateEntranceEventConfig property.

Returns:
possible object is EventConfiguration

setStateEntranceEventConfig

public void setStateEntranceEventConfig(EventConfiguration value)
Sets the value of the stateEntranceEventConfig property.

Parameters:
value - allowed object is EventConfiguration

getTimerEventConfig

public EventConfiguration getTimerEventConfig()
Gets the value of the timerEventConfig property.

Returns:
possible object is EventConfiguration

setTimerEventConfig

public void setTimerEventConfig(EventConfiguration value)
Sets the value of the timerEventConfig property.

Parameters:
value - allowed object is EventConfiguration

getActionEventConfig

public EventConfiguration getActionEventConfig()
Gets the value of the actionEventConfig property.

Returns:
possible object is EventConfiguration

setActionEventConfig

public void setActionEventConfig(EventConfiguration value)
Sets the value of the actionEventConfig property.

Parameters:
value - allowed object is EventConfiguration

getDeleteEventConfig

public EventConfiguration getDeleteEventConfig()
Gets the value of the deleteEventConfig property.

Returns:
possible object is EventConfiguration

setDeleteEventConfig

public void setDeleteEventConfig(EventConfiguration value)
Sets the value of the deleteEventConfig property.

Parameters:
value - allowed object is EventConfiguration

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

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

isInherited

public boolean isInherited()
Returns:
Returns the inherited.
Since:
7.5.1

setInherited

public void setInherited(boolean value)
Parameters:
inherited - The inherited to set.
Since:
7.5.1

clone

public PolicyConfiguration clone()
                          throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException
Since:
7.5.1