public CoverageDimensionImpl(CoverageDimensionInfo other) { this.id = other.getId(); this.name = other.getName(); this.description = other.getDescription(); this.range = other.getRange(); this.nullValues = other.getNullValues(); this.unit = other.getUnit(); this.dimensionType = other.getDimensionType(); }
/** * Tries to encode a meaningful range for a {@link SampleDimension}. * * @param sd the {@link CoverageDimensionInfo} to encode a meaningful range for. */ public void handleSampleDimensionRange(CoverageDimensionInfo sd) { if (!setRange(sd.getRange())) { SampleDimensionType sdType = sd.getDimensionType(); handleSampleDimensionType(sdType); } }