![JAR search and dependency download from the Maven repository](/logo.png)
com.googlecode.fascinator.redbox.sru.NLAIdentity Maven / Gradle / Ivy
/*
* The Fascinator - ReDBox/Mint SRU Client - NLA Identity
* Copyright (C) 2012 Queensland Cyber Infrastructure Foundation (http://www.qcif.edu.au/)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
package com.googlecode.fascinator.redbox.sru;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.dom4j.Element;
import org.dom4j.Node;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* A basic wrapper for handling EAC-CPF formatted identities that return for
* the National Library of Australia. This is neither a complete EAC-CPF handling
* class, nor a complete implementation of NLA identities. It is just a utility
* for access the things ReDBox/Mint cares about in common node.
*
* @author Greg Pendlebury
*/
public class NLAIdentity {
/** Logging **/
private static Logger log = LoggerFactory.getLogger(NLAIdentity.class);
/** DOM4J Node for this person **/
private Node eac;
/** Properties we extract **/
private String nlaId;
private String displayName;
private String firstName;
private String surname;
private String institution;
private List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy