org.ow2.jasmine.jadort.service.topology.xml
Class Server

java.lang.Object
  extended by org.ow2.jasmine.jadort.service.topology.xml.Server

public class Server
extends java.lang.Object

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{}URLConnector"/>
         <element ref="{}VM" minOccurs="0"/>
         <element ref="{}balancer" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{}manager" minOccurs="0"/>
         <element ref="{}target" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="capacity" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="type" use="required" type="{}serverType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<Balancer> balancer
           
protected  java.lang.Integer capacity
           
protected  Manager manager
           
protected  java.lang.String name
           
protected  Target target
           
protected  ServerType type
           
protected  URLConnector urlConnector
           
protected  VM vm
           
 
Constructor Summary
Server()
           
 
Method Summary
 java.util.List<Balancer> getBalancer()
          Gets the value of the balancer property.
 java.lang.Integer getCapacity()
          Gets the value of the capacity property.
 Manager getManager()
          Gets the value of the manager property.
 java.lang.String getName()
          Gets the value of the name property.
 Target getTarget()
          Gets the value of the target property.
 ServerType getType()
          Gets the value of the type property.
 URLConnector getURLConnector()
          Gets the value of the urlConnector property.
 VM getVM()
          Gets the value of the vm property.
 void setCapacity(java.lang.Integer value)
          Sets the value of the capacity property.
 void setManager(Manager value)
          Sets the value of the manager property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setTarget(Target value)
          Sets the value of the target property.
 void setType(ServerType value)
          Sets the value of the type property.
 void setURLConnector(URLConnector value)
          Sets the value of the urlConnector property.
 void setVM(VM value)
          Sets the value of the vm property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

urlConnector

protected URLConnector urlConnector

vm

protected VM vm

balancer

protected java.util.List<Balancer> balancer

manager

protected Manager manager

target

protected Target target

name

protected java.lang.String name

capacity

protected java.lang.Integer capacity

type

protected ServerType type
Constructor Detail

Server

public Server()
Method Detail

getURLConnector

public URLConnector getURLConnector()
Gets the value of the urlConnector property.

Returns:
possible object is URLConnector

setURLConnector

public void setURLConnector(URLConnector value)
Sets the value of the urlConnector property.

Parameters:
value - allowed object is URLConnector

getVM

public VM getVM()
Gets the value of the vm property.

Returns:
possible object is VM

setVM

public void setVM(VM value)
Sets the value of the vm property.

Parameters:
value - allowed object is VM

getBalancer

public java.util.List<Balancer> getBalancer()
Gets the value of the balancer 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 balancer property.

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

    getBalancer().add(newItem);
 

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


getManager

public Manager getManager()
Gets the value of the manager property.

Returns:
possible object is Manager

setManager

public void setManager(Manager value)
Sets the value of the manager property.

Parameters:
value - allowed object is Manager

getTarget

public Target getTarget()
Gets the value of the target property.

Returns:
possible object is Target

setTarget

public void setTarget(Target value)
Sets the value of the target property.

Parameters:
value - allowed object is Target

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

getCapacity

public java.lang.Integer getCapacity()
Gets the value of the capacity property.

Returns:
possible object is Integer

setCapacity

public void setCapacity(java.lang.Integer value)
Sets the value of the capacity property.

Parameters:
value - allowed object is Integer

getType

public ServerType getType()
Gets the value of the type property.

Returns:
possible object is ServerType

setType

public void setType(ServerType value)
Sets the value of the type property.

Parameters:
value - allowed object is ServerType


Copyright © 2009 OW2 Consortium. All Rights Reserved.