com.banda.chemistry.domain
Class AcVariableGroup<M extends AcVariable<?>>

java.lang.Object
  extended by com.banda.core.domain.DomainObject<Long>
      extended by com.banda.core.domain.TechnicalDomainObject
          extended by com.banda.chemistry.domain.AcVariableGroup<M>
All Implemented Interfaces:
AcVariableGroupIF<M>, com.banda.core.domain.KeyHolder<Long>, Serializable
Direct Known Subclasses:
AcSpeciesGroup

public class AcVariableGroup<M extends AcVariable<?>>
extends com.banda.core.domain.TechnicalDomainObject
implements AcVariableGroupIF<M>

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
AcVariableGroup()
           
AcVariableGroup(Collection<M> variables)
           
 
Method Summary
 void addVariable(M variable)
           
 void addVariables(Collection<M> variables)
           
 String getLabel()
           
 Collection<M> getVariables()
           
 void initVariables()
           
 void removeVariable(M variable)
           
 void setLabel(String label)
           
 void setVariables(Collection<M> variables)
           
 
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

AcVariableGroup

public AcVariableGroup(Collection<M> variables)

AcVariableGroup

public AcVariableGroup()
Method Detail

getLabel

public String getLabel()

setLabel

public void setLabel(String label)

addVariable

public void addVariable(M variable)
Specified by:
addVariable in interface AcVariableGroupIF<M extends AcVariable<?>>

addVariables

public void addVariables(Collection<M> variables)
Specified by:
addVariables in interface AcVariableGroupIF<M extends AcVariable<?>>

getVariables

public Collection<M> getVariables()
Specified by:
getVariables in interface AcVariableGroupIF<M extends AcVariable<?>>

initVariables

public void initVariables()
Specified by:
initVariables in interface AcVariableGroupIF<M extends AcVariable<?>>

removeVariable

public void removeVariable(M variable)
Specified by:
removeVariable in interface AcVariableGroupIF<M extends AcVariable<?>>

setVariables

public void setVariables(Collection<M> variables)
Specified by:
setVariables in interface AcVariableGroupIF<M extends AcVariable<?>>


Copyright © 2013. All Rights Reserved.