Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
 /**
  * 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);
   }
 }