FreeHEP API
Version v1.2.2

hep.graphics.heprep.ref
Class DefaultHepRepTreeID

java.lang.Object
  |
  +--hep.graphics.heprep.ref.DefaultHepRepTreeID
All Implemented Interfaces:
HepRepTreeID, Serializable
Direct Known Subclasses:
DefaultHepRepInstanceTree, DefaultHepRepTypeTree

public class DefaultHepRepTreeID
extends Object
implements HepRepTreeID, Serializable

Version:
$Id: DefaultHepRepTreeID.java,v 1.9 2003/12/04 23:25:48 duns Exp $
Author:
M.Donszelmann
See Also:
Serialized Form

Field Summary
static String cvsId
           
 
Constructor Summary
DefaultHepRepTreeID(String name, String version)
           
DefaultHepRepTreeID(String name, String version, String qualifier)
           
 
Method Summary
 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.
 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

DefaultHepRepTreeID

public DefaultHepRepTreeID(String name,
                           String version)

DefaultHepRepTreeID

public DefaultHepRepTreeID(String name,
                           String version,
                           String qualifier)
Method Detail

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.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.