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, waitcloneQuietly, cloneQuietlypublic DefaultBandQuery()
public DefaultBandQuery(int band,
BandDescriptor bandDescriptor)
band - Band of this BandQuerybandDescriptor - Descriptor of bandpublic int getBand()
BandQuerypublic BandDescriptor getDescriptor()
BandQueryBandDescriptor of this query.getDescriptor in interface BandQuerypublic void setValue(java.lang.String name,
java.lang.Object value)
BandQueryBandAttributeDescriptor with the name received as parameter.setValue in interface BandQueryname - 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)
BandQueryBandAttributeDescriptor with the
name received as parameter.getValue in interface BandQueryname - Name of BandAttributeDescriptorpublic static void registerPersistenceDefinition()
public void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentPersistenceExceptionpublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentPersistenceExceptionpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Cloneableclone in class java.lang.Objectjava.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()}.