org.apache.openjpa.persistence.util
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:
- java.lang.Comparable<SourceCode.Element<SourceCode.Field>>
- Enclosing class:
- SourceCode
public class SourceCode.Field
- extends SourceCode.Element<SourceCode.Field>
Represents field declaration.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
isTransient
protected boolean isTransient
isVolatile
protected boolean isVolatile
markAsBean
public SourceCode.Field markAsBean()
- Adds bean-style getter setter method.
addGetter
public SourceCode.Field addGetter()
addSetter
public SourceCode.Field addSetter()
makeVolatile
public void makeVolatile()
makeTransient
public void makeTransient()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
write
public void write(java.io.PrintWriter out,
int tab)
- Overrides:
write
in class SourceCode.Element<SourceCode.Field>
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object