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

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

public class Method
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for Method complex type.

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

 <complexType name="Method">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="parameter" type="{http://resources.introspection.remote.frascati.ow2.org}Parameter" maxOccurs="unbounded" minOccurs="0"/>
         <element name="intent" type="{http://resources.introspection.remote.frascati.ow2.org}Component" maxOccurs="unbounded" minOccurs="0"/>
         <element name="exception" type="{http://www.eclipse.org/emf/2002/Ecore}EString" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="result" type="{http://www.eclipse.org/emf/2002/Ecore}EString" />
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<String> exceptions
           
protected  List<Component> intents
           
protected  String name
           
protected  List<Parameter> parameters
           
protected  String result
           
 
Constructor Summary
Method()
           
 
Method Summary
 List<String> getExceptions()
          Gets the value of the exceptions property.
 List<Component> getIntents()
          Gets the value of the intents property.
 String getName()
          Gets the value of the name property.
 List<Parameter> getParameters()
          Gets the value of the parameters property.
 String getResult()
          Gets the value of the result property.
 void setName(String value)
          Sets the value of the name property.
 void setResult(String value)
          Sets the value of the result property.
 String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parameters

protected List<Parameter> parameters

intents

protected List<Component> intents

exceptions

protected List<String> exceptions

result

protected String result

name

protected String name
Constructor Detail

Method

public Method()
Method Detail

getParameters

public List<Parameter> getParameters()
Gets the value of the parameters 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 parameters property.

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

    getParameters().add(newItem);
 

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


getIntents

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

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

    getIntents().add(newItem);
 

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


getExceptions

public List<String> getExceptions()
Gets the value of the exceptions 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 exceptions property.

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

    getExceptions().add(newItem);
 

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


getResult

public String getResult()
Gets the value of the result property.

Returns:
possible object is String

setResult

public void setResult(String value)
Sets the value of the result property.

Parameters:
value - allowed object is String

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name 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

toString

public String toString()
Overrides:
toString in class Object


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