org.geotools.feature
Class ComplexAttributeImpl
Object
PropertyImpl
AttributeImpl
ComplexAttributeImpl
- All Implemented Interfaces:
- Attribute, ComplexAttribute, Property
- Direct Known Subclasses:
- FeatureImpl
public class ComplexAttributeImpl
- extends AttributeImpl
- implements ComplexAttribute
Methods inherited from interface ComplexAttribute |
validate |
Methods inherited from interface Attribute |
getDescriptor, getIdentifier |
Methods inherited from interface Property |
getName, getUserData, isNillable |
ComplexAttributeImpl
public ComplexAttributeImpl(Collection<Property> properties,
AttributeDescriptor descriptor,
Identifier id)
ComplexAttributeImpl
public ComplexAttributeImpl(Collection<Property> properties,
ComplexType type,
Identifier id)
getType
public ComplexType getType()
- Specified by:
getType
in interface Attribute
- Specified by:
getType
in interface ComplexAttribute
- Specified by:
getType
in interface Property
- Overrides:
getType
in class AttributeImpl
getValue
public Collection<? extends Property> getValue()
- Specified by:
getValue
in interface ComplexAttribute
- Specified by:
getValue
in interface Property
- Overrides:
getValue
in class PropertyImpl
getProperties
public Collection<Property> getProperties()
- Specified by:
getProperties
in interface ComplexAttribute
properties
protected Collection properties()
- Internal helper method for getting at the properties without wrapping
in unmodifiable collection.
getProperties
public Collection<Property> getProperties(Name name)
- Specified by:
getProperties
in interface ComplexAttribute
getProperties
public Collection<Property> getProperties(String name)
- Specified by:
getProperties
in interface ComplexAttribute
getProperty
public Property getProperty(Name name)
- Specified by:
getProperty
in interface ComplexAttribute
getProperty
public Property getProperty(String name)
- Specified by:
getProperty
in interface ComplexAttribute
setValue
public void setValue(Object newValue)
throws IllegalArgumentException,
IllegalStateException
- Description copied from class:
AttributeImpl
- Override of setValue to convert the newValue to specified type if need
be.
- Specified by:
setValue
in interface Property
- Overrides:
setValue
in class AttributeImpl
- Throws:
IllegalArgumentException
IllegalStateException
setValue
public void setValue(Collection<Property> newValue)
- Specified by:
setValue
in interface ComplexAttribute
Copyright © 1996-2009 Geotools. All Rights Reserved.