de.unidu.is.annotation.rework.ontology.classes.ServiceObjects
Class Person

java.lang.Object
  extended byde.unidu.is.annotation.rework.ontology.classes.ServiceObjects.AnnotableObject
      extended byde.unidu.is.annotation.rework.ontology.classes.ServiceObjects.Person

public class Person
extends AnnotableObject

Person.java Represents a person. See class Person of the ontology

Author:
Marc Lechtenfeld

Field Summary
 
Fields inherited from class de.unidu.is.annotation.rework.ontology.classes.ServiceObjects.AnnotableObject
hasAnnotations, id
 
Constructor Summary
Person(java.lang.String personId)
          Creates a new person with the specified id
 
Method Summary
 java.lang.String getUsername()
          Returns the user name
 java.lang.String toString()
          Returns the user name
 
Methods inherited from class de.unidu.is.annotation.rework.ontology.classes.ServiceObjects.AnnotableObject
getId, getLocalName, hasAnnotations, setHasAnnotation, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Person

public Person(java.lang.String personId)
Creates a new person with the specified id

Parameters:
personId - Id of the object (user name)
Method Detail

getUsername

public java.lang.String getUsername()
Returns the user name

Returns:
user name

toString

public java.lang.String toString()
Returns the user name

Overrides:
toString in class AnnotableObject
Returns:
user name
See Also:
getLabel()