org.geotools.feature.type
Class TextualAttributeType
Object
PropertyDescriptorImpl
AttributeDescriptorImpl
DefaultAttributeType
TextualAttributeType
- All Implemented Interfaces:
- AttributeType, PrimativeAttributeType, AttributeDescriptor, PropertyDescriptor
public class TextualAttributeType
- extends DefaultAttributeType
- implements PrimativeAttributeType
- Module:
modules/library/legacy (gt-legacy.jar)
Method Summary |
Object |
duplicate(Object o)
Duplicate as a String |
Filter |
getRestriction()
This represents a Facet in XML schema ... for example can be used to
represent the max length of 20 for a string. |
Methods inherited from class DefaultAttributeType |
createAttributeType, createDefaultValue, equals, getBinding, getBinding, getLocalName, getLocalName, getRestriction, hashCode, isGeometry, parse, toString, validate |
TextualAttributeType
public TextualAttributeType(String name,
boolean nillable,
int min,
int max,
Object defaultValue,
Filter filter)
duplicate
public Object duplicate(Object o)
- Duplicate as a String
- Specified by:
duplicate
in interface AttributeType
- Overrides:
duplicate
in class DefaultAttributeType
- Parameters:
o
- DOCUMENT ME!
- Returns:
- a String obtained by calling toString or null.
getRestriction
public Filter getRestriction()
- Description copied from interface:
AttributeType
- This represents a Facet in XML schema ... for example can be used to
represent the max length of 20 for a string.
- Specified by:
getRestriction
in interface AttributeType
- Specified by:
getRestriction
in interface PrimativeAttributeType
- Overrides:
getRestriction
in class DefaultAttributeType
- Returns:
- Filter, or Filter.INCLUDE if no restriction is needed.
- See Also:
Filter
,
Filter#ALL
Copyright © 1996-2009 Geotools. All Rights Reserved.