public class SourceCode.Field extends SourceCode.Element<SourceCode.Field>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isTransient |
protected boolean |
isVolatile |
| Constructor and Description |
|---|
SourceCode.Field(SourceCode.Class owner,
java.lang.String name,
org.apache.openjpa.persistence.util.SourceCode.ClassName type) |
| 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, makeStaticSourceCode.Field(SourceCode.Class owner, java.lang.String name, org.apache.openjpa.persistence.util.SourceCode.ClassName type)
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.Objectpublic 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.ObjectCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.