/** * Invoked by JAXB at unmarshalling time. * * @see #getDatum() */ private void setDatum(final EngineeringDatum value) { if (datum == null) { datum = value; } else { MetadataUtilities.propertyAlreadySet(DefaultEngineeringCRS.class, "setDatum", "engineeringDatum"); } }
/** * Invoked by JAXB at unmarshalling time. * * @see #getAbbreviation() */ private void setAbbreviation(final String value) { if (abbreviation == null) { abbreviation = value; } else { MetadataUtilities.propertyAlreadySet(DefaultCoordinateSystemAxis.class, "setAbbreviation", "abbreviation"); } }
/** * Invoked by JAXB at unmarshalling time. * * @see #getDirection() */ private void setDirection(final AxisDirection value) { if (direction == null) { direction = value; } else { MetadataUtilities.propertyAlreadySet(DefaultCoordinateSystemAxis.class, "setDirection", "direction"); } }
/** * Invoked by JAXB at unmarshalling time. * * @see #getUnit() */ private void setUnit(final Unit<?> value) { if (unit == null) { unit = value; } else { MetadataUtilities.propertyAlreadySet(DefaultCoordinateSystemAxis.class, "setUnit", "unit"); } }
/** * Invoked by JAXB only at unmarshalling time. * * @see #getAnchorPoint() */ private void setAnchorPoint(final InternationalString value) { if (anchorDefinition == null) { anchorDefinition = value; } else { MetadataUtilities.propertyAlreadySet(AbstractDatum.class, "setAnchorPoint", "anchorDefinition"); } }
/** * Invoked by JAXB only at unmarshalling time. * * @see #getOperationVersion() */ private void setOperationVersion(final String value) { if (operationVersion == null) { operationVersion = value; } else { MetadataUtilities.propertyAlreadySet(AbstractCoordinateOperation.class, "setOperationVersion", "operationVersion"); } }
/** * Invoked by JAXB only at unmarshalling time. * * @see #getDomainOfValidity() */ private void setDomainOfValidity(final Extent value) { if (domainOfValidity == null) { domainOfValidity = value; } else { MetadataUtilities.propertyAlreadySet(AbstractCoordinateOperation.class, "setDomainOfValidity", "domainOfValidity"); } }
/** * Invoked by JAXB at unmarshalling time. * * @see #getDatum() */ private void setDatum(final VerticalDatum value) { if (datum == null) { datum = value; } else { MetadataUtilities.propertyAlreadySet(DefaultVerticalCRS.class, "setDatum", "verticalDatum"); } }
/** * Invoked by JAXB at unmarshalling time. * * @see #getSourceDimensions() */ private void setSourceDimensions(final Integer value) { if (sourceDimensions == null) { sourceDimensions = value; } else { MetadataUtilities.propertyAlreadySet(DefaultOperationMethod.class, "setSourceDimensions", "sourceDimensions"); } }
/** * Invoked by JAXB at unmarshalling time. * * @see #getDatum() */ private void setDatum(final ImageDatum value) { if (datum == null) { datum = value; } else { MetadataUtilities.propertyAlreadySet(DefaultImageCRS.class, "setDatum", "imageDatum"); } }
/** * Invoked by JAXB at unmarshalling time. * * @see #getMethod() */ private void setMethod(final OperationMethod value) { if (method == null) { method = value; } else { MetadataUtilities.propertyAlreadySet(AbstractSingleOperation.class, "setMethod", "method"); } }
/** * Invoked by JAXB at unmarshalling time. * * @see #getDatum() */ private void setDatum(final GeodeticDatum value) { if (datum == null) { datum = value; } else { MetadataUtilities.propertyAlreadySet(DefaultGeodeticCRS.class, "setDatum", "geodeticDatum"); } }
/** * Invoked by JAXB at unmarshalling time. * * @see #getDatum() */ private void setDatum(final DefaultParametricDatum value) { if (datum == null) { datum = value; } else { MetadataUtilities.propertyAlreadySet(DefaultParametricCRS.class, "setDatum", "parametricDatum"); } }
/** * Invoked by JAXB only at unmarshalling time. * * @see #getRealizationEpoch() */ private void setRealizationEpoch(final Date value) { if (realizationEpoch == Long.MIN_VALUE) { realizationEpoch = value.getTime(); } else { MetadataUtilities.propertyAlreadySet(AbstractDatum.class, "setRealizationEpoch", "realizationEpoch"); } }
/** * Invoked by JAXB at unmarshalling time for setting the target CRS. */ private void setTarget(final CoordinateReferenceSystem crs) { if (targetCRS == null) { targetCRS = crs; } else if (!targetCRS.equals(crs)) { // Could be defined by ConcatenatedOperation. MetadataUtilities.propertyAlreadySet(AbstractCoordinateOperation.class, "setTarget", "targetCRS"); } }
/** * Invoked by JAXB at marshalling time for setting the source CRS. */ private void setSource(final CoordinateReferenceSystem crs) { if (sourceCRS == null) { sourceCRS = crs; } else if (!sourceCRS.equals(crs)) { // Could be defined by ConcatenatedOperation. MetadataUtilities.propertyAlreadySet(AbstractCoordinateOperation.class, "setSource", "sourceCRS"); } }
/** * Invoked by JAXB at unmarshalling time for setting the target CRS. */ private void setTarget(final CoordinateReferenceSystem crs) { if (targetCRS == null) { targetCRS = crs; } else if (!targetCRS.equals(crs)) { // Could be defined by ConcatenatedOperation. MetadataUtilities.propertyAlreadySet(AbstractCoordinateOperation.class, "setTarget", "targetCRS"); } }
/** * Invoked by JAXB only at unmarshalling time. */ private void setAccuracy(final PositionalAccuracy[] values) { if (coordinateOperationAccuracy == null) { coordinateOperationAccuracy = UnmodifiableArrayList.wrap(values); } else { MetadataUtilities.propertyAlreadySet(AbstractCoordinateOperation.class, "setAccuracy", "coordinateOperationAccuracy"); } }
/** * Invoked by JAXB for setting the unmarshalled parameter descriptors. */ private void setDescriptors(final GeneralParameterDescriptor[] parameters) { if (descriptors.isEmpty()) { verifyNames(null, parameters); descriptors = asList(parameters); } else { MetadataUtilities.propertyAlreadySet(DefaultParameterValue.class, "setDescriptors", "parameter"); } }
/** * Invoked by JAXB for setting the formula description. */ private void setFormulaDescription(final String description) { if (formula == null || formula.getFormula() == null) { formula = (formula == null) ? new DefaultFormula(description) : new DefaultFormula(new SimpleInternationalString(description), formula.getCitation()); } else { MetadataUtilities.propertyAlreadySet(DefaultOperationMethod.class, "setFormulaDescription", "formula"); } }