|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.examples.marsworld.LocationData
public abstract class LocationData
Java class for concept Location of mars_beans ontology.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface nuggets.INugget |
---|
nuggets.INugget.Helper |
Constructor Summary | |
---|---|
LocationData()
Default Constructor. |
Method Summary | |
---|---|
void |
_persist(nuggets.ICruncher c)
Persist this Location using the nuggets utility. |
void |
_set(String a,
Object v)
Restore this Location |
double |
getX()
Get the x of this Location. |
double |
getY()
Get the y of this Location. |
void |
setX(double x)
Set the x of this Location. |
void |
setY(double y)
Set the y of this Location. |
String |
toString()
Get a string representation of this Location. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LocationData()
Location
.
Method Detail |
---|
public double getX()
public void setX(double x)
x
- the value to be setpublic double getY()
public void setY(double y)
y
- the value to be setpublic String toString()
toString
in class Object
public void _persist(nuggets.ICruncher c)
_persist
in interface nuggets.INugget
c
- public void _set(String a, Object v)
_set
in interface nuggets.INugget
a
- the name of the attributev
- the value of the attribute
|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.