org.geotools.data.complex
Class AttributeCreateOrderList

Object
  extended by AttributeCreateOrderList

public class AttributeCreateOrderList
extends Object

A Collection of AttributeMappings that correspond to complex types that need to be created. It returns them in an order such that parent elements are created first, and so children elements can be slotted straight into them.

Author:
Russell Petty (GeoScience Victoria)

Constructor Summary
AttributeCreateOrderList(String rootLabel)
           
 
Method Summary
 Iterator<AttributeMapping> iterator()
           
 boolean put(AttributeMapping attMapping)
          Attempt to add an attribute to the list.
 void setRootLabel(String rootLabel)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeCreateOrderList

public AttributeCreateOrderList(String rootLabel)
Method Detail

put

public boolean put(AttributeMapping attMapping)
Attempt to add an attribute to the list.

Parameters:
attMapping - attribute to add
Returns:
whether an item was added or not.

iterator

public Iterator<AttributeMapping> iterator()

setRootLabel

public void setRootLabel(String rootLabel)


Copyright © 1996-2014 Geotools. All Rights Reserved.