|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.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 LexicalEntrypublic void setCanonicalForm(LexicalForm canonicalForm)
LexicalEntry
setCanonicalForm in interface LexicalEntrypublic Collection<LexicalForm> getOtherForms()
LexicalEntry
getOtherForms in interface LexicalEntrypublic boolean addOtherForm(LexicalForm otherForm)
LexicalEntry
addOtherForm in interface LexicalEntrypublic boolean removeOtherForm(LexicalForm otherForm)
LexicalEntry
removeOtherForm in interface LexicalEntrypublic Collection<LexicalForm> getAbstractForms()
LexicalEntry
getAbstractForms in interface LexicalEntrypublic boolean addAbstractForm(LexicalForm abstractForm)
LexicalEntry
addAbstractForm in interface LexicalEntrypublic boolean removeAbstractForm(LexicalForm abstractForm)
LexicalEntry
removeAbstractForm in interface LexicalEntrypublic Collection<LexicalTopic> getTopics()
LexicalEntry
getTopics in interface LexicalEntrypublic boolean addTopic(LexicalTopic topic)
LexicalEntry
addTopic in interface LexicalEntrypublic boolean removeTopic(LexicalTopic topic)
LexicalEntry
removeTopic in interface LexicalEntrypublic Map<LexicalVariant,Collection<LexicalEntry>> getLexicalVariants()
LexicalEntry
getLexicalVariants in interface LexicalEntrypublic 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 LexicalEntrypublic Collection<Frame> getSynBehaviors()
LexicalEntry
getSynBehaviors in interface LexicalEntrypublic boolean addSynBehavior(Frame synBehavior)
LexicalEntry
addSynBehavior in interface LexicalEntrypublic boolean removeSynBehavior(Frame synBehavior)
LexicalEntry
removeSynBehavior in interface LexicalEntrypublic Collection<List<Component>> getDecompositions()
LexicalEntry
getDecompositions in interface LexicalEntrypublic void addDecomposition(List<Component> comps)
LexicalEntry
addDecomposition in interface LexicalEntrypublic boolean removeDecomposition(List<Component> comps)
LexicalEntry
removeDecomposition in interface LexicalEntrypublic Collection<LexicalSense> getSenses()
LexicalEntry
getSenses in interface LexicalEntrypublic boolean addSense(LexicalSense sense)
LexicalEntry
addSense in interface LexicalEntrypublic boolean removeSense(LexicalSense sense)
LexicalEntry
removeSense in interface LexicalEntrypublic Collection<Node> getPhraseRoots()
LexicalEntry
getPhraseRoots in interface LexicalEntrypublic boolean addPhraseRoot(Node phraseRoot)
LexicalEntry
addPhraseRoot in interface LexicalEntrypublic boolean removePhraseRoot(Node phraseRoot)
LexicalEntry
removePhraseRoot in interface LexicalEntrypublic Collection<LexicalForm> getForms()
LexicalEntry
getForms in interface LexicalEntrypublic boolean addForm(LexicalForm form)
LexicalEntry
addForm in interface LexicalEntrypublic 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 IntrospectableElementgetElements 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 ReaderAccepterpublic Collection<MorphPattern> getPatterns()
LexicalEntry
getPatterns in interface LexicalEntrypublic boolean addPattern(MorphPattern mp)
LexicalEntry
addPattern in interface LexicalEntrypublic boolean removePattern(MorphPattern mp)
LexicalEntry
removePattern in interface LexicalEntrypublic Component getHead()
LexicalEntry
getHead in interface LexicalEntrypublic void setHead(Component cmpnt)
LexicalEntry
setHead in interface LexicalEntry
public void merge(ReaderAccepter accepter,
LinguisticOntology lingOnto,
AccepterFactory factory)
merge in interface ReaderAccepterprotected void resolveRemote()
resolveRemote in class LemonElementImpl<LexicalEntryImpl>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||