org.geotools.feature
Class PropertyImpl
Object
PropertyImpl
- All Implemented Interfaces:
- Property
- Direct Known Subclasses:
- AssociationImpl, AttributeImpl, LenientAttribute
public abstract class PropertyImpl
- extends Object
- implements Property
Implementation of Property.
- Author:
- Justin Deoliveira, The Open Planning Project
- Module:
modules/library/main (gt-main.jar)
value
protected Object value
- content of the property
descriptor
protected PropertyDescriptor descriptor
- descriptor of the property
userData
protected final Map<Object,Object> userData
- user data
PropertyImpl
protected PropertyImpl(Object value,
PropertyDescriptor descriptor)
getValue
public Object getValue()
- Specified by:
getValue
in interface Property
setValue
public void setValue(Object value)
- Specified by:
setValue
in interface Property
getDescriptor
public PropertyDescriptor getDescriptor()
- Specified by:
getDescriptor
in interface Property
getName
public Name getName()
- Specified by:
getName
in interface Property
getType
public PropertyType getType()
- Specified by:
getType
in interface Property
isNillable
public boolean isNillable()
- Specified by:
isNillable
in interface Property
getUserData
public Map<Object,Object> getUserData()
- Specified by:
getUserData
in interface Property
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1996-2009 Geotools. All Rights Reserved.