eu.monnetproject.lemon.model
Interface Frame

All Superinterfaces:
LemonElement, LemonElementOrPredicate
All Known Implementing Classes:
FrameImpl

public interface Frame
extends LemonElement

A syntactic frame describing a syntactic behavior of an entry

Author:
John McCrae

Method Summary
 void addDecomposition(List<Component> comps)
          Add a decomposition
 boolean addSynArg(SynArg synArg, Argument synArgVal)
          Add a syntactic argument
 boolean addTree(Node node)
          Add a tree to this frame
 Collection<List<Component>> getDecompositions()
          Get the decompositions of this entry
 Collection<Argument> getSynArg(SynArg synArg)
          Get a particular set of synactic arguments of the frame
 Map<SynArg,Collection<Argument>> getSynArgs()
          Get the syntactic arguments of the frame
 Collection<Node> getTrees()
          Get the trees attached to this frame
 boolean removeDecomposition(List<Component> comps)
          Remove a decomposition
 boolean removeSynArg(SynArg synArg, Argument synArgVal)
          Remove a syntactic argument
 boolean removeTree(Node node)
          Remove a tree from this frame
 
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

getSynArgs

Map<SynArg,Collection<Argument>> getSynArgs()
Get the syntactic arguments of the frame


getSynArg

Collection<Argument> getSynArg(SynArg synArg)
Get a particular set of synactic arguments of the frame


addSynArg

boolean addSynArg(SynArg synArg,
                  Argument synArgVal)
Add a syntactic argument


removeSynArg

boolean removeSynArg(SynArg synArg,
                     Argument synArgVal)
Remove a syntactic argument


getTrees

Collection<Node> getTrees()
Get the trees attached to this frame


addTree

boolean addTree(Node node)
Add a tree to this frame


removeTree

boolean removeTree(Node node)
Remove a tree from this frame


getDecompositions

Collection<List<Component>> getDecompositions()
Get the decompositions of this entry


addDecomposition

void addDecomposition(List<Component> comps)
Add a decomposition


removeDecomposition

boolean removeDecomposition(List<Component> comps)
Remove a decomposition



Copyright © 2012. All Rights Reserved.