no.uio.edd.model.geo.map
Class GeoPerson
java.lang.Object
no.uio.edd.model.geo.map.GeoPerson
public class GeoPerson
- extends java.lang.Object
A person connected to a geographical space.
The myId is the same as the RDF url for the node it was based on.
- Author:
- oeide
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
id
java.lang.String id
name
java.lang.String name
myGeoModelPerson
GeoModelPerson myGeoModelPerson
takesPartInEvents
ExtendableObjectList takesPartInEvents
GeoPerson
public GeoPerson(java.lang.String id,
GeoModelPerson inGeoModelPerson)
getMyPreferredName
public java.lang.String getMyPreferredName()
- Returns:
- the name
setLocalName
public void setLocalName(java.lang.String name)
- Sets a local name to be used if there are no GeoModelPerson connected to
this geographical person.
- Parameters:
name
- the name to set
getMyGeoModelPerson
public GeoModelPerson getMyGeoModelPerson()
- Returns:
- the myGeoModelPerson
setMyGeoModelPerson
public void setMyGeoModelPerson(GeoModelPerson myGeoModelPerson)
- Parameters:
myGeoModelPerson
- the myGeoModelPerson to set
getId
public java.lang.String getId()
- Returns:
- the id
toGeoPersonArr
public static GeoPerson[] toGeoPersonArr(ExtendableObjectList objList)
- Convert an ExtendableObjectList containing GeoPerson objects to a
GeoPerson array, removing null elements.
- Parameters:
objList
- The object list.
- Returns:
- The array.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object