provided protected getters and setter for parentlogging to allow derived classes access to the logging features

This commit is contained in:
Michael de Paly 2009-10-16 15:56:49 +00:00
parent e173da91e1
commit e56af4fb60

View File

@ -984,6 +984,23 @@ public abstract class AbstractEAIndividual implements IndividualInterface, java.
public double[] getDoublePosition() { public double[] getDoublePosition() {
return AbstractEAIndividual.getDoublePosition(this); return AbstractEAIndividual.getDoublePosition(this);
} }
/**
* @return true if parent history logging is activated
*
*/
protected boolean isLogParents() {
return logParents;
}
/** This method allows you to toggle parent history logging
* @param logParents true if logging should be activated
*/
protected void setLogParents(boolean logParents) {
this.logParents = logParents;
}
/********************************************************************************************************************** /**********************************************************************************************************************
* Implementing the Individual Interface * Implementing the Individual Interface
*/ */