com.banda.chemistry.domain
Class AcAction

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

public class AcAction
extends com.banda.core.domain.TechnicalDomainObject
implements Comparable<AcAction>

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
AcAction()
           
 
Method Summary
 void addSpeciesActions(Collection<AcSpeciesAction> speciesActions)
           
 void addToSpeciesActions(AcSpeciesAction speciesAction)
           
 int compareTo(AcAction action)
           
 AcActionSeries getActionSeries()
           
 Integer getApplyTime()
           
 Integer getApplyTime(Integer repetition)
           
 Collection<AcSpecies> getPreviousActionSpecies()
           
 Collection<AcSpecies> getSpecies()
           
 Set<AcSpeciesAction> getSpeciesActions()
           
 AcSpeciesSet getSpeciesSet()
           
 boolean hasPreviousActionSpecies()
           
 void initSpeciesActions()
           
 boolean isApplicable(double currentTime, int repetition)
           
 boolean isUseAllPreviousActionMagnitudes()
           
 void removeAllSpeciesActions()
           
 void removeFromSpeciesActions(AcSpeciesAction speciesAction)
           
protected  void setActionSeries(AcActionSeries actionSeries)
           
 void setApplyTime(Integer timeToApply)
           
 void setPreviousActionSpecies(Collection<AcSpecies> previousActionSpecies)
           
protected  void setSpeciesActions(Set<AcSpeciesAction> speciesActions)
           
 void setUseAllPreviousActionMagnitudes(boolean useAllPreviousActionMagnitudes)
           
 String toString()
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AcAction

public AcAction()
Method Detail

getApplyTime

public Integer getApplyTime()

setApplyTime

public void setApplyTime(Integer timeToApply)

getSpeciesActions

public Set<AcSpeciesAction> getSpeciesActions()

initSpeciesActions

public void initSpeciesActions()

setSpeciesActions

protected void setSpeciesActions(Set<AcSpeciesAction> speciesActions)

addToSpeciesActions

public void addToSpeciesActions(AcSpeciesAction speciesAction)

addSpeciesActions

public void addSpeciesActions(Collection<AcSpeciesAction> speciesActions)

removeFromSpeciesActions

public void removeFromSpeciesActions(AcSpeciesAction speciesAction)

removeAllSpeciesActions

public void removeAllSpeciesActions()

getActionSeries

public AcActionSeries getActionSeries()

setActionSeries

protected void setActionSeries(AcActionSeries actionSeries)

isApplicable

public boolean isApplicable(double currentTime,
                            int repetition)

getApplyTime

public Integer getApplyTime(Integer repetition)

getSpeciesSet

public AcSpeciesSet getSpeciesSet()

getSpecies

public Collection<AcSpecies> getSpecies()

isUseAllPreviousActionMagnitudes

public boolean isUseAllPreviousActionMagnitudes()

setUseAllPreviousActionMagnitudes

public void setUseAllPreviousActionMagnitudes(boolean useAllPreviousActionMagnitudes)

hasPreviousActionSpecies

public boolean hasPreviousActionSpecies()

getPreviousActionSpecies

public Collection<AcSpecies> getPreviousActionSpecies()

setPreviousActionSpecies

public void setPreviousActionSpecies(Collection<AcSpecies> previousActionSpecies)

toString

public String toString()
Overrides:
toString in class com.banda.core.domain.DomainObject<Long>
See Also:
Object.toString()

compareTo

public int compareTo(AcAction action)
Specified by:
compareTo in interface Comparable<AcAction>


Copyright © 2013. All Rights Reserved.