|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.tostring0.AToString com.rubecula.darwin.domain.genetics.Nuclear_
public abstract class Nuclear_
TODO need a better name for this Nuclear concept. We are trying to represent something which can reproduce either asexually (e.g. bacteria), or sexually (e.g. animals).
Field Summary |
---|
Fields inherited from interface net.sf.tostring0.IToString |
---|
ANGBR_OPEN, ANGBRA_CLSE, BRA_CLSE, BRA_OPEN, BRCE_OPEN, BRCS_CLSE, COLON, LIST_SEPARATOR, MAX_ELEMENTS_DEFAULT, S_MT, S_PERCENT, SEPARATOR, SPACE |
Constructor Summary | |
---|---|
protected |
Nuclear_(Genome genome,
java.lang.String populationTag)
Protected Primary Constructor |
Method Summary | |
---|---|
boolean |
censusMe(Census census,
java.lang.Object context)
Method to census this object. |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
|
java.util.Collection<? extends Censusible> |
getCensusibleChildren()
Method to return a list of censusible children of this object. |
java.lang.String |
getColonyId()
XXX |
Genome |
getGenome()
XXX |
int |
hashCode()
|
void |
setColonyId(java.lang.String id)
XXX consider eliminating this. |
Methods inherited from class net.sf.tostring0.AToString |
---|
toString, toString, toStringBrief, toStringId |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected Nuclear_(Genome genome, java.lang.String populationTag)
genome
- populationTag
- Method Detail |
---|
public boolean censusMe(Census census, java.lang.Object context)
Censusible
censusMe
in interface Censusible
census
- the census object which will present the results of taking
this censuscontext
- an arbitrary object which can be used by the census object to
provide appropriate context for this object.
Censusible.getCensusibleChildren()
.Censusible.censusMe(com.rubecula.darwin.domain.helper.Census,
java.lang.Object)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
Object.clone()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.util.Collection<? extends Censusible> getCensusibleChildren()
Censusible
getCensusibleChildren
in interface Censusible
ArrayList
of censusible objects.Censusible.getCensusibleChildren()
public java.lang.String getColonyId()
getColonyId
in interface Nuclear
Nuclear.getColonyId()
public Genome getGenome()
getGenome
in interface Genetic
Genetic.getGenome()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public void setColonyId(java.lang.String id)
setColonyId
in interface Nuclear
id
- the new idNuclear.setColonyId(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |