|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.js.IndentationEngineImpl net.sf.jaxme.js.JavaSourceObject net.sf.jaxme.js.JavaField
Implements a field that a java class or interface may have.
Field Summary |
Fields inherited from interface net.sf.jaxme.js.IndentationEngine |
NOTHING |
Method Summary | |
boolean |
isNullable()
Returns whether the value is possibly null. |
boolean |
isTransient()
Returns whether the field is transient. |
void |
setNullable(boolean pNullable)
Sets whether the value is possibly null. |
void |
setTransient(boolean pTransient)
Sets whether the field is transient. |
void |
setValue(java.lang.Object pValue)
|
void |
write(IndentationTarget pTarget)
Returns a string representation of this field. |
protected void |
writeNoEol(IndentationTarget pTarget)
|
Methods inherited from class net.sf.jaxme.js.JavaSourceObject |
getComment, getJavaSource, getName, getProtection, getType, isAbstract, isFinal, isStatic, newComment, setAbstract, setFinal, setJavaSource, setName, setProtection, setStatic, setType |
Methods inherited from class net.sf.jaxme.js.IndentationEngineImpl |
addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, asString, checkNulls, clear, getLevel, getLines, getLines, getPlaceHolder, indent, isEmpty, moveToBottom, moveToTop, newPlaceHolder, removePlaceHolder, setLevel, unindent, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void setTransient(boolean pTransient)
Sets whether the field is transient. By default it isn't.
public boolean isTransient()
Returns whether the field is transient. By default it isn't.
public void write(IndentationTarget pTarget) throws java.io.IOException
Returns a string representation of this field.
write
in interface IndentationEngine
write
in class IndentationEngineImpl
java.io.IOException
protected void writeNoEol(IndentationTarget pTarget) throws java.io.IOException
java.io.IOException
public void setValue(java.lang.Object pValue)
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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |