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

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

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

Java class for Port complex type.

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

 <complexType name="Port">
   <complexContent>
     <extension base="{http://resources.introspection.remote.frascati.ow2.org}Node">
       <sequence>
         <element name="bindings" type="{http://resources.introspection.remote.frascati.ow2.org}Binding" maxOccurs="unbounded" minOccurs="0"/>
         <element name="implementedInterface" type="{http://resources.introspection.remote.frascati.ow2.org}Interface"/>
       </sequence>
       <attribute name="wiredTo" type="{http://www.eclipse.org/emf/2002/Ecore}EString" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Binding> bindings
           
protected  Interface implementedInterface
           
protected  String wiredTo
           
 
Fields inherited from class org.ow2.frascati.remote.introspection.resources.Node
name
 
Constructor Summary
Port()
           
 
Method Summary
 List<Binding> getBindings()
          Gets the value of the bindings property.
 Interface getImplementedInterface()
          Gets the value of the implementedInterface property.
 String getWiredTo()
          Gets the value of the wiredTo property.
 void setImplementedInterface(Interface value)
          Sets the value of the implementedInterface property.
 void setWiredTo(String value)
          Sets the value of the wiredTo 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

bindings

protected List<Binding> bindings

implementedInterface

protected Interface implementedInterface

wiredTo

protected String wiredTo
Constructor Detail

Port

public Port()
Method Detail

getBindings

public List<Binding> getBindings()
Gets the value of the bindings 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 bindings property.

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

    getBindings().add(newItem);
 

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


getImplementedInterface

public Interface getImplementedInterface()
Gets the value of the implementedInterface property.

Returns:
possible object is Interface

setImplementedInterface

public void setImplementedInterface(Interface value)
Sets the value of the implementedInterface property.

Parameters:
value - allowed object is Interface

getWiredTo

public String getWiredTo()
Gets the value of the wiredTo property.

Returns:
possible object is String

setWiredTo

public void setWiredTo(String value)
Sets the value of the wiredTo property.

Parameters:
value - allowed object is String

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.