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()
TypedValue
getType
in interface TypedValue
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public void write(IndentationEngine pEngine, IndentationTarget pTarget) throws java.io.IOException
write
in interface IndentedObject
java.io.IOException
public boolean isNullable()
DirectAccessible
Returns whether the value is possibly null.
isNullable
in interface DirectAccessible
public void setNullable(boolean pNullable)
DirectAccessible
Sets whether the value is possibly null.
setNullable
in interface DirectAccessible