Package org.dlese.dpc.index.reader
Class DleseCollectionDocReader.PersonContributor
java.lang.Object
org.dlese.dpc.index.reader.DleseCollectionDocReader.PersonContributor
- All Implemented Interfaces:
DleseCollectionDocReader.Contributor
- Enclosing class:
DleseCollectionDocReader
public class DleseCollectionDocReader.PersonContributor
extends Object
implements DleseCollectionDocReader.Contributor
A bean that holds information about a DLESE contributor that is a person.
- Author:
- John Weatherley
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the contactID attribute of the PersonContributor objectGets the emailAlt attribute of the PersonContributor objectGets the emailPrimary attribute of the PersonContributor objectGets the instDept attribute of the PersonContributor objectGets the instName attribute of the PersonContributor objectGets the nameFirst attribute of the PersonContributor objectGets the nameLast attribute of the PersonContributor objectGets the nameTitle attribute of the PersonContributor objectgetType()Gets the type, which is 'person'.
-
Constructor Details
-
PersonContributor
public PersonContributor(String nameTitle, String nameFirst, String nameLast, String instName, String instDept, String emailPrimary, String emailAlt, String contactID) Constructor for the PersonContributor object- Parameters:
nameTitle- TitlenameFirst- First namenameLast- Last NameinstName- Institution NameinstDept- Institution DeptemailPrimary- Primary emailemailAlt- Alternate emailcontactID- Contact ID
-
-
Method Details
-
getType
Gets the type, which is 'person'.- Specified by:
getTypein interfaceDleseCollectionDocReader.Contributor- Returns:
- The String 'person'.
-
getNameTitle
Gets the nameTitle attribute of the PersonContributor object- Returns:
- The nameTitle value
-
getNameFirst
Gets the nameFirst attribute of the PersonContributor object- Returns:
- The nameFirst value
-
getNameLast
Gets the nameLast attribute of the PersonContributor object- Returns:
- The nameLast value
-
getInstName
Gets the instName attribute of the PersonContributor object- Returns:
- The instName value
-
getInstDept
Gets the instDept attribute of the PersonContributor object- Returns:
- The instDept value
-
getEmailPrimary
Gets the emailPrimary attribute of the PersonContributor object- Returns:
- The emailPrimary value
-
getEmailAlt
Gets the emailAlt attribute of the PersonContributor object- Returns:
- The emailAlt value
-
getContactID
Gets the contactID attribute of the PersonContributor object- Returns:
- The contactID value
-