net.sf.opendse.model
Class Resource

java.lang.Object
  extended by net.sf.opendse.model.Element
      extended by net.sf.opendse.model.Node
          extended by net.sf.opendse.model.Resource
All Implemented Interfaces:
IAttributes

public class Resource
extends Node

The Resource is the basic vertex element in Architecture graphs.


Field Summary
 
Fields inherited from class net.sf.opendse.model.Element
attributes, id, parent, TYPE
 
Constructor Summary
Resource(Element parent)
          Constructs a new resource.
Resource(java.lang.String id)
          Constructs a new resource.
 
Method Summary
 
Methods inherited from class net.sf.opendse.model.Element
equals, getAttribute, getAttributeNames, getAttributeParameter, getAttributes, getId, getLocalAttributeNames, getLocalAttributes, getParent, getType, hashCode, isDefined, setAttribute, setParent, setType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Resource

public Resource(java.lang.String id)
Constructs a new resource.

Parameters:
id - the id

Resource

public Resource(Element parent)
Constructs a new resource.

Parameters:
parent - the parent