Project

General

Profile

« Previous | Next » 

Revision 892efc69

Added by Andreas Kohlbecker almost 14 years ago

merging /branches/cdmlib/SPRINT-Chichorieae1/ to trunk

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/occurrence/DerivedUnitBase.java
128 128
	 */
129 129
	protected DerivedUnitBase(GatheringEvent gatheringEvent) {
130 130
		this(new FieldObservation());
131
		FieldObservation field = (FieldObservation) this.getOriginalUnit();
131
		FieldObservation field = (FieldObservation)this.getOriginalUnit();
132 132
		field.setGatheringEvent(gatheringEvent);
133 133
	}
134 134

  
......
143 143
		}
144 144
		this.derivationEvent = derivedFrom;
145 145
		if (derivedFrom != null){
146
			derivedFrom.getDerivatives().add(this);
146
			derivedFrom.addDerivative(this);
147 147
		}
148 148
	}
149 149
	
......
202 202
		return storedUnder;
203 203
	}
204 204
	
205
	//*********** CLONE **********************************/	
205
//*********** CLONE **********************************/	
206 206
	
207 207
	/** 
208 208
	 * Clones <i>this</i> derivedUnitBase. This is a shortcut that enables to

Also available in: Unified diff