com.uppaal.model.core2
Class AbstractTemplate
java.lang.Object
com.uppaal.model.core2.Element
com.uppaal.model.core2.Node
com.uppaal.model.core2.AbstractTemplate
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- LscTemplate, Template
public abstract class AbstractTemplate
- extends Node
AbstractTemplate has two subclasses:
Template (for TA) and LscTemplate (for LSC)
- See Also:
- Serialized Form
| Methods inherited from class com.uppaal.model.core2.Element |
acceptSafe, addListener, getColor, getDocument, getLocalProperty, getParent, getProperties, getProperty, getPropertyValue, getPrototype, getX, getY, hasFlag, importInto, isPropertyLocal, removeListener, setProperties, setProperty, setPropertyFromPath |
AbstractTemplate
public AbstractTemplate(Element prototype)
clone
public Object clone()
throws CloneNotSupportedException
- Description copied from class:
Node
- Returns a deep clone of the node. The sibling references of the
clone are set to null.
- Overrides:
clone in class Node
- Throws:
CloneNotSupportedException
getTemplate
public AbstractTemplate getTemplate()
- Description copied from class:
Element
- Returns the template of this element.
- Overrides:
getTemplate in class Element
accept
public void accept(Visitor visitor)
throws Exception
- Description copied from class:
Element
- Accept a visitor. This method is specialised in every
subclass. Part of the visitor pattern.
- Overrides:
accept in class Node
- Throws:
Exception
getPrototypeFromParent
public abstract Element getPrototypeFromParent(Element parent)
- Description copied from class:
Element
- Return the proper prototype for this element stored in the parent.
This is used by importInto().
- Overrides:
getPrototypeFromParent in class Element
Copyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.