com.banda.chemistry.domain
Class EvolutionRule<TYPE>

java.lang.Object
  extended by com.banda.core.domain.DomainObject<Long>
      extended by com.banda.core.domain.TechnicalDomainObject
          extended by com.banda.chemistry.domain.EvolutionRule<TYPE>
All Implemented Interfaces:
com.banda.core.domain.KeyHolder<Long>, Serializable

public class EvolutionRule<TYPE>
extends com.banda.core.domain.TechnicalDomainObject

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.banda.core.domain.DomainObject
com.banda.core.domain.DomainObject.DomainObjectKeyComparator<K extends Serializable & Comparable<K>>
 
Constructor Summary
EvolutionRule()
           
 
Method Summary
 void addProduct(TYPE product)
           
 void addReactant(TYPE reactant)
           
 Integer getPriority()
           
 Set<TYPE> getProducts()
           
 com.banda.core.MultiSet<TYPE> getReactants()
           
 void removeProduct(TYPE product)
           
 void removeReactant(TYPE reactant)
           
 void setPriority(Integer priority)
           
protected  void setProducts(com.banda.core.MultiSet<TYPE> products)
           
protected  void setReactants(com.banda.core.MultiSet<TYPE> reactants)
           
 
Methods inherited from class com.banda.core.domain.TechnicalDomainObject
getId, getKey, getVersion, setId, setKey, setVersion
 
Methods inherited from class com.banda.core.domain.DomainObject
copyFrom, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EvolutionRule

public EvolutionRule()
Method Detail

getReactants

public com.banda.core.MultiSet<TYPE> getReactants()

setReactants

protected void setReactants(com.banda.core.MultiSet<TYPE> reactants)

addReactant

public void addReactant(TYPE reactant)

removeReactant

public void removeReactant(TYPE reactant)

getProducts

public Set<TYPE> getProducts()

setProducts

protected void setProducts(com.banda.core.MultiSet<TYPE> products)

addProduct

public void addProduct(TYPE product)

removeProduct

public void removeProduct(TYPE product)

getPriority

public Integer getPriority()

setPriority

public void setPriority(Integer priority)


Copyright © 2013. All Rights Reserved.