public class NonPersistentMetaData extends Object implements Comparable, SourceTracker, Commentable, MetaDataContext, Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_NON_MAPPED_INTERFACE |
static int |
TYPE_PERSISTENCE_AWARE |
SRC_ANNOTATIONS, SRC_OTHER, SRC_XMLEMPTY_COMMENTS| Modifier | Constructor and Description |
|---|---|
protected |
NonPersistentMetaData(Class cls,
MetaDataRepository repos,
int type) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
int |
getColNumber() |
String[] |
getComments() |
Class |
getDescribedType()
Persistence-aware type.
|
int |
getLineNumber() |
int |
getListingIndex()
The index in which this class was listed in the metadata.
|
MetaDataRepository |
getRepository()
Owning repository.
|
String |
getResourceName() |
File |
getSourceFile() |
Object |
getSourceScope() |
int |
getSourceType() |
int |
getType()
The type of metadata.
|
void |
setColNumber(int colNum) |
void |
setComments(String[] comments) |
void |
setLineNumber(int lineNum) |
void |
setListingIndex(int index)
The index in which this field was listed in the metadata.
|
void |
setSource(File file,
int srcType) |
public static final int TYPE_PERSISTENCE_AWARE
public static final int TYPE_NON_MAPPED_INTERFACE
protected NonPersistentMetaData(Class cls, MetaDataRepository repos, int type)
public MetaDataRepository getRepository()
getRepository in interface MetaDataContextpublic 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 File getSourceFile()
getSourceFile in interface SourceTrackerpublic Object getSourceScope()
getSourceScope in interface SourceTrackerpublic int getSourceType()
getSourceType in interface SourceTrackerpublic void setSource(File file, int srcType)
public int getLineNumber()
getLineNumber in interface SourceTrackerpublic void setLineNumber(int lineNum)
public int getColNumber()
getColNumber in interface SourceTrackerpublic void setColNumber(int colNum)
public String getResourceName()
getResourceName in interface SourceTrackerpublic String[] getComments()
getComments in interface Commentablepublic void setComments(String[] comments)
setComments in interface Commentablepublic int compareTo(Object o)
compareTo in interface ComparableCopyright © 2006-2014 Apache Software Foundation. All Rights Reserved.