protected ComponentParameter newParameterInstance() { return new ComponentParameter(); } }
public ComponentParameter createComponentParameter(CvParameterType type, CvParameterUnit unit, Double factor) { ComponentParameter param = new ComponentParameter(getInstitution(), type, unit, factor); return param; }
public ComponentParameter createComponentParameter(CvParameterType type, CvParameterUnit unit, Double factor) { ComponentParameter param = new ComponentParameter(getInstitution(), type, unit, factor); return param; }
protected ComponentParameter cloneComponentParameter(ComponentParameter componentParameter) throws IntactClonerException { if (componentParameter == null) { throw new IllegalArgumentException("You must give a non null component parameter"); } ComponentParameter clone = new ComponentParameter(); clonerManager.addClone(componentParameter, clone); clone.setBase(componentParameter.getBase()); clone.setExponent(componentParameter.getExponent()); clone.setFactor(componentParameter.getFactor()); clone.setUncertainty(componentParameter.getUncertainty()); clone.setCvParameterType(clone(componentParameter.getCvParameterType())); clone.setCvParameterUnit(clone(componentParameter.getCvParameterUnit())); clone.setComponent(componentParameter.getComponent()); return clone; }
protected ComponentParameter cloneComponentParameter(ComponentParameter componentParameter) throws IntactClonerException { if (componentParameter == null) { throw new IllegalArgumentException("You must give a non null component parameter"); } ComponentParameter clone = new ComponentParameter(); clonerManager.addClone(componentParameter, clone); clone.setBase(componentParameter.getBase()); clone.setExponent(componentParameter.getExponent()); clone.setFactor(componentParameter.getFactor()); clone.setUncertainty(componentParameter.getUncertainty()); clone.setCvParameterType(clone(componentParameter.getCvParameterType())); clone.setCvParameterUnit(clone(componentParameter.getCvParameterUnit())); clone.setComponent(componentParameter.getComponent()); return clone; }