@Entity public static class BerkeleyDBWiktionaryEdition.WiktionaryEntryProxy extends Object
IWiktionaryEntry
. The proxy
objects serve as a secondary database index.Modifier and Type | Field and Description |
---|---|
protected long |
entryId |
protected int |
entryIndex |
protected String |
entryKey |
protected long |
pageId |
Constructor and Description |
---|
WiktionaryEntryProxy()
Instanciates an entry proxy with dangling reference.
|
WiktionaryEntryProxy(IWiktionaryEntry entry)
Instanciates an entry proxy to the given referenced entry.
|
Modifier and Type | Method and Description |
---|---|
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 . |
@PrimaryKey protected String entryKey
@SecondaryKey(relate=MANY_TO_ONE) protected long entryId
protected long pageId
protected int entryIndex
public WiktionaryEntryProxy()
public WiktionaryEntryProxy(IWiktionaryEntry entry)
public String getEntryKey()
IWiktionaryEntry
.public long getEntryId()
IWiktionaryEntry
.public long getPageId()
IWiktionaryEntry
.public int getEntryIndex()
IWiktionaryEntry
.Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.