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:
- Comparable<SourceCode.Element<SourceCode.Field>>
- Enclosing class:
- SourceCode
public class SourceCode.Field
- extends SourceCode.Element<SourceCode.Field>
Represents field declaration.
isTransient
protected boolean isTransient
isVolatile
protected boolean isVolatile
SourceCode.Field
SourceCode.Field(SourceCode.Class owner,
String name,
org.apache.openjpa.persistence.util.SourceCode.ClassName type)
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 String toString()
- Overrides:
toString
in class Object
write
public void write(PrintWriter out,
int tab)
- Overrides:
write
in class SourceCode.Element<SourceCode.Field>
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.