SPFramework API

org.n52.ifgicopter.spf.xml
Class Item

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

public class Item
extends Object

XML representation of the item element.

Author:
Matthes Rieke

Field Summary
(package private)  Class<?> dataType
           
(package private)  String definition
           
(package private)  String property
           
(package private)  String uom
           
 
Constructor Summary
Item(String prop)
          This constructor should only be used for default values (e.g., "time").
 
Method Summary
 Class<?> getDataType()
           
 String getDefinition()
           
 String getProperty()
           
 String getUom()
           
 void setDataType(Class<?> dataType)
           
 void setDefinition(String def)
           
 void setUom(String uom)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

property

String property

uom

String uom

definition

String definition

dataType

Class<?> dataType
Constructor Detail

Item

public Item(String prop)
This constructor should only be used for default values (e.g., "time").

Parameters:
prop - the name of the property
Method Detail

getProperty

public String getProperty()
Returns:
the item property as a String

getUom

public String getUom()
Returns:
the used input uom

getDataType

public Class<?> getDataType()
Returns:
the used (java) datatype

getDefinition

public String getDefinition()
Returns:
the definition

setUom

public void setUom(String uom)
Parameters:
uom - the new unit of measurement

setDataType

public void setDataType(Class<?> dataType)
Parameters:
dataType - the new (java) datatype

setDefinition

public void setDefinition(String def)
Parameters:
def - the definition

SPFramework API

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