public class DCPersonName
extends java.lang.Object
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 and Description |
|---|
DCPersonName()
Construct a blank name
|
DCPersonName(java.lang.String rawValue)
Construct a name from a raw DC value
|
DCPersonName(java.lang.String lastNameIn,
java.lang.String firstNamesIn)
Construct a name from a last name and first name
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFirstNames()
Get the first name(s).
|
java.lang.String |
getLastName()
Get the last name.
|
java.lang.String |
toString()
Return a string for writing the name to the database
|
public DCPersonName()
public DCPersonName(java.lang.String rawValue)
rawValue - the value entry from the databasepublic DCPersonName(java.lang.String lastNameIn,
java.lang.String firstNamesIn)
lastNameIn - the last namefirstNamesIn - the first namespublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getFirstNames()
public java.lang.String getLastName()
Copyright © 2018 DuraSpace. All Rights Reserved.