org.geotools.feature.type
Class ReadonlyAttributeDecorator
Object
ReadonlyAttributeDecorator
- All Implemented Interfaces:
- Attribute, Property
public final class ReadonlyAttributeDecorator
- extends Object
- implements Attribute
Readonly wrapper around the provided Attribute.
This class is used by Types in order to protect provided attributes from modification
during evaluation.
- Module:
modules/library/main (gt-main.jar)
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadonlyAttributeDecorator
public ReadonlyAttributeDecorator(Attribute delegate)
getType
public AttributeType getType()
- Specified by:
getType
in interface Attribute
- Specified by:
getType
in interface Property
getIdentifier
public Identifier getIdentifier()
- Specified by:
getIdentifier
in interface Attribute
getValue
public Object getValue()
- Specified by:
getValue
in interface Property
setValue
public void setValue(Object newValue)
throws IllegalArgumentException
- Specified by:
setValue
in interface Property
- Throws:
IllegalArgumentException
getDescriptor
public AttributeDescriptor getDescriptor()
- Specified by:
getDescriptor
in interface Attribute
- Specified by:
getDescriptor
in interface Property
getName
public Name getName()
- Specified by:
getName
in interface Property
getUserData
public Map<Object,Object> getUserData()
- Specified by:
getUserData
in interface Property
isNillable
public boolean isNillable()
- Specified by:
isNillable
in interface Property
validate
public void validate()
- Specified by:
validate
in interface Attribute
Copyright © 1996-2010 Geotools. All Rights Reserved.