|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tudarmstadt.ukp.jwktl.api.entry.BerkeleyDBWiktionaryEdition.WiktionaryEntryProxy
@Entity public static class BerkeleyDBWiktionaryEdition.WiktionaryEntryProxy
Proxy object for referencing to a IWiktionaryEntry
. The proxy
objects serve as a secondary database index.
Field Summary | |
---|---|
protected long |
entryId
|
protected int |
entryIndex
|
protected String |
entryKey
|
protected long |
pageId
|
Constructor Summary | |
---|---|
BerkeleyDBWiktionaryEdition.WiktionaryEntryProxy()
Instanciates an entry proxy with dangling reference. |
|
BerkeleyDBWiktionaryEdition.WiktionaryEntryProxy(IWiktionaryEntry entry)
Instanciates an entry proxy to the given referenced entry. |
Method Summary | |
---|---|
long |
getEntryId()
Return the entry ID of the referenced IWiktionaryEntry . |
int |
getEntryIndex()
Return the entry index of the referenced IWiktionaryEntry . |
String |
getEntryKey()
Return the entry key of the referenced IWiktionaryEntry . |
long |
getPageId()
Return the page ID of the referenced IWiktionaryEntry . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@PrimaryKey protected String entryKey
@SecondaryKey(relate=MANY_TO_ONE) protected long entryId
protected long pageId
protected int entryIndex
Constructor Detail |
---|
public BerkeleyDBWiktionaryEdition.WiktionaryEntryProxy()
public BerkeleyDBWiktionaryEdition.WiktionaryEntryProxy(IWiktionaryEntry entry)
Method Detail |
---|
public String getEntryKey()
IWiktionaryEntry
.
public long getEntryId()
IWiktionaryEntry
.
public long getPageId()
IWiktionaryEntry
.
public int getEntryIndex()
IWiktionaryEntry
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |