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