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

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

public abstract class AcVariableSet<M extends AcVariable<? extends AcVariableSet>>
extends com.banda.core.domain.TechnicalDomainObject
implements AcVariableSetIF<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
AcVariableSet()
           
 
Method Summary
 void addVariable(M variable)
           
 void addVariables(Collection<M> variables)
           
protected  boolean containsVariable(M variable)
           
 com.banda.core.domain.um.User getCreatedBy()
           
 Date getCreateTime()
           
 String getName()
           
 Collection<M> getOwnAndInheritedVariables()
           
 Collection<M> getOwnAndInheritedVariablesSorted()
           
 Collection<M> getVariables()
           
 int getVariablesNumber()
           
 Collection<M> getVariablesSorted()
           
 boolean hasOwnVariables()
           
 void initVariables()
           
 void removeVariable(M variable)
           
 void setCreatedBy(com.banda.core.domain.um.User createdBy)
           
 void setCreateTime(Date createTime)
           
 void setName(String name)
           
 void setVariables(Collection<M> variables)
           
 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
 
Methods inherited from interface com.banda.chemistry.domain.AcVariableSetIF
getNextVarSequenceNum
 

Constructor Detail

AcVariableSet

public AcVariableSet()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getCreateTime

public Date getCreateTime()

setCreateTime

public void setCreateTime(Date createTime)

getCreatedBy

public com.banda.core.domain.um.User getCreatedBy()

setCreatedBy

public void setCreatedBy(com.banda.core.domain.um.User createdBy)

initVariables

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

getVariables

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

getVariablesSorted

public Collection<M> getVariablesSorted()

getOwnAndInheritedVariables

public Collection<M> getOwnAndInheritedVariables()
Specified by:
getOwnAndInheritedVariables in interface AcVariableSetIF<M extends AcVariable<? extends AcVariableSet>>

getOwnAndInheritedVariablesSorted

public Collection<M> getOwnAndInheritedVariablesSorted()

setVariables

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

addVariable

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

addVariables

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

removeVariable

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

containsVariable

protected boolean containsVariable(M variable)

getVariablesNumber

public int getVariablesNumber()

hasOwnVariables

public boolean hasOwnVariables()

toString

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


Copyright © 2013. All Rights Reserved.