be.ac.vub.cocompose.lang.core
Interface Model

All Superinterfaces:
Cloneable, Element, ModelElement, Namespace, VisitedElement
All Known Implementing Classes:
DefaultModel

public interface Model
extends Namespace

The Model language element interface.

Since:
0.1.0
Version:
0.2.9, 26/04/2004
Author:
Dennis Wagelaar

Method Summary
 RefinedElement getDefaultElement()
          Gets the default element for this solution pattern.
 String getUri()
          Gets the model URI (e.g.
 void setDefaultElement(RefinedElement element)
          Sets the default element for this solution pattern.
 void setUri(String uri)
          Sets the model URI (e.g.
 
Methods inherited from interface be.ac.vub.cocompose.lang.core.Namespace
addOwnedElement, addOwnedElement, getDeepOwnedElement, getDeepOwnedElements, getOwnedElement, getOwnedElements, getOwnedElements, getOwnedIds, isRegistered, registerNameChange, removeOwnedElement
 
Methods inherited from interface be.ac.vub.cocompose.lang.core.ModelElement
getId, getModel, getName, getNamespace, getRootNamespace, setId, setName, setNamespace
 
Methods inherited from interface be.ac.vub.cocompose.lang.Element
addPropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface be.ac.vub.cocompose.lang.VisitedElement
accept
 

Method Detail

getUri

public String getUri()
Gets the model URI (e.g. "file://...").

Returns:
the URI.

setUri

public void setUri(String uri)
Sets the model URI (e.g. "file://...").

Parameters:
uri - - the URI.

setDefaultElement

public void setDefaultElement(RefinedElement element)
Sets the default element for this solution pattern.

Parameters:
element - the default element.

getDefaultElement

public RefinedElement getDefaultElement()
Gets the default element for this solution pattern.

Returns:
the default element.