public class ReferencesLayerStored extends TextCorpusLayerStoredAbstract implements ReferencesLayer
| Modifier and Type | Field and Description |
|---|---|
protected String |
externalReferenceSource |
protected String |
reltagset |
protected String |
typetagset |
static String |
XML_NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
ReferencesLayerStored() |
protected |
ReferencesLayerStored(TextCorpusLayersConnector connector) |
public static final String XML_NAME
protected String typetagset
protected String reltagset
protected String externalReferenceSource
protected ReferencesLayerStored()
protected ReferencesLayerStored(TextCorpusLayersConnector connector)
protected void setLayersConnector(TextCorpusLayersConnector connector)
TextCorpusLayerStoredAbstractsetLayersConnector in class TextCorpusLayerStoredAbstractpublic boolean isEmpty()
isEmpty in interface TextCorpusLayerpublic int size()
size in interface TextCorpusLayerpublic String getTypetagset()
getTypetagset in interface ReferencesLayerpublic String getReltagset()
getReltagset in interface ReferencesLayerpublic boolean hasExternalReferences()
hasExternalReferences in interface ReferencesLayerpublic String getExternalReferenceSource()
getExternalReferenceSource in interface ReferencesLayerpublic ReferencedEntity getReferencedEntity(int index)
getReferencedEntity in interface ReferencesLayerpublic List<ReferencedEntity> getReferencedEntities(Token token)
getReferencedEntities in interface ReferencesLayerpublic Token[] getTokens(Reference reference)
getTokens in interface ReferencesLayerpublic Token[] getMinimumTokens(Reference reference)
getMinimumTokens in interface ReferencesLayerpublic Reference[] getTarget(Reference reference)
getTarget in interface ReferencesLayerpublic ReferencedEntity addReferent(List<Reference> references)
addReferent in interface ReferencesLayerpublic ReferencedEntity addReferent(List<Reference> references, String externalId)
addReferent in interface ReferencesLayerpublic Reference createReference(List<Token> referenceTokens)
createReference in interface ReferencesLayerpublic Reference createReference(List<Token> referenceTokens, List<Token> minReferenceTokens)
createReference in interface ReferencesLayerpublic Reference createReference(String type, List<Token> referenceTokens, List<Token> minReferenceTokens)
createReference in interface ReferencesLayerpublic void addRelation(Reference reference, String relation, Reference... target)
addRelation in interface ReferencesLayerCopyright © 2013-2014 Department of Linguistics, Tübingen University. All Rights Reserved.