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

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

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

Java class for Binding complex type.

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

 <complexType name="Binding">
   <complexContent>
     <extension base="{http://resources.introspection.remote.frascati.ow2.org}Node">
       <sequence>
         <element name="attribute" type="{http://resources.introspection.remote.frascati.ow2.org}Attribute" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="kind" use="required" type="{http://resources.introspection.remote.frascati.ow2.org}BindingKind" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Attribute> attributes
           
protected  BindingKind kind
           
 
Fields inherited from class org.ow2.frascati.remote.introspection.resources.Node
name
 
Constructor Summary
Binding()
           
 
Method Summary
 List<Attribute> getAttributes()
          Gets the value of the attributes property.
 BindingKind getKind()
          Gets the value of the kind property.
 void setKind(BindingKind value)
          Sets the value of the kind 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

attributes

protected List<Attribute> attributes

kind

protected BindingKind kind
Constructor Detail

Binding

public Binding()
Method Detail

getAttributes

public List<Attribute> getAttributes()
Gets the value of the attributes 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 attributes property.

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

    getAttributes().add(newItem);
 

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


getKind

public BindingKind getKind()
Gets the value of the kind property.

Returns:
possible object is BindingKind

setKind

public void setKind(BindingKind value)
Sets the value of the kind property.

Parameters:
value - allowed object is BindingKind

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.