FreeHEP API
Version v1.2.2

hep.graphics.heprep.ref
Class DefaultHepRepAttDef

java.lang.Object
  |
  +--hep.graphics.heprep.ref.DefaultHepRepAttDef
All Implemented Interfaces:
HepRepAttDef, Serializable

public class DefaultHepRepAttDef
extends Object
implements HepRepAttDef, Serializable

Version:
$Id: DefaultHepRepAttDef.java,v 1.16 2003/12/09 21:07:38 duns Exp $
Author:
M.Donszelmann
See Also:
Serialized Form

Field Summary
static String cvsId
           
 
Constructor Summary
DefaultHepRepAttDef(String name, String desc, String category, String extra)
           
 
Method Summary
 HepRepAttDef copy()
          Returns a deep copy of this attdef.
 boolean equals(Object o)
           
 String getCategory()
          Returns category of this attdef.
 String getDescription()
          Returns a description of this attdef.
 String getExtra()
          Returns any extra information of this attdef.
 String getLowerCaseName()
          Returns the lowercased name of this attdef.
 String getName()
          Returns the mixed case name of this attdef.
 int hashCode()
           
 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

DefaultHepRepAttDef

public DefaultHepRepAttDef(String name,
                           String desc,
                           String category,
                           String extra)
Method Detail

copy

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

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

getName

public String getName()
Description copied from interface: HepRepAttDef
Returns the mixed case name of this attdef.

Specified by:
getName in interface HepRepAttDef
Returns:
name.

getLowerCaseName

public String getLowerCaseName()
Description copied from interface: HepRepAttDef
Returns the lowercased name of this attdef.

Specified by:
getLowerCaseName in interface HepRepAttDef
Returns:
lowercased name.

getDescription

public String getDescription()
Description copied from interface: HepRepAttDef
Returns a description of this attdef.

Specified by:
getDescription in interface HepRepAttDef
Returns:
description.

getCategory

public String getCategory()
Description copied from interface: HepRepAttDef
Returns category of this attdef.

Specified by:
getCategory in interface HepRepAttDef
Returns:
category.

getExtra

public String getExtra()
Description copied from interface: HepRepAttDef
Returns any extra information of this attdef.

Specified by:
getExtra in interface HepRepAttDef
Returns:
extra info.

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.