@UML(identifier="MD_SampleDimension", specification=ISO_19115) public class DefaultSampleDimension extends DefaultRangeDimension
MD_SampleDimension
└─units……………………… Units of data in each dimension included in the resource.SampleDimension interface.
Limitations:
XML instead.Defined in the sis-metadata module
identifiers| Constructor and Description |
|---|
DefaultSampleDimension()
Constructs an initially empty sample dimension.
|
DefaultSampleDimension(DefaultSampleDimension object)
Constructs a new instance initialized with the values from the specified metadata object.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getBitsPerValue()
Returns the maximum number of significant bits in the uncompressed representation
for the value in each band of each pixel.
|
Double |
getMaxValue()
Returns the maximum value of data values in each dimension included in the resource.
|
Double |
getMeanValue()
Returns the mean value of data values in each dimension included in the resource.
|
Double |
getMinValue()
Returns the minimum value of data values in each dimension included in the resource.
|
Double |
getNominalSpatialResolution()
Returns the smallest distance between which separate points can be distinguished,
as specified in instrument design.
|
Integer |
getNumberOfValues()
Returns the number of values used in a thematic classification resource.
|
Double |
getOffset()
Returns the physical value corresponding to a cell value of zero.
|
Record |
getOtherProperty()
Returns instance of other/attributeType that defines attributes not explicitly
included in
CoverageContentType, or null if none. |
RecordType |
getOtherPropertyType()
Returns type of other attribute description.
|
Double |
getScaleFactor()
Returns the scale factor which has been applied to the cell value.
|
Double |
getStandardDeviation()
Returns the standard deviation of data values in each dimension included in the resource.
|
TransferFunctionType |
getTransferFunctionType()
Returns type of transfer function to be used when scaling a physical value for a given element.
|
Unit<?> |
getUnits()
Returns the units of data in the dimension.
|
void |
setBitsPerValue(Integer newValue)
Sets the maximum number of significant bits in the uncompressed representation
for the value in each band of each pixel.
|
void |
setMaxValue(Double newValue)
Sets the maximum value of data values in each dimension included in the resource.
|
void |
setMeanValue(Double newValue)
Sets the mean value of data values in each dimension included in the resource.
|
void |
setMinValue(Double newValue)
Sets the minimum value of data values in each dimension included in the resource.
|
void |
setNominalSpatialResolution(Double newValue)
Sets the smallest distance between which separate points can be distinguished,
as specified in instrument design.
|
void |
setNumberOfValues(Integer newValue)
Sets the number of values used in a thematic classification resource.
|
void |
setOffset(Double newValue)
Sets the physical value corresponding to a cell value of zero.
|
void |
setOtherProperty(Record newValue)
Sets a new instance of other/attributeType that defines attributes not explicitly
included in
CoverageContentType. |
void |
setOtherPropertyType(RecordType newValue)
Sets a new type of other attribute description.
|
void |
setScaleFactor(Double newValue)
Sets the scale factor which has been applied to the cell value.
|
void |
setStandardDeviation(Double newValue)
Sets the standard deviation of data values in each dimension included in the resource.
|
void |
setTransferFunctionType(TransferFunctionType newValue)
Sets the type of transfer function to be used when scaling a physical value for a given element.
|
void |
setUnits(Unit<?> newValue)
Sets the units of data in the dimension.
|
castOrCopy, getDescription, getDescriptor, getNames, getSequenceIdentifier, setDescription, setDescriptor, setNames, setSequenceIdentifierfreeze, getIdentifierMap, getIdentifiers, getStandardcheckWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSetasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringpublic DefaultSampleDimension()
public DefaultSampleDimension(DefaultSampleDimension object)
object - the metadata to copy values from, or null if none.@ValueRange(minimum=0.0) @UML(identifier="numberOfValues", obligation=OPTIONAL, specification=ISO_19115) public Integer getNumberOfValues()
null if none.public void setNumberOfValues(Integer newValue)
newValue - the new number of values used in a thematic classification resource.IllegalArgumentException - if the given value is negative.@UML(identifier="minValue", obligation=OPTIONAL, specification=ISO_19115) public Double getMinValue()
null if unspecified.public void setMinValue(Double newValue)
newValue - the new new minimum value.@UML(identifier="maxValue", obligation=OPTIONAL, specification=ISO_19115) public Double getMaxValue()
null if unspecified.public void setMaxValue(Double newValue)
newValue - the new new maximum value.@UML(identifier="meanValue", obligation=OPTIONAL, specification=ISO_19115) public Double getMeanValue()
null if none.public void setMeanValue(Double newValue)
newValue - the new mean value of data values in each dimension included in the resource.@UML(identifier="standardDeviation", obligation=OPTIONAL, specification=ISO_19115) public Double getStandardDeviation()
null if none.public void setStandardDeviation(Double newValue)
newValue - the new standard deviation of data values in each dimension included in the resource.@UML(identifier="units", obligation=CONDITIONAL, specification=ISO_19115) public Unit<?> getUnits()
null if unspecified.public void setUnits(Unit<?> newValue)
newValue - the new units of data in the dimension.@UML(identifier="scaleFactor", obligation=OPTIONAL, specification=ISO_19115) public Double getScaleFactor()
null if none.public void setScaleFactor(Double newValue)
newValue - the new scale factor which has been applied to the cell value.@UML(identifier="offset", obligation=OPTIONAL, specification=ISO_19115) public Double getOffset()
null if none.public void setOffset(Double newValue)
newValue - the new physical value corresponding to a cell value of zero.public TransferFunctionType getTransferFunctionType()
null.public void setTransferFunctionType(TransferFunctionType newValue)
newValue - the new transfer function value.@ValueRange(minimum=1.0) @UML(identifier="bitsPerValue", obligation=OPTIONAL, specification=ISO_19115) public Integer getBitsPerValue()
null if none.public void setBitsPerValue(Integer newValue)
newValue - the new maximum number of significant bits.IllegalArgumentException - if the given value is zero or negative.@ValueRange(minimum=0.0, isMinIncluded=false) public Double getNominalSpatialResolution()
null.public void setNominalSpatialResolution(Double newValue)
newValue - the new nominal spatial resolution.IllegalArgumentException - if the given value is negative.@UML(identifier="otherPropertyType", obligation=OPTIONAL, specification=ISO_19115) public RecordType getOtherPropertyType()
null if none.public void setOtherPropertyType(RecordType newValue)
newValue - the new type of other attribute description.@UML(identifier="otherProperty", obligation=OPTIONAL, specification=ISO_19115) public Record getOtherProperty()
CoverageContentType, or null if none.null if none.public void setOtherProperty(Record newValue)
CoverageContentType.newValue - the new instance of other/attributeType.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.