Class SourceCode.Field
java.lang.Object
org.apache.openjpa.persistence.util.SourceCode.Element<SourceCode.Field>
org.apache.openjpa.persistence.util.SourceCode.Field
- All Implemented Interfaces:
Comparable<SourceCode.Element<SourceCode.Field>>
- Enclosing class:
- SourceCode
Represents field declaration.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
Adds bean-style getter setter method.toString()
void
write
(PrintWriter out, int tab) Methods inherited from class org.apache.openjpa.persistence.util.SourceCode.Element
addAnnotation, addComment, addParameter, compareTo, getType, makeFinal, makePrivate, makeProtected, makePublic, makeStatic
-
Field Details
-
isTransient
protected boolean isTransient -
isVolatile
protected boolean isVolatile
-
-
Method Details
-
markAsBean
Adds bean-style getter setter method. -
addGetter
-
addSetter
-
makeVolatile
public void makeVolatile() -
makeTransient
public void makeTransient() -
toString
-
write
- Overrides:
write
in classSourceCode.Element<SourceCode.Field>
-
equals
-