org.systinet.wasp.dd
Interface Attributes.Class.Method

Enclosing interface:
Attributes.Class

public static interface Attributes.Class.Method

This interface represents method associated with Attributes.Class.


Nested Class Summary
static interface Attributes.Class.Method.Parameter
          This interface represents parameter associated with Attributes.Class.Method.
 
Method Summary
 void addAttribute(Attributes.Class.Attribute attribute)
          Adds Attributes.Class.Attribute.
 void addParameter(Attributes.Class.Method.Parameter parameter)
          Adds Attributes.Class.Method.Parameter.
 Attributes.Class.Attribute[] getAttributes()
          Gets the array of Attributes.Class.Attribute associated with this method.
 java.lang.String getName()
          Gets the method name.
 Attributes.Class.Method.Parameter[] getParameters()
          Gets the array of Attributes.Class.Method.Parameter associated with this method.
 Attributes.Class.Attribute newAttribute()
          Creates new instance of Attributes.Class.Attribute.
 Attributes.Class.Method.Parameter newParameter()
          Creates new instance of Attributes.Class.Method.Parameter.
 void setAttributes(Attributes.Class.Attribute[] attributes)
          Sets the array of Attributes.Class.Attribute associated with this method.
 void setName(java.lang.String name)
          Sets the method name.
 void setParameters(Attributes.Class.Method.Parameter[] parameters)
          Sets the array of Attributes.Class.Method.Parameter associated with this method.
 

Method Detail

getName

public java.lang.String getName()
Gets the method name. The syntax for specifying the method name is method(VarType1,VarType2 ...) e.g. hello(java.lang.String, int[])

Returns:
the method name

setName

public void setName(java.lang.String name)
Sets the method name. The syntax for specifying the method name is method(VarType1,VarType2 ...) e.g. hello(java.lang.String, int[])

Parameters:
name - name of the method

getAttributes

public Attributes.Class.Attribute[] getAttributes()
Gets the array of Attributes.Class.Attribute associated with this method.

Returns:
the array of Attributes

setAttributes

public void setAttributes(Attributes.Class.Attribute[] attributes)
Sets the array of Attributes.Class.Attribute associated with this method.

Parameters:
attributes - the array of Attributes

newAttribute

public Attributes.Class.Attribute newAttribute()
Creates new instance of Attributes.Class.Attribute.

Returns:
new instance of Attribute

addAttribute

public void addAttribute(Attributes.Class.Attribute attribute)
Adds Attributes.Class.Attribute.

Parameters:
attribute - attribute to add

getParameters

public Attributes.Class.Method.Parameter[] getParameters()
Gets the array of Attributes.Class.Method.Parameter associated with this method.

Returns:
the array of Parameters

setParameters

public void setParameters(Attributes.Class.Method.Parameter[] parameters)
Sets the array of Attributes.Class.Method.Parameter associated with this method.

Parameters:
parameters - the array of Parameters

newParameter

public Attributes.Class.Method.Parameter newParameter()
Creates new instance of Attributes.Class.Method.Parameter.

Returns:
new instance of Parameters

addParameter

public void addParameter(Attributes.Class.Method.Parameter parameter)
Adds Attributes.Class.Method.Parameter.

Parameters:
parameter - parameter to add