hep.graphics.heprep
Interface HepRepTypeTree

All Superinterfaces:
HepRepTreeID

public interface HepRepTypeTree
extends HepRepTreeID

HepRepTypeTree interface.

Author:
Mark Donszelmann

Method Summary
 void addType(HepRepType type)
          Adds a type to this typetree.
 HepRepTypeTree copy()
          Returns a deep copy of this typetree.
 HepRepType getType(String fullName)
          Returns type for full type name
 List getTypeList()
          Returns a collection of all types in this tree.
 Set getTypes()
          Deprecated. use getTypeList()
 
Methods inherited from interface hep.graphics.heprep.HepRepTreeID
getName, getQualifier, getVersion, setQualifier
 

Method Detail

addType

void addType(HepRepType type)
Adds a type to this typetree.

Parameters:
type - to be added.

getTypes

Set getTypes()
Deprecated. use getTypeList()

Returns a collection of all types in this tree.

Returns:
collection of HepRepTypes.

getTypeList

List getTypeList()
Returns a collection of all types in this tree.

Returns:
collection of HepRepTypes.

getType

HepRepType getType(String fullName)
Returns type for full type name

Parameters:
fullName - full type name
Returns:
type

copy

HepRepTypeTree copy()
                    throws CloneNotSupportedException
Returns a deep copy of this typetree.

Returns:
copy of this typetree.
Throws:
CloneNotSupportedException - if copying is not possible.


Copyright 2000-2007 FreeHEP. All Rights Reserved.