eu.monnetproject.lemon.impl
Class ArgumentImpl

java.lang.Object
  extended by eu.monnetproject.lemon.URIValue
      extended by eu.monnetproject.lemon.URIElement
          extended by eu.monnetproject.lemon.impl.LemonElementImpl<ArgumentImpl>
              extended by eu.monnetproject.lemon.impl.ArgumentImpl
All Implemented Interfaces:
IntrospectableElement, ReaderAccepter, Argument, LemonElement, LemonElementOrPredicate, PhraseTerminal, Serializable

public class ArgumentImpl
extends LemonElementImpl<ArgumentImpl>
implements Argument

Instantiated via LemonFactoryImpl

Author:
John McCrae
See Also:
Serialized Form

Field Summary
 
Fields inherited from class eu.monnetproject.lemon.impl.LemonElementImpl
checkRemote, model, RDF_TYPE, referencers
 
Method Summary
 ReaderAccepter accept(URI pred, String bNode, 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)
           
 Map<URI,Collection<Object>> getElements()
           
 SyntacticRoleMarker getMarker()
          Get the marker that indicates the syntactic role
 boolean isOptional()
          Check if this argument is optional
 void merge(ReaderAccepter accepter, LinguisticOntology lingOnto, AccepterFactory factory)
           
 void setMarker(SyntacticRoleMarker marker)
          Set the marker that indicates the syntactic role
 void setOptional(boolean optional)
          Set if this argument is optional
 
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, follow, getAnnotations, getAnnotations, getModelName, getPredElem, getPredElems, getProperty, getPropertys, getStrElem, getStrElems, getStrText, getTypes, isMultiReferenced, merge, merge, mergeIn, printAsBlankNode, printAsBlankNode, printURI, refers, removeAnnotation, removePredElem, removeProperty, removeReference, removeStrElem, removeType, resolveRemote, setStrElem, setStrElemDirect, setStrText, setStrTextDirect, updateAddPredElem, updateReference, 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

getMarker

public SyntacticRoleMarker getMarker()
Description copied from interface: Argument
Get the marker that indicates the syntactic role

Specified by:
getMarker in interface Argument

setMarker

public void setMarker(SyntacticRoleMarker marker)
Description copied from interface: Argument
Set the marker that indicates the syntactic role

Specified by:
setMarker in interface Argument

isOptional

public boolean isOptional()
Description copied from interface: Argument
Check if this argument is optional

Specified by:
isOptional in interface Argument

setOptional

public void setOptional(boolean optional)
Description copied from interface: Argument
Set if this argument is optional

Specified by:
setOptional in interface Argument

accept

public ReaderAccepter accept(URI pred,
                             URI value,
                             LinguisticOntology lingOnto,
                             AccepterFactory factory)
Specified by:
accept in interface ReaderAccepter

accept

public ReaderAccepter accept(URI pred,
                             String bNode,
                             LinguisticOntology lingOnto,
                             AccepterFactory factory)
Specified by:
accept in interface ReaderAccepter

accept

public void accept(URI pred,
                   String value,
                   String lang,
                   LinguisticOntology lingOnto,
                   AccepterFactory factory)
Specified by:
accept in interface ReaderAccepter

merge

public void merge(ReaderAccepter accepter,
                  LinguisticOntology lingOnto,
                  AccepterFactory factory)
Specified by:
merge in interface ReaderAccepter

getElements

public Map<URI,Collection<Object>> getElements()
Specified by:
getElements in interface IntrospectableElement
Overrides:
getElements in class LemonElementImpl<ArgumentImpl>


Copyright © 2012. All Rights Reserved.