Module rgg
Package de.grogra.rgg

Class TypeRoot

All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, UserFields, XObject, Map, Serializable

public class TypeRoot extends Node
This class represents the root node of a type graph in a GraphManager. The enumeration or access of nodes must exclude all children and descendents of this node unless explicitly indicated. This prevents rules from affecting the type graph unless explicitly indicated. This class is part of the extension of XL for multiscale modelling.
Since:
18-02-2013
Author:
yong
See Also:
  • Field Details

  • Constructor Details

    • TypeRoot

      public TypeRoot()
  • Method Details

    • getNTypeImpl

      protected Node.NType getNTypeImpl()
      Description copied from class: Node
      This method returns the Node.NType which describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      getNTypeImpl in class Node
      Returns:
      type describing the managed fields of the class of this node
    • newInstance

      protected Node newInstance()
      Description copied from class: Node
      This method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      newInstance in class Node
      Returns:
      new instance of class of this node