org.ow2.util.plan.bindings.deploymentplan
Class DeploymentPlan

java.lang.Object
  extended by org.ow2.util.plan.bindings.deploymentplan.DeploymentPlan
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ExtendedDeploymentPlan

public class DeploymentPlan
extends Object
implements Serializable

Java class for deployment-planType complex type.

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

 <complexType name="deployment-planType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="deployment" type="{http://jonas.ow2.org/ns/deployment-plan/1.0}deploymentType" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="atomic" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="condition" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Boolean atomic
           
protected  String condition
           
protected  List<Deployment> deployments
           
protected  String id
           
 
Constructor Summary
DeploymentPlan()
           
 
Method Summary
 String getCondition()
          Gets the value of the condition property.
 List<Deployment> getDeployments()
          Gets the value of the deployments property.
 String getId()
          Gets the value of the id property.
 boolean isAtomic()
          Gets the value of the atomic property.
 void setAtomic(Boolean value)
          Sets the value of the atomic property.
 void setCondition(String value)
          Sets the value of the condition property.
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deployments

protected List<Deployment> deployments

id

protected String id

atomic

protected Boolean atomic

condition

protected String condition
Constructor Detail

DeploymentPlan

public DeploymentPlan()
Method Detail

getDeployments

public List<Deployment> getDeployments()
Gets the value of the deployments 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 deployments property.

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

    getDeployments().add(newItem);
 

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


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

isAtomic

public boolean isAtomic()
Gets the value of the atomic property.

Returns:
possible object is Boolean

setAtomic

public void setAtomic(Boolean value)
Sets the value of the atomic property.

Parameters:
value - allowed object is Boolean

getCondition

public String getCondition()
Gets the value of the condition property.

Returns:
possible object is String

setCondition

public void setCondition(String value)
Sets the value of the condition property.

Parameters:
value - allowed object is String


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.