FreeHEP API
Version v1.2.2

hep.graphics.heprep.ref
Class DefaultHepRepAction

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

public class DefaultHepRepAction
extends Object
implements HepRepAction, Serializable

Version:
$Id: DefaultHepRepAction.java,v 1.3 2003/12/02 23:46:36 duns Exp $
Author:
M.Donszelmann
See Also:
Serialized Form

Field Summary
static String cvsId
           
 
Constructor Summary
DefaultHepRepAction(String name, String expression)
           
 
Method Summary
 HepRepAction copy()
          Returns a deep copy of this action.
 boolean equals(Object o)
           
 String getExpression()
          Returns expression associated with this action.
 String getName()
          Returns name of this action.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cvsId

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

DefaultHepRepAction

public DefaultHepRepAction(String name,
                           String expression)
Method Detail

getName

public String getName()
Description copied from interface: HepRepAction
Returns name of this action.

Specified by:
getName in interface HepRepAction
Returns:
name of this action.

getExpression

public String getExpression()
Description copied from interface: HepRepAction
Returns expression associated with this action.

Specified by:
getExpression in interface HepRepAction
Returns:
expression of this action.

copy

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

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

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.