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.3, 20/01/2004
Author:
Dennis Wagelaar

Method Summary
 Concept getDefaultConcept()
          Gets the default concept for this solution pattern.
 String getUri()
          Gets the model URI (e.g.
 void setDefaultConcept(Concept concept)
          Sets the default concept 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, getDeepOwnedElements, getOwnedElement, getOwnedElementId, getOwnedElements, getOwnedElements, isRegistered, registerNameChange, removeOwnedElement
 
Methods inherited from interface be.ac.vub.cocompose.lang.core.ModelElement
getId, getModel, getName, getNamespace, 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.

setDefaultConcept

public void setDefaultConcept(Concept concept)
Sets the default concept for this solution pattern.

Parameters:
concept - the default concept.

getDefaultConcept

public Concept getDefaultConcept()
Gets the default concept for this solution pattern.

Returns:
the default concept.