SPFramework API

org.n52.ifgicopter.spf.xml
Class CompoundItem

java.lang.Object
  extended by org.n52.ifgicopter.spf.xml.Item
      extended by org.n52.ifgicopter.spf.xml.CompoundItem
Direct Known Subclasses:
Location

public class CompoundItem
extends Item

A CompoundItem is an item which holds one or more other Items. other items can be Item or CompoundItem, creating a recursive tree structure. For an Input plugin only the leafs of this structure are used inside the framework as input properties.

Author:
Matthes Rieke

Field Summary
 
Fields inherited from class org.n52.ifgicopter.spf.xml.Item
dataType, definition, property, uom
 
Constructor Summary
CompoundItem(String prop)
           
 
Method Summary
 void addCompoundedItem(Item i)
           
 ArrayList<Item> getCompoundItems()
           
 
Methods inherited from class org.n52.ifgicopter.spf.xml.Item
getDataType, getDefinition, getProperty, getUom, setDataType, setDefinition, setUom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundItem

public CompoundItem(String prop)
Parameters:
prop - the property name
Method Detail

addCompoundedItem

public void addCompoundedItem(Item i)
Parameters:
i - the new compounded item

getCompoundItems

public ArrayList<Item> getCompoundItems()
Returns:
a list of the compounded items

SPFramework API

Copyright © 2004-2012 52north.org. All Rights Reserved.