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