org.apache.ws.jaxme.js

Class JavaField

public class JavaField extends JavaSourceObject implements DirectAccessible

Implements a field that a java class or interface may have.

Author: Jochen Wiedmann

Method Summary
booleanisNullable()
booleanisTransient()

Returns whether the field is transient.

voidsetNullable(boolean pNullable)
voidsetTransient(boolean pTransient)

Sets whether the field is transient.

voidsetValue(Object pValue)
voidwrite(IndentationTarget pTarget)

Returns a string representation of this field.

protected voidwriteNoEol(IndentationTarget pTarget)

Method Detail

isNullable

public boolean isNullable()

isTransient

public boolean isTransient()

Returns whether the field is transient. By default it isn't.

setNullable

public void setNullable(boolean pNullable)

setTransient

public void setTransient(boolean pTransient)

Sets whether the field is transient. By default it isn't.

setValue

public void setValue(Object pValue)

write

public void write(IndentationTarget pTarget)

Returns a string representation of this field.

writeNoEol

protected void writeNoEol(IndentationTarget pTarget)