org.apache.openjpa.persistence.util
public class SourceCode.Field extends SourceCode.Element<SourceCode.Field>
Modifier and Type | Field and Description |
---|---|
protected boolean |
isTransient |
protected boolean |
isVolatile |
Modifier and Type | Method and Description |
---|---|
SourceCode.Field |
addGetter() |
SourceCode.Field |
addSetter() |
boolean |
equals(java.lang.Object other) |
void |
makeTransient() |
void |
makeVolatile() |
SourceCode.Field |
markAsBean()
Adds bean-style getter setter method.
|
java.lang.String |
toString() |
void |
write(java.io.PrintWriter out,
int tab) |
addAnnotation, addComment, addParameter, compareTo, getType, makeFinal, makePrivate, makeProtected, makePublic, makeStatic
public SourceCode.Field markAsBean()
public SourceCode.Field addGetter()
public SourceCode.Field addSetter()
public void makeVolatile()
public void makeTransient()
public java.lang.String toString()
toString
in class java.lang.Object
public void write(java.io.PrintWriter out, int tab)
write
in class SourceCode.Element<SourceCode.Field>
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object