org.geotools.feature.type
Class NestedAttributeType

Object
  extended by PropertyDescriptorImpl
      extended by AttributeDescriptorImpl
          extended by ListAttributeType
              extended by NestedAttributeType
All Implemented Interfaces:
AttributeType, AttributeDescriptor, PropertyDescriptor

Deprecated. Will be removed in geotools 2.6.

public class NestedAttributeType
extends ListAttributeType

This level of inheritance is intended for documentation purposes ... so read carefully :). A nested Attribute is equivalent to a weak feature, or a feature without a Fid. This distinction is important because there is very little difference between a Java Bean and a nested Attribute, except the existance of this class. This class is a simplified version of the XML schema which would be used to represent this object as XML. The other subtle divergence between a Nested Attribute, and a Feature is the idea that a Feature can be translated into and out of GML, while a Nested Attribute is really just a typed Object. Much of what is represented within the Nested Attribute and NestedAttributeType can, and is duplicated in many bean2xml and xml2bean libraries (they use introspection ... we declare it in a human readable form).

Author:
dzwiers
Module:
modules/library/legacy (gt-legacy.jar)

Field Summary
 
Fields inherited from class AttributeDescriptorImpl
defaultValue
 
Fields inherited from class PropertyDescriptorImpl
isNillable, maxOccurs, minOccurs, name, type
 
Fields inherited from interface AttributeType
UNBOUNDED
 
Constructor Summary
NestedAttributeType(NestedAttributeType copy)
          Deprecated. super(copy)
NestedAttributeType(String name, boolean nillable, AttributeType[] children)
          Deprecated.  
NestedAttributeType(String name, boolean nillable, int min, int max, AttributeType[] children, Filter restriction)
          Deprecated.  
 
Method Summary
 
Methods inherited from class ListAttributeType
createDefaultValue, duplicate, find, find, getAttributeCount, getAttributeType, getAttributeType, getAttributeTypes, getBinding, getLocalName, getRestriction, hasAttributeType, isGeometry, parse, validate
 
Methods inherited from class AttributeDescriptorImpl
equals, getDefaultValue, getType, hashCode, toString
 
Methods inherited from class PropertyDescriptorImpl
getMaxOccurs, getMinOccurs, getName, getUserData, isNillable
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface AttributeType
getMaxOccurs, getMinOccurs, isNillable
 
Methods inherited from interface AttributeDescriptor
getDefaultValue, getType
 
Methods inherited from interface PropertyDescriptor
getName, getUserData
 

Constructor Detail

NestedAttributeType

public NestedAttributeType(NestedAttributeType copy)
Deprecated. 
super(copy)

Parameters:
copy -

NestedAttributeType

public NestedAttributeType(String name,
                           boolean nillable,
                           int min,
                           int max,
                           AttributeType[] children,
                           Filter restriction)
Deprecated. 
Parameters:
name -
nillable -
min -
max -
children -

NestedAttributeType

public NestedAttributeType(String name,
                           boolean nillable,
                           AttributeType[] children)
Deprecated. 
Parameters:
name -
nillable -
children -


Copyright © 1996-2009 Geotools. All Rights Reserved.