FreeHEP API
Version v1.2.2

hep.graphics.heprep.corba
Class HepRepTypeTreeAdapter

java.lang.Object
  |
  +--hep.graphics.heprep.corba.HepRepTypeTreeAdapter
All Implemented Interfaces:
HepRepTreeID, HepRepTypeTree

public class HepRepTypeTreeAdapter
extends Object
implements HepRepTypeTree

Version:
$Id: HepRepTypeTreeAdapter.java,v 1.13 2003/12/04 23:25:40 duns Exp $
Author:
Mark Donszelmann

Field Summary
static String cvsId
           
 
Constructor Summary
HepRepTypeTreeAdapter(HepRepTypeTree hepRepTypeTree)
           
 
Method Summary
 void addType(HepRepType type)
          Adds a type to this typetree.
 HepRepTypeTree copy()
          Returns a deep copy of this typetree.
 boolean equals(Object o)
           
 String getName()
          Returns the name of this treeID.
 String getQualifier()
          Returns the qualifier that qualifies the relation that this treeID has with what it refers to.
 HepRepType getType(String fullName)
          Returns type
 Set getTypes()
          Returns a collection of all types in this tree.
 String getVersion()
          Returns the version of this treeID.
 int hashCode()
           
 void setQualifier(String qualifier)
          Sets the qualifier that qualifies the relation that this treeID has with what it refers to.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

cvsId

public static final String cvsId
See Also:
Constant Field Values
Constructor Detail

HepRepTypeTreeAdapter

public HepRepTypeTreeAdapter(HepRepTypeTree hepRepTypeTree)
Method Detail

copy

public HepRepTypeTree copy()
                    throws CloneNotSupportedException
Description copied from interface: HepRepTypeTree
Returns a deep copy of this typetree.

Specified by:
copy in interface HepRepTypeTree
Returns:
copy of this typetree.
Throws:
CloneNotSupportedException - if copying is not possible.

getQualifier

public String getQualifier()
Description copied from interface: HepRepTreeID
Returns the qualifier that qualifies the relation that this treeID has with what it refers to.

Specified by:
getQualifier in interface HepRepTreeID
Returns:
qualifier.

setQualifier

public void setQualifier(String qualifier)
Description copied from interface: HepRepTreeID
Sets the qualifier that qualifies the relation that this treeID has with what it refers to.

Specified by:
setQualifier in interface HepRepTreeID
Parameters:
qualifier - to be set.

getName

public String getName()
Description copied from interface: HepRepTreeID
Returns the name of this treeID.

Specified by:
getName in interface HepRepTreeID
Returns:
name of treeID.

getVersion

public String getVersion()
Description copied from interface: HepRepTreeID
Returns the version of this treeID.

Specified by:
getVersion in interface HepRepTreeID
Returns:
version of treeID.

getTypes

public Set getTypes()
Description copied from interface: HepRepTypeTree
Returns a collection of all types in this tree.

Specified by:
getTypes in interface HepRepTypeTree
Returns:
collection of HepRepTypes.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getType

public HepRepType getType(String fullName)
Description copied from interface: HepRepTypeTree
Returns type

Specified by:
getType in interface HepRepTypeTree

addType

public void addType(HepRepType type)
Description copied from interface: HepRepTypeTree
Adds a type to this typetree.

Specified by:
addType in interface HepRepTypeTree
Parameters:
type - to be added.

toString

public String toString()
Overrides:
toString in class Object

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.