|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object eu.monnetproject.lemon.URIValue eu.monnetproject.lemon.URIElement eu.monnetproject.lemon.impl.LemonElementImpl<LexicalEntryImpl> eu.monnetproject.lemon.impl.LexicalEntryImpl
public class LexicalEntryImpl
Instantiated via LemonFactoryImpl
Field Summary |
---|
Fields inherited from class eu.monnetproject.lemon.impl.LemonElementImpl |
---|
checkRemote, model, RDF_TYPE, referencers |
Method Summary | |
---|---|
ReaderAccepter |
accept(URI pred,
String value,
LinguisticOntology lingOnto,
AccepterFactory factory)
|
void |
accept(URI pred,
String value,
String lang,
LinguisticOntology lingOnto,
AccepterFactory factory)
|
ReaderAccepter |
accept(URI pred,
URI value,
LinguisticOntology lingOnto,
AccepterFactory factory)
|
boolean |
addAbstractForm(LexicalForm abstractForm)
Add an abstract form to the entry |
void |
addDecomposition(List<Component> comps)
Add a decomposition |
boolean |
addForm(LexicalForm form)
Add a lexical form to the entry |
boolean |
addLexicalVariant(LexicalVariant lexicalVariant,
LexicalEntry lexicalVariantVal)
Add a lexical variant of the entry |
boolean |
addOtherForm(LexicalForm otherForm)
Add an other form to the entry |
boolean |
addPattern(MorphPattern mp)
Add a morphological pattern |
boolean |
addPhraseRoot(Node phraseRoot)
Add a phrase structure tree to the entry |
boolean |
addSense(LexicalSense sense)
Add a sense to the entry |
boolean |
addSynBehavior(Frame synBehavior)
Add a syntactic behavior to the entry |
boolean |
addTopic(LexicalTopic topic)
Add a topic to the entry |
void |
clearAll()
|
void |
doAccept(ElementVisitor visitor)
|
protected boolean |
follow(LemonPredicate predicate)
|
Collection<LexicalForm> |
getAbstractForms()
Get the abstract forms of the entry |
LexicalForm |
getCanonicalForm()
Get the canonical form of the entry |
Collection<List<Component>> |
getDecompositions()
Get the decompositions of this entry |
Map<URI,Collection<Object>> |
getElements()
|
Collection<LexicalForm> |
getForms()
Get all lexical forms of the entry |
Component |
getHead()
Get the head component |
Collection<LexicalEntry> |
getLexicalVariant(LexicalVariant lexicalVariant)
Get the set entries that are a given variant of the entry |
Map<LexicalVariant,Collection<LexicalEntry>> |
getLexicalVariants()
Get the lexical variants of the entry |
Collection<LexicalForm> |
getOtherForms()
Get the other forms of the entry |
Collection<MorphPattern> |
getPatterns()
Get all morphological patterns |
Collection<Node> |
getPhraseRoots()
Get the phrase structure trees of the entry |
Collection<LexicalSense> |
getSenses()
Get the senses of the entry |
Collection<Frame> |
getSynBehaviors()
Get the syntactic behaviors of the entry |
Collection<LexicalTopic> |
getTopics()
Get the topics of the entry |
void |
merge(ReaderAccepter accepter,
LinguisticOntology lingOnto,
AccepterFactory factory)
|
protected void |
mergeIn(LexicalEntryImpl elem)
|
protected void |
printAsBlankNode(PrintWriter stream,
SerializationState state,
boolean first)
|
protected boolean |
refers()
|
boolean |
removeAbstractForm(LexicalForm abstractForm)
Remove an abstract form from the entry |
boolean |
removeDecomposition(List<Component> comps)
Remove a decomposition |
boolean |
removeForm(LexicalForm form)
Remove a lexical form from the entry |
boolean |
removeLexicalVariant(LexicalVariant lexicalVariant,
LexicalEntry lexicalVariantVal)
Remove a lexical variant of the entry |
boolean |
removeOtherForm(LexicalForm otherForm)
Remove an other form from the entry |
boolean |
removePattern(MorphPattern mp)
Remove a morphological pattern |
boolean |
removePhraseRoot(Node phraseRoot)
Remove a phrase structure tree from the entry |
boolean |
removeSense(LexicalSense sense)
Remove a sense to the entry |
boolean |
removeSynBehavior(Frame synBehavior)
Remove a syntactic behavior from the entry |
boolean |
removeTopic(LexicalTopic topic)
Remove a topic from the entry |
protected void |
resolveRemote()
|
void |
setCanonicalForm(LexicalForm canonicalForm)
Set the canonical form of the entry |
void |
setHead(Component cmpnt)
Set the head component |
protected void |
updateReference(LemonElement from,
LemonElement to)
|
Methods inherited from class eu.monnetproject.lemon.impl.LemonElementImpl |
---|
accept, acceptProperties, addAnnotation, addPredElem, addPredElemDirect, addProperty, addReference, addStrElem, addStrElemDirect, addType, addTypeDirect, defaultAccept, defaultAccept, defaultAccept, defaultMerge, follow, getAnnotations, getAnnotations, getModelName, getPredElem, getPredElems, getProperty, getPropertys, getStrElem, getStrElems, getStrText, getTypes, isMultiReferenced, merge, merge, printAsBlankNode, printURI, removeAnnotation, removePredElem, removeProperty, removeReference, removeStrElem, removeType, setStrElem, setStrElemDirect, setStrText, setStrTextDirect, updateAddPredElem, visit, write |
Methods inherited from class eu.monnetproject.lemon.URIElement |
---|
equals, getID, hashCode, toString |
Methods inherited from class eu.monnetproject.lemon.URIValue |
---|
getInfHash, getURI |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface eu.monnetproject.lemon.model.LemonElement |
---|
addAnnotation, addProperty, addType, getAnnotations, getAnnotations, getID, getProperty, getPropertys, getTypes, removeAnnotation, removeProperty, removeType |
Methods inherited from interface eu.monnetproject.lemon.model.LemonElementOrPredicate |
---|
getURI |
Method Detail |
---|
public LexicalForm getCanonicalForm()
LexicalEntry
getCanonicalForm
in interface LexicalEntry
public void setCanonicalForm(LexicalForm canonicalForm)
LexicalEntry
setCanonicalForm
in interface LexicalEntry
public Collection<LexicalForm> getOtherForms()
LexicalEntry
getOtherForms
in interface LexicalEntry
public boolean addOtherForm(LexicalForm otherForm)
LexicalEntry
addOtherForm
in interface LexicalEntry
public boolean removeOtherForm(LexicalForm otherForm)
LexicalEntry
removeOtherForm
in interface LexicalEntry
public Collection<LexicalForm> getAbstractForms()
LexicalEntry
getAbstractForms
in interface LexicalEntry
public boolean addAbstractForm(LexicalForm abstractForm)
LexicalEntry
addAbstractForm
in interface LexicalEntry
public boolean removeAbstractForm(LexicalForm abstractForm)
LexicalEntry
removeAbstractForm
in interface LexicalEntry
public Collection<LexicalTopic> getTopics()
LexicalEntry
getTopics
in interface LexicalEntry
public boolean addTopic(LexicalTopic topic)
LexicalEntry
addTopic
in interface LexicalEntry
public boolean removeTopic(LexicalTopic topic)
LexicalEntry
removeTopic
in interface LexicalEntry
public Map<LexicalVariant,Collection<LexicalEntry>> getLexicalVariants()
LexicalEntry
getLexicalVariants
in interface LexicalEntry
public Collection<LexicalEntry> getLexicalVariant(LexicalVariant lexicalVariant)
LexicalEntry
getLexicalVariant
in interface LexicalEntry
public boolean addLexicalVariant(LexicalVariant lexicalVariant, LexicalEntry lexicalVariantVal)
LexicalEntry
addLexicalVariant
in interface LexicalEntry
public boolean removeLexicalVariant(LexicalVariant lexicalVariant, LexicalEntry lexicalVariantVal)
LexicalEntry
removeLexicalVariant
in interface LexicalEntry
public Collection<Frame> getSynBehaviors()
LexicalEntry
getSynBehaviors
in interface LexicalEntry
public boolean addSynBehavior(Frame synBehavior)
LexicalEntry
addSynBehavior
in interface LexicalEntry
public boolean removeSynBehavior(Frame synBehavior)
LexicalEntry
removeSynBehavior
in interface LexicalEntry
public Collection<List<Component>> getDecompositions()
LexicalEntry
getDecompositions
in interface LexicalEntry
public void addDecomposition(List<Component> comps)
LexicalEntry
addDecomposition
in interface LexicalEntry
public boolean removeDecomposition(List<Component> comps)
LexicalEntry
removeDecomposition
in interface LexicalEntry
public Collection<LexicalSense> getSenses()
LexicalEntry
getSenses
in interface LexicalEntry
public boolean addSense(LexicalSense sense)
LexicalEntry
addSense
in interface LexicalEntry
public boolean removeSense(LexicalSense sense)
LexicalEntry
removeSense
in interface LexicalEntry
public Collection<Node> getPhraseRoots()
LexicalEntry
getPhraseRoots
in interface LexicalEntry
public boolean addPhraseRoot(Node phraseRoot)
LexicalEntry
addPhraseRoot
in interface LexicalEntry
public boolean removePhraseRoot(Node phraseRoot)
LexicalEntry
removePhraseRoot
in interface LexicalEntry
public Collection<LexicalForm> getForms()
LexicalEntry
getForms
in interface LexicalEntry
public boolean addForm(LexicalForm form)
LexicalEntry
addForm
in interface LexicalEntry
public boolean removeForm(LexicalForm form)
LexicalEntry
removeForm
in interface LexicalEntry
protected void updateReference(LemonElement from, LemonElement to)
updateReference
in class LemonElementImpl<LexicalEntryImpl>
protected void mergeIn(LexicalEntryImpl elem)
mergeIn
in class LemonElementImpl<LexicalEntryImpl>
protected boolean refers()
refers
in class LemonElementImpl<LexicalEntryImpl>
protected void printAsBlankNode(PrintWriter stream, SerializationState state, boolean first)
printAsBlankNode
in class LemonElementImpl<LexicalEntryImpl>
protected boolean follow(LemonPredicate predicate)
follow
in class LemonElementImpl<LexicalEntryImpl>
public void doAccept(ElementVisitor visitor)
doAccept
in class LemonElementImpl<LexicalEntryImpl>
public Map<URI,Collection<Object>> getElements()
getElements
in interface IntrospectableElement
getElements
in class LemonElementImpl<LexicalEntryImpl>
public void clearAll()
clearAll
in class LemonElementImpl<LexicalEntryImpl>
public ReaderAccepter accept(URI pred, URI value, LinguisticOntology lingOnto, AccepterFactory factory)
accept
in interface ReaderAccepter
public ReaderAccepter accept(URI pred, String value, LinguisticOntology lingOnto, AccepterFactory factory)
accept
in interface ReaderAccepter
public void accept(URI pred, String value, String lang, LinguisticOntology lingOnto, AccepterFactory factory)
accept
in interface ReaderAccepter
public Collection<MorphPattern> getPatterns()
LexicalEntry
getPatterns
in interface LexicalEntry
public boolean addPattern(MorphPattern mp)
LexicalEntry
addPattern
in interface LexicalEntry
public boolean removePattern(MorphPattern mp)
LexicalEntry
removePattern
in interface LexicalEntry
public Component getHead()
LexicalEntry
getHead
in interface LexicalEntry
public void setHead(Component cmpnt)
LexicalEntry
setHead
in interface LexicalEntry
public void merge(ReaderAccepter accepter, LinguisticOntology lingOnto, AccepterFactory factory)
merge
in interface ReaderAccepter
protected void resolveRemote()
resolveRemote
in class LemonElementImpl<LexicalEntryImpl>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |