public class Parameter extends java.lang.Object implements DirectAccessible, IndentedObject
A parameter, as used by JavaMethod,
or JavaConstructor.
| Constructor and Description |
|---|
Parameter(JavaQName pType,
java.lang.String pName) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public Parameter(JavaQName pType, java.lang.String pName)
public JavaQName getType()
TypedValuegetType in interface TypedValuepublic java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Objectpublic void write(IndentationEngine pEngine, IndentationTarget pTarget) throws java.io.IOException
write in interface IndentedObjectjava.io.IOExceptionpublic boolean isNullable()
DirectAccessibleReturns whether the value is possibly null.
isNullable in interface DirectAccessiblepublic void setNullable(boolean pNullable)
DirectAccessibleSets whether the value is possibly null.
setNullable in interface DirectAccessible