|
||||||||||
| 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<LexicalSense>
eu.monnetproject.lemon.impl.LexicalSenseImpl
public class LexicalSenseImpl
Instantiated via LemonFactoryImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface eu.monnetproject.lemon.model.LexicalSense |
|---|
LexicalSense.ReferencePreference |
| 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 |
addCondition(Condition predicate,
SenseCondition condition)
Add a condition to this sense |
boolean |
addContext(SenseContext context)
Add a context to the sense |
boolean |
addDefinition(Definition predicate,
SenseDefinition definition)
Add a definition to this sense |
boolean |
addExample(Example example)
Add an example to this sense |
boolean |
addIsA(Argument argument)
Add an argument that is a member of the ontology predicate |
boolean |
addObjOfProp(Argument argument)
Add an argument as the subject of the onotology predicate |
boolean |
addSenseRelation(SenseRelation senseRelation,
LexicalSense senseRelationVal)
Add a related sense |
boolean |
addSubjOfProp(Argument argument)
Add an argument as the subject of the ontology predicate |
boolean |
addSubsense(LexicalSense sense)
Add an atomic sense to the composition of this sense |
protected boolean |
follow(LemonPredicate predicate)
|
Collection<SenseCondition> |
getCondition(Condition predicate)
Get the set of conditions for a particular predicate on this sense |
Map<Condition,Collection<SenseCondition>> |
getConditions()
Get the conditions on this sense |
Collection<SenseContext> |
getContexts()
Get the contexts of the lexical sense |
Collection<SenseDefinition> |
getDefinition(Definition predicate)
Get the definitions of this sense for a particular predicate |
Map<Definition,Collection<SenseDefinition>> |
getDefinitions()
Get the definitions of this sense |
Map<URI,Collection<Object>> |
getElements()
|
Collection<Example> |
getExamples()
Get examples of this sense |
Collection<Argument> |
getIsAs()
Get the arguments that are members of the ontology predicate |
LexicalEntry |
getIsSenseOf()
Get the lexical entry this sense is attached to |
Collection<Argument> |
getObjOfProps()
Get the arguments that are the object of the ontology predicate |
URI |
getReference()
Get the URI of the referenced ontology entity |
LexicalSense.ReferencePreference |
getRefPref()
Get the preference of the ontology entity for this sense's entry or null for no preference |
Collection<LexicalSense> |
getSenseRelation(SenseRelation senseRelation)
Get the set of sense related by a particular predicate |
Map<SenseRelation,Collection<LexicalSense>> |
getSenseRelations()
Get the relations to other sense |
Collection<Argument> |
getSubjOfProps()
Get the arguments that are the subject of the ontology predicate |
Collection<LexicalSense> |
getSubsenses()
Get the atomic senses that compose this sense, if any |
void |
merge(ReaderAccepter accepter,
LinguisticOntology lingOnto,
AccepterFactory factory)
|
protected void |
printAsBlankNode(PrintWriter stream,
SerializationState state,
boolean first)
|
protected boolean |
refers()
|
boolean |
removeCondition(Condition predicate,
SenseCondition condition)
Remove a condition from this sense |
boolean |
removeContext(SenseContext context)
Remove a context from the sense |
boolean |
removeDefinition(Definition predicate,
SenseDefinition definition)
Remove a definition from this sense |
boolean |
removeExample(Example example)
Remove an example from this sense |
boolean |
removeIsA(Argument argument)
Remove an argument this is a member of the ontology predicate |
boolean |
removeObjOfProp(Argument argument)
Remove an argument as the subject of the ontology predicate |
boolean |
removeSenseRelation(SenseRelation senseRelation,
LexicalSense senseRelationVal)
Remove a related sense |
boolean |
removeSubjOfProp(Argument argument)
Remove an argument as the subject of the ontology predicate |
boolean |
removeSubsense(LexicalSense sense)
Remove all atomic senses from the composition of this sense |
void |
setIsSenseOf(LexicalEntry entry)
Set the lexical entry this sense is attached to (avoid calling) |
void |
setReference(URI reference)
Set the URI of the referenced ontology entity |
void |
setRefPref(LexicalSense.ReferencePreference refPref)
Set the preference of the ontology entity for this sense's entry or null for no preference |
void |
write(PrintWriter stream,
SerializationState state)
|
| Methods inherited from class eu.monnetproject.lemon.impl.LemonElementImpl |
|---|
accept, acceptProperties, addAnnotation, addPredElem, addPredElemDirect, addProperty, addReference, addStrElem, addStrElemDirect, addType, addTypeDirect, clearAll, defaultAccept, defaultAccept, defaultAccept, defaultMerge, doAccept, follow, getAnnotations, getAnnotations, getModelName, getPredElem, getPredElems, getProperty, getPropertys, getStrElem, getStrElems, getStrText, getTypes, isMultiReferenced, merge, merge, mergeIn, printAsBlankNode, printURI, removeAnnotation, removePredElem, removeProperty, removeReference, removeStrElem, removeType, resolveRemote, setStrElem, setStrElemDirect, setStrText, setStrTextDirect, updateAddPredElem, updateReference, visit |
| 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 URI getReference()
LexicalSense
getReference in interface LexicalSensepublic void setReference(URI reference)
LexicalSense
setReference in interface LexicalSensepublic LexicalSense.ReferencePreference getRefPref()
LexicalSense
getRefPref in interface LexicalSensepublic void setRefPref(LexicalSense.ReferencePreference refPref)
LexicalSense
setRefPref in interface LexicalSensepublic boolean addContext(SenseContext context)
LexicalSense
addContext in interface LexicalSensepublic boolean removeContext(SenseContext context)
LexicalSense
removeContext in interface LexicalSensepublic Collection<SenseContext> getContexts()
LexicalSense
getContexts in interface LexicalSensepublic Map<Condition,Collection<SenseCondition>> getConditions()
LexicalSense
getConditions in interface LexicalSensepublic Collection<SenseCondition> getCondition(Condition predicate)
LexicalSense
getCondition in interface LexicalSense
public boolean addCondition(Condition predicate,
SenseCondition condition)
LexicalSense
addCondition in interface LexicalSense
public boolean removeCondition(Condition predicate,
SenseCondition condition)
LexicalSense
removeCondition in interface LexicalSensepublic Collection<Example> getExamples()
LexicalSense
getExamples in interface LexicalSensepublic boolean addExample(Example example)
LexicalSense
addExample in interface LexicalSensepublic boolean removeExample(Example example)
LexicalSense
removeExample in interface LexicalSensepublic Map<Definition,Collection<SenseDefinition>> getDefinitions()
LexicalSense
getDefinitions in interface LexicalSensepublic Collection<SenseDefinition> getDefinition(Definition predicate)
LexicalSense
getDefinition in interface LexicalSense
public boolean addDefinition(Definition predicate,
SenseDefinition definition)
LexicalSense
addDefinition in interface LexicalSense
public boolean removeDefinition(Definition predicate,
SenseDefinition definition)
LexicalSense
removeDefinition in interface LexicalSensepublic Collection<Argument> getSubjOfProps()
LexicalSense
getSubjOfProps in interface LexicalSensepublic boolean addSubjOfProp(Argument argument)
LexicalSense
addSubjOfProp in interface LexicalSensepublic boolean removeSubjOfProp(Argument argument)
LexicalSense
removeSubjOfProp in interface LexicalSensepublic Collection<Argument> getObjOfProps()
LexicalSense
getObjOfProps in interface LexicalSensepublic boolean addObjOfProp(Argument argument)
LexicalSense
addObjOfProp in interface LexicalSensepublic boolean removeObjOfProp(Argument argument)
LexicalSense
removeObjOfProp in interface LexicalSensepublic Collection<Argument> getIsAs()
LexicalSense
getIsAs in interface LexicalSensepublic boolean addIsA(Argument argument)
LexicalSense
addIsA in interface LexicalSensepublic boolean removeIsA(Argument argument)
LexicalSense
removeIsA in interface LexicalSensepublic Collection<LexicalSense> getSubsenses()
LexicalSense
getSubsenses in interface LexicalSensepublic boolean addSubsense(LexicalSense sense)
LexicalSense
addSubsense in interface LexicalSensepublic boolean removeSubsense(LexicalSense sense)
LexicalSense
removeSubsense in interface LexicalSensepublic Map<SenseRelation,Collection<LexicalSense>> getSenseRelations()
LexicalSense
getSenseRelations in interface LexicalSensepublic Collection<LexicalSense> getSenseRelation(SenseRelation senseRelation)
LexicalSense
getSenseRelation in interface LexicalSense
public boolean addSenseRelation(SenseRelation senseRelation,
LexicalSense senseRelationVal)
LexicalSense
addSenseRelation in interface LexicalSense
public boolean removeSenseRelation(SenseRelation senseRelation,
LexicalSense senseRelationVal)
LexicalSense
removeSenseRelation in interface LexicalSensepublic LexicalEntry getIsSenseOf()
LexicalSense
getIsSenseOf in interface LexicalSensepublic void setIsSenseOf(LexicalEntry entry)
LexicalSense
setIsSenseOf in interface LexicalSenseprotected boolean refers()
refers in class LemonElementImpl<LexicalSense>
protected void printAsBlankNode(PrintWriter stream,
SerializationState state,
boolean first)
printAsBlankNode in class LemonElementImpl<LexicalSense>
public void write(PrintWriter stream,
SerializationState state)
write in class LemonElementImpl<LexicalSense>protected boolean follow(LemonPredicate predicate)
follow in class LemonElementImpl<LexicalSense>
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 void merge(ReaderAccepter accepter,
LinguisticOntology lingOnto,
AccepterFactory factory)
merge in interface ReaderAccepterpublic Map<URI,Collection<Object>> getElements()
getElements in interface IntrospectableElementgetElements in class LemonElementImpl<LexicalSense>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||