|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.meta.NonPersistentMetaData
public class NonPersistentMetaData
Metadata about a persistence-aware type.
| Field Summary | |
|---|---|
static int |
TYPE_NON_MAPPED_INTERFACE
|
static int |
TYPE_PERSISTENCE_AWARE
|
| Fields inherited from interface org.apache.openjpa.lib.meta.SourceTracker |
|---|
SRC_ANNOTATIONS, SRC_OTHER, SRC_XML |
| Fields inherited from interface org.apache.openjpa.lib.xml.Commentable |
|---|
EMPTY_COMMENTS |
| Constructor Summary | |
|---|---|
protected |
NonPersistentMetaData(java.lang.Class cls,
MetaDataRepository repos,
int type)
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
|
java.lang.String[] |
getComments()
|
java.lang.Class |
getDescribedType()
Persistence-aware type. |
int |
getListingIndex()
The index in which this class was listed in the metadata. |
MetaDataRepository |
getRepository()
Owning repository. |
java.lang.String |
getResourceName()
|
java.io.File |
getSourceFile()
|
java.lang.Object |
getSourceScope()
|
int |
getSourceType()
|
int |
getType()
The type of metadata. |
void |
setComments(java.lang.String[] comments)
|
void |
setListingIndex(int index)
The index in which this field was listed in the metadata. |
void |
setSource(java.io.File file,
int srcType)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_PERSISTENCE_AWARE
public static final int TYPE_NON_MAPPED_INTERFACE
| Constructor Detail |
|---|
protected NonPersistentMetaData(java.lang.Class cls,
MetaDataRepository repos,
int type)
| Method Detail |
|---|
public MetaDataRepository getRepository()
getRepository in interface MetaDataContextpublic java.lang.Class getDescribedType()
public int getType()
public int getListingIndex()
-1 if this class was not listed in the metadata.
public void setListingIndex(int index)
-1 if this class was not listed in the metadata.
public java.io.File getSourceFile()
getSourceFile in interface SourceTrackerpublic java.lang.Object getSourceScope()
getSourceScope in interface SourceTrackerpublic int getSourceType()
getSourceType in interface SourceTracker
public void setSource(java.io.File file,
int srcType)
public java.lang.String getResourceName()
getResourceName in interface SourceTrackerpublic java.lang.String[] getComments()
getComments in interface Commentablepublic void setComments(java.lang.String[] comments)
setComments in interface Commentablepublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||