FreeHEP API
Version current

hep.graphics.heprep
Interface HepRepTypeTree

All Superinterfaces:
HepRepTreeID
All Known Implementing Classes:
DefaultHepRepTypeTree, HepRepTypeTreeAdapter, HepRepTypeTreeAdapter

public interface HepRepTypeTree
extends HepRepTreeID

Source Code:
HepRepTypeTree.java

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
 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

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

Parameters:
type - to be added.

getTypes

public Set getTypes()
Deprecated. use getTypeList()

Returns a collection of all types in this tree.

Returns:
collection of HepRepTypes.

getTypeList

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

Returns:
collection of HepRepTypes.

getType

public HepRepType getType(String fullName)
Returns type


copy

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

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

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.