org.ow2.frascati.remote.introspection.resources
Class Component

java.lang.Object
  extended by org.ow2.frascati.remote.introspection.resources.Node
      extended by org.ow2.frascati.remote.introspection.resources.Component
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class Component
extends Node
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for Component complex type.

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

 <complexType name="Component">
   <complexContent>
     <extension base="{http://resources.introspection.remote.frascati.ow2.org}Node">
       <sequence>
         <element name="component" type="{http://resources.introspection.remote.frascati.ow2.org}Component" maxOccurs="unbounded" minOccurs="0"/>
         <element name="property" type="{http://resources.introspection.remote.frascati.ow2.org}Property" maxOccurs="unbounded" minOccurs="0"/>
         <element name="reference" type="{http://resources.introspection.remote.frascati.ow2.org}Port" maxOccurs="unbounded" minOccurs="0"/>
         <element name="service" type="{http://resources.introspection.remote.frascati.ow2.org}Port" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="status" use="required" type="{http://resources.introspection.remote.frascati.ow2.org}ComponentStatus" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Component> components
           
protected  List<Property> properties
           
protected  List<Port> references
           
protected  List<Port> services
           
protected  ComponentStatus status
           
 
Fields inherited from class org.ow2.frascati.remote.introspection.resources.Node
name
 
Constructor Summary
Component()
           
 
Method Summary
 List<Component> getComponents()
          Gets the value of the components property.
 List<Property> getProperties()
          Gets the value of the properties property.
 List<Port> getReferences()
          Gets the value of the references property.
 List<Port> getServices()
          Gets the value of the services property.
 ComponentStatus getStatus()
          Gets the value of the status property.
 void setStatus(ComponentStatus value)
          Sets the value of the status property.
 String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class org.ow2.frascati.remote.introspection.resources.Node
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

components

protected List<Component> components

properties

protected List<Property> properties

references

protected List<Port> references

services

protected List<Port> services

status

protected ComponentStatus status
Constructor Detail

Component

public Component()
Method Detail

getComponents

public List<Component> getComponents()
Gets the value of the components 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 components property.

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

    getComponents().add(newItem);
 

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


getProperties

public List<Property> getProperties()
Gets the value of the properties 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 properties property.

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

    getProperties().add(newItem);
 

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


getReferences

public List<Port> getReferences()
Gets the value of the references 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 references property.

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

    getReferences().add(newItem);
 

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


getServices

public List<Port> getServices()
Gets the value of the services 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 services property.

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

    getServices().add(newItem);
 

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


getStatus

public ComponentStatus getStatus()
Gets the value of the status property.

Returns:
possible object is ComponentStatus

setStatus

public void setStatus(ComponentStatus value)
Sets the value of the status property.

Parameters:
value - allowed object is ComponentStatus

toString

public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
toString in class Node

toString

public String toString()
Overrides:
toString in class Node


Copyright © 2010-2011 OW2 Consortium. All Rights Reserved.