| java.lang.Object org.geotools.feature.iso.type.PropertyTypeImpl org.geotools.feature.iso.type.AttributeTypeImpl
All known Subclasses: org.geotools.feature.iso.type.GeometryTypeImpl, org.geotools.feature.iso.type.ComplexTypeImpl,
AttributeTypeImpl | public class AttributeTypeImpl extends PropertyTypeImpl implements AttributeType(Code) | | Base class for attribute types.
author: Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org |
Constructor Summary | |
public | AttributeTypeImpl(Name name, Class binding, boolean identified, boolean isAbstract, Set restrictions, AttributeType superType, InternationalString description) |
IDENTIFIED | final protected boolean IDENTIFIED(Code) | | |
SUPER | final protected AttributeType SUPER(Code) | | |
AttributeTypeImpl | public AttributeTypeImpl(Name name, Class binding, boolean identified, boolean isAbstract, Set restrictions, AttributeType superType, InternationalString description)(Code) | | |
equals | public boolean equals(Object other)(Code) | | Override of equals.
Parameters: other - the object to be tested for equality. whether other is equal to this attribute Type. |
getSuper | public AttributeType getSuper()(Code) | | |
hashCode | public int hashCode()(Code) | | Override of hashCode.
hashCode for this object. |
isIdentified | public boolean isIdentified()(Code) | | |
parse | public Object parse(Object value) throws IllegalArgumentException(Code) | | Allows this AttributeType to convert an argument to its prefered storage
type. If no parsing is possible, returns the original value. If a parse
is attempted, yet fails (i.e. a poor decimal format) throw the Exception.
This is mostly for use internally in Features, but implementors should
simply follow the rules to be safe.
Parameters: value - the object to attempt parsing of. value converted to the preferred storage of thisAttributeType . If no parsing was possible thenthe same object is returned. throws: IllegalArgumentException - if parsing is attempted and is unsuccessful. |
|
|