org.apache.ws.jaxme.js
Class Parameter

java.lang.Object
  extended by org.apache.ws.jaxme.js.Parameter
All Implemented Interfaces:
DirectAccessible, IndentedObject, TypedValue

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()
          Returns the objects type.
 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()
Description copied from interface: TypedValue
Returns the objects type.

Specified by:
getType in interface TypedValue

getName

public java.lang.String getName()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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