/** Set the code identifying a registered standard procedure. */ public synchronized void setMeasureIdentification(final Identifier newValue) { checkWritePermission(); measureIdentification = newValue; }
/** Set the description of the measure being determined. */ public synchronized void setMeasureDescription(final InternationalString newValue) { checkWritePermission(); measureDescription = newValue; }
/** Set the ype of method used to evaluate quality of the dataset. */ public synchronized void setEvaluationMethodType(final EvaluationMethodType newValue) { checkWritePermission(); evaluationMethodType = newValue; }
/** Set the description of the evaluation method. */ public synchronized void setEvaluationMethodDescription(final InternationalString newValue) { checkWritePermission(); evaluationMethodDescription = newValue; }
/** Set the reference to the procedure information. */ public synchronized void setEvaluationProcedure(final Citation newValue) { checkWritePermission(); evaluationProcedure = newValue; }
/** * Set the date or range of dates on which a data quality measure was applied. The collection * size is 1 for a single date, or 2 for a range. * * @since 2.4 */ public void setDates(final Collection<Date> newValues) { checkWritePermission(); date1 = date2 = Long.MIN_VALUE; final Iterator<Date> it = newValues.iterator(); if (it.hasNext()) { date1 = it.next().getTime(); if (it.hasNext()) { date2 = it.next().getTime(); if (it.hasNext()) { throw new IllegalArgumentException( Errors.format(ErrorKeys.MISMATCHED_ARRAY_LENGTH)); } } } }
/** * Set the description of the evaluation method. */ public synchronized void setEvaluationMethodDescription(final InternationalString newValue) { checkWritePermission(); evaluationMethodDescription = newValue; }
/** * Set the reference to the procedure information. */ public synchronized void setEvaluationProcedure(final Citation newValue) { checkWritePermission(); evaluationProcedure = newValue; }
/** * Set the reference to the procedure information. */ public synchronized void setEvaluationProcedure(final Citation newValue) { checkWritePermission(); evaluationProcedure = newValue; }
/** * Set the description of the measure being determined. */ public synchronized void setMeasureDescription(final InternationalString newValue) { checkWritePermission(); measureDescription = newValue; }
/** * Set the description of the evaluation method. */ public synchronized void setEvaluationMethodDescription(final InternationalString newValue) { checkWritePermission(); evaluationMethodDescription = newValue; }
/** * Set the description of the measure being determined. */ public synchronized void setMeasureDescription(final InternationalString newValue) { checkWritePermission(); measureDescription = newValue; }
/** * Set the ype of method used to evaluate quality of the dataset. */ public synchronized void setEvaluationMethodType(final EvaluationMethodType newValue) { checkWritePermission(); evaluationMethodType = newValue; }
/** * Set the code identifying a registered standard procedure. */ public synchronized void setMeasureIdentification(final Identifier newValue) { checkWritePermission(); measureIdentification = newValue; }
/** * Set the ype of method used to evaluate quality of the dataset. */ public synchronized void setEvaluationMethodType(final EvaluationMethodType newValue) { checkWritePermission(); evaluationMethodType = newValue; }
/** * Set the code identifying a registered standard procedure. */ public synchronized void setMeasureIdentification(final Identifier newValue) { checkWritePermission(); measureIdentification = newValue; }
/** * Set the date or range of dates on which a data quality measure was applied. * The array length is 1 for a single date, or 2 for a range. * * @deprecated Use {@link #setDates(Collection)} instead. */ public synchronized void setDate(final Date[] newValue) { checkWritePermission(); date1 = date2 = Long.MIN_VALUE; if (newValue != null) { switch (newValue.length) { default: throw new IllegalArgumentException( Errors.format(ErrorKeys.MISMATCHED_ARRAY_LENGTH)); case 2: date2 = newValue[1].getTime(); // Fall through case 1: date1 = newValue[0].getTime(); // Fall through case 0: break; } } }
/** * Set the date or range of dates on which a data quality measure was applied. * The collection size is 1 for a single date, or 2 for a range. * * @since 2.4 */ public void setDates(final Collection<Date> newValues) { checkWritePermission(); date1 = date2 = Long.MIN_VALUE; final Iterator<Date> it = newValues.iterator(); if (it.hasNext()) { date1 = it.next().getTime(); if (it.hasNext()) { date2 = it.next().getTime(); if (it.hasNext()) { throw new IllegalArgumentException( Errors.format(ErrorKeys.MISMATCHED_ARRAY_LENGTH)); } } } }