public class DefaultBandQuery extends java.lang.Object implements BandQuery
BandQuery
.Constructor and Description |
---|
DefaultBandQuery()
Empty constructor
|
DefaultBandQuery(int band,
BandDescriptor bandDescriptor)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a copy of the object.
|
int |
getBand()
Band of this query band.
|
BandDescriptor |
getDescriptor()
Gets
BandDescriptor of this query. |
java.lang.Object |
getValue(java.lang.String name)
Gets the defined filter value of
BandAttributeDescriptor with the
name received as parameter. |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
static void |
registerPersistenceDefinition() |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setValue(java.lang.String name,
java.lang.Object value)
Sets filter raster band value.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cloneQuietly, cloneQuietly
public DefaultBandQuery()
public DefaultBandQuery(int band, BandDescriptor bandDescriptor)
band
- Band of this BandQuerybandDescriptor
- Descriptor of bandpublic int getBand()
BandQuery
public BandDescriptor getDescriptor()
BandQuery
BandDescriptor
of this query.getDescriptor
in interface BandQuery
public void setValue(java.lang.String name, java.lang.Object value)
BandQuery
BandAttributeDescriptor
with the name received as parameter.setValue
in interface BandQuery
name
- Name of BandAttributeDescriptor
to check if value is
accepted by it.value
- Value to apply filter.public java.lang.Object getValue(java.lang.String name)
BandQuery
BandAttributeDescriptor
with the
name received as parameter.getValue
in interface BandQuery
name
- Name of BandAttributeDescriptor
public static void registerPersistenceDefinition()
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
PersistenceException
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
PersistenceException
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
Cloneable
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if the instance of the object cannot
be cloned. As this is extending Cloneable
so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.