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

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

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

Java class for Interface complex type.

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

 <complexType name="Interface">
   <complexContent>
     <extension base="{http://resources.introspection.remote.frascati.ow2.org}Node">
       <sequence>
         <element name="method" type="{http://resources.introspection.remote.frascati.ow2.org}Method" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="clazz" use="required" type="{http://www.eclipse.org/emf/2002/Ecore}EString" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String clazz
           
protected  List<Method> methods
           
 
Fields inherited from class org.ow2.frascati.remote.introspection.resources.Node
name
 
Constructor Summary
Interface()
           
 
Method Summary
 String getClazz()
          Gets the value of the clazz property.
 List<Method> getMethods()
          Gets the value of the methods property.
 void setClazz(String value)
          Sets the value of the clazz 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

methods

protected List<Method> methods

clazz

protected String clazz
Constructor Detail

Interface

public Interface()
Method Detail

getMethods

public List<Method> getMethods()
Gets the value of the methods 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 methods property.

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

    getMethods().add(newItem);
 

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


getClazz

public String getClazz()
Gets the value of the clazz property.

Returns:
possible object is String

setClazz

public void setClazz(String value)
Sets the value of the clazz 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.