org.n52.ifgicopter.spf.xml
Class Location
java.lang.Object
org.n52.ifgicopter.spf.xml.Item
org.n52.ifgicopter.spf.xml.CompoundItem
org.n52.ifgicopter.spf.xml.Location
public class Location
- extends CompoundItem
Class representing the Location property
of a Input plugin. The framework uses
this class to determine the field names
of a geolocation.
- Author:
- Matthes Rieke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Location
public Location(String prop)
- Parameters:
prop
- the property name for the compounding element
setFirstCoordinateName
public void setFirstCoordinateName(String property)
- Parameters:
property
- the first coordinate name
getSecondCoordinateName
public String getSecondCoordinateName()
- Returns:
- the property name for the second coordinate value.
setSecondCoordinateName
public void setSecondCoordinateName(String secondCoordinateName)
- Parameters:
secondCoordinateName
- the second coordinate name
getFirstCoordinateName
public String getFirstCoordinateName()
- Returns:
- the property name for the first coordinate value
getAltitudeName
public String getAltitudeName()
- Returns:
- the altitude name (optional)
setAltitudeName
public void setAltitudeName(String altitudeName)
- Parameters:
altitudeName
- the altitude name (optional)
setReferenceFrame
public void setReferenceFrame(String referenceFrame)
- Parameters:
referenceFrame
- the reference frame of this location
getReferenceFrame
public String getReferenceFrame()
- Returns:
- the reference frame of this location
setX
public void setX(double value)
- Parameters:
value
- static X axis value
setY
public void setY(double value)
- Parameters:
value
- static Y axis value
setZ
public void setZ(double value)
- Parameters:
value
- static Z axis value
getX
public double getX()
- Returns:
- the static X axis value
getY
public double getY()
- Returns:
- the static Y axis value
getZ
public double getZ()
- Returns:
- the static Z axis value
setDimension
public void setDimension(int i)
- Parameters:
i
- the dimension
getDimension
public int getDimension()
- Returns:
- the dimension
setAxis
public void setAxis(String string,
double value)
- e.g., calling setAxis("x", 12.0) behaves exactly
the same as setX(12.0).
- Parameters:
string
- the axis (x, y or z)value
- the value
Copyright © 2004-2012 52north.org. All Rights Reserved.