org.n52.ifgicopter.spf.xml
Class Item
java.lang.Object
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
Constructor Summary |
Item(String prop)
This constructor should only be used for default values
(e.g., "time"). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
property
String property
uom
String uom
definition
String definition
dataType
Class<?> dataType
Item
public Item(String prop)
- This constructor should only be used for default values
(e.g., "time").
- Parameters:
prop
- the name of the property
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
Copyright © 2004-2012 52north.org. All Rights Reserved.