net.sf.jaxme.js
Class Parameter

java.lang.Object
  extended bynet.sf.jaxme.js.Parameter
All Implemented Interfaces:
DirectAccessible, IndentedObject

public class Parameter
extends java.lang.Object
implements DirectAccessible, IndentedObject

A parameter, as used by JavaMethod, or JavaConstructor.

Author:
Jochen Wiedmann

Constructor Summary
Parameter(JavaQName pType, java.lang.String pName)
           
 
Method Summary
 java.lang.String getName()
           
 JavaQName getType()
           
 boolean isNullable()
          Returns whether the value is possibly null.
 void setNullable(boolean pNullable)
          Sets whether the value is possibly null.
 java.lang.String toString()
           
 void write(IndentationEngine pEngine, IndentationTarget pTarget)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter(JavaQName pType,
                 java.lang.String pName)
Method Detail

getType

public JavaQName getType()

getName

public java.lang.String getName()

toString

public java.lang.String toString()

write

public void write(IndentationEngine pEngine,
                  IndentationTarget pTarget)
           throws java.io.IOException
Specified by:
write in interface IndentedObject
Throws:
java.io.IOException

isNullable

public boolean isNullable()
Description copied from interface: DirectAccessible

Returns whether the value is possibly null.

Specified by:
isNullable in interface DirectAccessible

setNullable

public void setNullable(boolean pNullable)
Description copied from interface: DirectAccessible

Sets whether the value is possibly null.

Specified by:
setNullable in interface DirectAccessible