de.grogra.xl.ode
Class RateAssignment

java.lang.Object
  extended by de.grogra.xl.ode.RateAssignment

public class RateAssignment
extends java.lang.Object

A RateAssignemnt stores class and property of a rate assignment (operator symbol :'=). For a rate assignment of the form a[n] :'= 1 the class of a will be stored in the field cls and the property named n will be stored in the field named property. Note that cls may be the class where the property was declared in, but also a subclass.

Author:
Reinhard Hemmerling

Field Summary
 java.lang.Class cls
           
 RuntimeModel.Property property
           
 
Method Summary
static RateAssignment create(RuntimeModel.Property p, java.lang.Class c)
           
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

cls

public java.lang.Class cls

property

public RuntimeModel.Property property
Method Detail

create

public static RateAssignment create(RuntimeModel.Property p,
                                    java.lang.Class c)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object