|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.feature.PropertyImpl
org.geotools.feature.AttributeImpl
org.geotools.feature.GeometryAttributeImpl
public class GeometryAttributeImpl
TODO: rename to GeometricAttribute Provides ...TODO summary sentence
TODO Description
Example Use:
GeometryAttributeType x = new GeometryAttributeType( ... );
TODO code example
Field Summary | |
---|---|
protected org.opengis.geometry.BoundingBox |
bounds
bounds, derived |
Fields inherited from class org.geotools.feature.AttributeImpl |
---|
id |
Fields inherited from class org.geotools.feature.PropertyImpl |
---|
descriptor, userData, value |
Constructor Summary | |
---|---|
GeometryAttributeImpl(java.lang.Object content,
org.opengis.feature.type.GeometryDescriptor descriptor,
org.opengis.filter.identity.Identifier id)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Override of equals. |
org.opengis.geometry.BoundingBox |
getBounds()
Returns the non null envelope of this attribute. |
org.opengis.feature.type.GeometryDescriptor |
getDescriptor()
|
org.opengis.feature.type.GeometryType |
getType()
|
com.vividsolutions.jts.geom.Geometry |
getValue()
|
int |
hashCode()
Override of hashCode. |
void |
setBounds(org.opengis.geometry.BoundingBox bbox)
Set the bounds for the contained geometry. |
void |
setValue(com.vividsolutions.jts.geom.Geometry geometry)
|
void |
setValue(java.lang.Object newValue)
Override of setValue to convert the newValue to specified type if need be. |
java.lang.String |
toString()
|
Methods inherited from class org.geotools.feature.AttributeImpl |
---|
getIdentifier, parse, validate |
Methods inherited from class org.geotools.feature.PropertyImpl |
---|
getName, getUserData, isNillable |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.feature.Attribute |
---|
getIdentifier, validate |
Methods inherited from interface org.opengis.feature.Property |
---|
getName, getUserData, isNillable |
Field Detail |
---|
protected org.opengis.geometry.BoundingBox bounds
Constructor Detail |
---|
public GeometryAttributeImpl(java.lang.Object content, org.opengis.feature.type.GeometryDescriptor descriptor, org.opengis.filter.identity.Identifier id)
Method Detail |
---|
public org.opengis.feature.type.GeometryType getType()
getType
in interface org.opengis.feature.Attribute
getType
in interface org.opengis.feature.GeometryAttribute
getType
in interface org.opengis.feature.Property
getType
in class AttributeImpl
public org.opengis.feature.type.GeometryDescriptor getDescriptor()
getDescriptor
in interface org.opengis.feature.Attribute
getDescriptor
in interface org.opengis.feature.GeometryAttribute
getDescriptor
in interface org.opengis.feature.Property
getDescriptor
in class AttributeImpl
public com.vividsolutions.jts.geom.Geometry getValue()
getValue
in interface org.opengis.feature.Property
getValue
in class PropertyImpl
public void setValue(java.lang.Object newValue) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException
AttributeImpl
setValue
in interface org.opengis.feature.Property
setValue
in class AttributeImpl
java.lang.IllegalArgumentException
java.lang.IllegalStateException
public void setValue(com.vividsolutions.jts.geom.Geometry geometry)
public void setBounds(org.opengis.geometry.BoundingBox bbox)
setBounds
in interface org.opengis.feature.GeometryAttribute
public org.opengis.geometry.BoundingBox getBounds()
null
the returned Envelope
isNull()
is true.
getBounds
in interface org.opengis.feature.GeometryAttribute
public boolean equals(java.lang.Object o)
AttributeImpl
equals
in class AttributeImpl
public int hashCode()
AttributeImpl
hashCode
in class AttributeImpl
public java.lang.String toString()
toString
in class AttributeImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |