com.ldodds.foaf.thinlet.model
Class Person
java.lang.Object
|
+--com.ldodds.foaf.thinlet.model.AnnotableObject
|
+--com.ldodds.foaf.thinlet.model.FOAFObject
|
+--com.ldodds.foaf.thinlet.model.Person
- All Implemented Interfaces:
- Annotable, Exportable, Validatable
- public class Person
- extends FOAFObject
Models a FOAF Person.
This code is Public Domain
- Author:
- ccslrd
Method Summary |
protected boolean |
doValidation()
Should be overridden by sub-classes to provide validation
behaviour |
void |
export(Exporter exporter)
Indicates the object should export itself using the given Exporter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIRSTNAME
public static final java.lang.String FIRSTNAME
LASTNAME
public static final java.lang.String LASTNAME
TITLE
public static final java.lang.String TITLE
EMAIL
public static final java.lang.String EMAIL
EMAIL_ENCRYPTED
public static final java.lang.String EMAIL_ENCRYPTED
HOMEPAGE
public static final java.lang.String HOMEPAGE
DEPICTION
public static final java.lang.String DEPICTION
NICKNAME
public static final java.lang.String NICKNAME
PHONE
public static final java.lang.String PHONE
FRIENDS
public static final java.lang.String FRIENDS
SCHOOL
public static final java.lang.String SCHOOL
WORK
public static final java.lang.String WORK
ABOUT_WORK
public static final java.lang.String ABOUT_WORK
PUBLICATIONS
public static final java.lang.String PUBLICATIONS
Person
public Person()
doValidation
protected boolean doValidation()
- Description copied from class:
FOAFObject
- Should be overridden by sub-classes to provide validation
behaviour
- Overrides:
doValidation
in class FOAFObject
- See Also:
com.ldodds.foaf.thinlet.FOAFObject#doValidation()
export
public void export(Exporter exporter)
throws java.io.IOException
- Description copied from interface:
Exportable
- Indicates the object should export itself using the given
Exporter.
- Overrides:
export
in class FOAFObject
- Following copied from interface:
com.ldodds.foaf.thinlet.save.Exportable
- Parameters:
exporter
- the exporter to use