public class MediumImpl extends MetadataEntity implements Medium
LOGGER
Constructor and Description |
---|
MediumImpl()
Constructs an initially empty medium.
|
MediumImpl(Medium source)
Constructs a metadata entity initialized with the values from the specified metadata.
|
Modifier and Type | Method and Description |
---|---|
Collection<Double> |
getDensities()
Returns the density at which the data is recorded.
|
Unit |
getDensityUnits()
Returns the units of measure for the recording density.
|
Collection<MediumFormat> |
getMediumFormats()
Returns the method used to write to the medium.
|
InternationalString |
getMediumNote()
Returns a description of other limitations or requirements for using the medium.
|
MediumName |
getName()
Returns the name of the medium on which the resource can be received.
|
Integer |
getVolumes()
Returns the number of items in the media identified.
|
void |
setDensities(Collection<? extends Double> newValues)
Set density at which the data is recorded.
|
void |
setDensityUnits(Unit newValue)
Set the units of measure for the recording density.
|
void |
setMediumFormats(Collection<? extends MediumFormat> newValues)
Set the method used to write to the medium.
|
void |
setMediumNote(InternationalString newValue)
Set a description of other limitations or requirements for using the medium.
|
void |
setName(MediumName newValue)
Set the name of the medium on which the resource can be received.
|
void |
setVolumes(Integer newValue)
Set the number of items in the media identified.
|
ensureNonNull, getStandard
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
asMap, asTree, equals, getInterface, hashCode, toString
public MediumImpl()
public MediumImpl(Medium source)
public MediumName getName()
public void setName(MediumName newValue)
public Unit getDensityUnits()
getDensityUnits
in interface Medium
null
.public void setDensityUnits(Unit newValue)
public Integer getVolumes()
null
if unknown.getVolumes
in interface Medium
null
.public void setVolumes(Integer newValue)
null
if unknown.public Collection<MediumFormat> getMediumFormats()
getMediumFormats
in interface Medium
null
.public void setMediumFormats(Collection<? extends MediumFormat> newValues)
public InternationalString getMediumNote()
getMediumNote
in interface Medium
null
.public void setMediumNote(InternationalString newValue)
public Collection<Double> getDensities()
getDensities
in interface Medium
null
.public void setDensities(Collection<? extends Double> newValues)
Copyright © 1996–2019 Geotools. All rights reserved.