|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.content.DCPersonName
public class DCPersonName
DSpace person name utility class
Person names in the Dublin Core value table in the DSpace database are stored in the following simple format:
Lastname, First name(s)
FIXME: No policy for dealing with "van"/"van der" and "Jr."
| Constructor Summary | |
|---|---|
DCPersonName()
Construct a blank name |
|
DCPersonName(String rawValue)
Construct a name from a raw DC value |
|
DCPersonName(String lastNameIn,
String firstNamesIn)
Construct a name from a last name and first name |
|
| Method Summary | |
|---|---|
String |
getFirstNames()
Get the first name(s). |
String |
getLastName()
Get the last name. |
String |
toString()
Return a string for writing the name to the database |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DCPersonName()
public DCPersonName(String rawValue)
rawValue - the value entry from the database
public DCPersonName(String lastNameIn,
String firstNamesIn)
lastNameIn - the last namefirstNamesIn - the first names| Method Detail |
|---|
public String toString()
toString in class Objectpublic String getFirstNames()
public String getLastName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||