org.biomage.tools.generate_classes
Class CreateClassFile.MethodInformation

java.lang.Object
  extended by org.biomage.tools.generate_classes.CreateFile.AttrInformation
      extended by org.biomage.tools.generate_classes.CreateClassFile.MethodInformation
Enclosing class:
CreateClassFile

public class CreateClassFile.MethodInformation
extends CreateFile.AttrInformation

Description: Inner class to hold method information.


Nested Class Summary
 class CreateClassFile.MethodInformation.ParamInfo
          Description: Inner class to hold parameter information.
 
Field Summary
protected  java.util.Vector paramInfos
           
protected  java.lang.String postconditions
           
protected  java.lang.String preconditions
           
protected  CreateClassFile.MethodInformation.ParamInfo returnType
           
protected  java.lang.String semantics
           
 
Constructor Summary
protected CreateClassFile.MethodInformation(org.w3c.dom.Element operationElement, java.util.Map id2classes, java.util.Map id2dataType, java.util.Map id2packages, java.util.Map id2extInfo)
          Description: C'tor for class.
 
Method Summary
 java.lang.String getComment()
          Description: Get method for the comment.
 java.lang.String getName()
          Description: Get method for the name.
 java.util.Vector getParamInfos()
          Description: Get method for the parameters.
 java.lang.String getPostconditions()
          Description: Get method for the postconditions.
 java.lang.String getPreconditions()
          Description: Get method for the preconditions.
 CreateClassFile.MethodInformation.ParamInfo getReturnType()
          Description: Get method for the returnType.
 java.lang.String getSemantics()
          Description: Get method for the semantics.
 
Methods inherited from class org.biomage.tools.generate_classes.CreateFile.AttrInformation
getDatatype, getEnumValues, getScope, initialize, isEnum
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

semantics

protected java.lang.String semantics

returnType

protected CreateClassFile.MethodInformation.ParamInfo returnType

paramInfos

protected java.util.Vector paramInfos

preconditions

protected java.lang.String preconditions

postconditions

protected java.lang.String postconditions
Constructor Detail

CreateClassFile.MethodInformation

protected CreateClassFile.MethodInformation(org.w3c.dom.Element operationElement,
                                            java.util.Map id2classes,
                                            java.util.Map id2dataType,
                                            java.util.Map id2packages,
                                            java.util.Map id2extInfo)
                                     throws java.lang.Exception
Description: C'tor for class.

Parameters:
operationNode: - the node to get the information on the method.
id2classes: - map to the classes for information for parameters.
id2dataType: - map to the datatypes for parameters.
id2packages: - map to the packages for import information.
id2extInfo: - map to the comments.

Throws:
java.lang.Exception
Method Detail

getName

public java.lang.String getName()
Description: Get method for the name.

Overrides:
getName in class CreateFile.AttrInformation
Returns:
the name.


getComment

public java.lang.String getComment()
Description: Get method for the comment.

Overrides:
getComment in class CreateFile.AttrInformation
Returns:
the comment.


getReturnType

public CreateClassFile.MethodInformation.ParamInfo getReturnType()
Description: Get method for the returnType.

Returns:
the returnType.


getSemantics

public java.lang.String getSemantics()
Description: Get method for the semantics.

Returns:
the semantics.


getParamInfos

public java.util.Vector getParamInfos()
Description: Get method for the parameters.

Returns:
the parameters.


getPreconditions

public java.lang.String getPreconditions()
Description: Get method for the preconditions.

Returns:
the preconditions.


getPostconditions

public java.lang.String getPostconditions()
Description: Get method for the postconditions.

Returns:
the postconditions.