FreeHEP API
Version current

hep.graphics.heprep1.adapter
Class HepRepTypeAdapter

java.lang.Object
  extended byhep.graphics.heprep.ref.DefaultHepRepAttribute
      extended byhep.graphics.heprep.ref.DefaultHepRepDefinition
          extended byhep.graphics.heprep1.adapter.HepRepAttributeAdapter
              extended byhep.graphics.heprep1.adapter.HepRepDefinitionAdapter
                  extended byhep.graphics.heprep1.adapter.AbstractHepRepTypeAdapter
                      extended byhep.graphics.heprep1.adapter.HepRepTypeAdapter
All Implemented Interfaces:
HepRepAttribute, HepRepConstants, HepRepDefinition, HepRepType, Serializable
Direct Known Subclasses:
HepRepTypeFromInstanceAdapter, HepRepTypeFromTypeAdapter

public class HepRepTypeAdapter
extends AbstractHepRepTypeAdapter

Version:
$Id: HepRepTypeAdapter.java,v 1.4 2004/07/30 22:32:13 duns Exp $
Author:
Mark Donszelmann
See Also:
Serialized Form
Source Code:
HepRepTypeAdapter.java

Field Summary
 
Fields inherited from class hep.graphics.heprep1.adapter.AbstractHepRepTypeAdapter
parent, types
 
Fields inherited from class hep.graphics.heprep.ref.DefaultHepRepDefinition
cvsId
 
Fields inherited from interface hep.graphics.heprep.HepRepConstants
SHOW_DESC, SHOW_EXTRA, SHOW_NAME, SHOW_NONE, SHOW_VALUE, TYPE_BOOLEAN, TYPE_COLOR, TYPE_DOUBLE, TYPE_INT, TYPE_LONG, TYPE_STRING, TYPE_UNKNOWN
 
Constructor Summary
HepRepTypeAdapter(HepRepType type1, HepRepAttribute attribute1, HepRepType parent)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
          Returns the name of this type.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class hep.graphics.heprep1.adapter.AbstractHepRepTypeAdapter
addType, copy, getAttDef, getAttValue, getDescription, getFullName, getInfoURL, getSuperType, getTypeList, getTypes, setDescription, setInfoURL
 
Methods inherited from class hep.graphics.heprep.ref.DefaultHepRepDefinition
addAttDef, addAttDef, getAttDefFromNode, getAttDefsFromNode
 
Methods inherited from class hep.graphics.heprep.ref.DefaultHepRepAttribute
addAttColor, addAttColor, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface hep.graphics.heprep.HepRepDefinition
addAttDef, addAttDef, getAttDefFromNode, getAttDefsFromNode
 
Methods inherited from interface hep.graphics.heprep.HepRepAttribute
addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue
 

Constructor Detail

HepRepTypeAdapter

public HepRepTypeAdapter(HepRepType type1,
                         HepRepAttribute attribute1,
                         HepRepType parent)
Method Detail

getName

public String getName()
Description copied from interface: HepRepType
Returns the name of this type. This is the full name if one uses flat-types, and the node name if one uses hierarchical typenames. It is the name supplied at construction of the type.

Returns:
name of type.
See Also:
HepRepType.getFullName()

equals

public boolean equals(Object obj)
Overrides:
equals in class DefaultHepRepDefinition

hashCode

public int hashCode()

toString

public String toString()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.