Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
de.undercouch.citeproc.ris.RISReference Maven / Gradle / Ivy
package de.undercouch.citeproc.ris;
import java.util.Arrays;
import java.util.Map;
import java.util.Objects;
/**
* A RIS reference
*
* @author Michel Kraemer
*/
public class RISReference {
private final String id;
private final RISType type;
private final String[] editors;
private final String[] tertiaryAuthors;
private final String[] subsidiaryAuthors;
private final String abstrct;
private final String authorAddress;
private final String accessionNumber;
private final String[] authors;
private final String bookOrConference;
private final String custom1;
private final String custom2;
private final String custom3;
private final String custom4;
private final String custom5;
private final String custom6;
private final String custom7;
private final String custom8;
private final String caption;
private final String callNumber;
private final String place;
private final String date;
private final String nameOfDatabase;
private final String DOI;
private final String databaseProvider;
private final String endPage;
private final String edition;
private final String issue;
private final String journal;
private final String[] keywords;
private final String[] fileAttachments;
private final String figure;
private final String language;
private final String label;
private final String number;
private final String typeOfWork;
private final String[] notes;
private final String numberOfVolumes;
private final String originalPublication;
private final String publisher;
private final String year;
private final String reviewedItem;
private final String researchNotes;
private final String reprintEdition;
private final String section;
private final String isbnOrIssn;
private final String startPage;
private final String shortTitle;
private final String primaryTitle;
private final String secondaryTitle;
private final String tertiaryTitle;
private final String[] translatedAuthors;
private final String title;
private final String translatedTitle;
private final String URL;
private final String volume;
private final String accessDate;
public RISReference() {
this.id = null;
this.type = null;
this.editors = null;
this.tertiaryAuthors = null;
this.subsidiaryAuthors = null;
this.abstrct = null;
this.authorAddress = null;
this.accessionNumber = null;
this.authors = null;
this.bookOrConference = null;
this.custom1 = null;
this.custom2 = null;
this.custom3 = null;
this.custom4 = null;
this.custom5 = null;
this.custom6 = null;
this.custom7 = null;
this.custom8 = null;
this.caption = null;
this.callNumber = null;
this.place = null;
this.date = null;
this.nameOfDatabase = null;
this.DOI = null;
this.databaseProvider = null;
this.endPage = null;
this.edition = null;
this.issue = null;
this.journal = null;
this.keywords = null;
this.fileAttachments = null;
this.figure = null;
this.language = null;
this.label = null;
this.number = null;
this.typeOfWork = null;
this.notes = null;
this.numberOfVolumes = null;
this.originalPublication = null;
this.publisher = null;
this.year = null;
this.reviewedItem = null;
this.researchNotes = null;
this.reprintEdition = null;
this.section = null;
this.isbnOrIssn = null;
this.startPage = null;
this.shortTitle = null;
this.primaryTitle = null;
this.secondaryTitle = null;
this.tertiaryTitle = null;
this.translatedAuthors = null;
this.title = null;
this.translatedTitle = null;
this.URL = null;
this.volume = null;
this.accessDate = null;
}
public RISReference(String id, RISType type, String[] editors, String[] tertiaryAuthors, String[] subsidiaryAuthors,
String abstrct, String authorAddress, String accessionNumber, String[] authors, String bookOrConference,
String custom1, String custom2, String custom3, String custom4, String custom5, String custom6,
String custom7, String custom8, String caption, String callNumber, String place, String date,
String nameOfDatabase, String DOI, String databaseProvider, String endPage, String edition, String issue,
String journal, String[] keywords, String[] fileAttachments, String figure, String language, String label,
String number, String typeOfWork, String[] notes, String numberOfVolumes, String originalPublication,
String publisher, String year, String reviewedItem, String researchNotes, String reprintEdition,
String section, String isbnOrIssn, String startPage, String shortTitle, String primaryTitle,
String secondaryTitle, String tertiaryTitle, String[] translatedAuthors, String title,
String translatedTitle, String URL, String volume, String accessDate) {
this.id = id;
this.type = type;
this.editors = editors;
this.tertiaryAuthors = tertiaryAuthors;
this.subsidiaryAuthors = subsidiaryAuthors;
this.abstrct = abstrct;
this.authorAddress = authorAddress;
this.accessionNumber = accessionNumber;
this.authors = authors;
this.bookOrConference = bookOrConference;
this.custom1 = custom1;
this.custom2 = custom2;
this.custom3 = custom3;
this.custom4 = custom4;
this.custom5 = custom5;
this.custom6 = custom6;
this.custom7 = custom7;
this.custom8 = custom8;
this.caption = caption;
this.callNumber = callNumber;
this.place = place;
this.date = date;
this.nameOfDatabase = nameOfDatabase;
this.DOI = DOI;
this.databaseProvider = databaseProvider;
this.endPage = endPage;
this.edition = edition;
this.issue = issue;
this.journal = journal;
this.keywords = keywords;
this.fileAttachments = fileAttachments;
this.figure = figure;
this.language = language;
this.label = label;
this.number = number;
this.typeOfWork = typeOfWork;
this.notes = notes;
this.numberOfVolumes = numberOfVolumes;
this.originalPublication = originalPublication;
this.publisher = publisher;
this.year = year;
this.reviewedItem = reviewedItem;
this.researchNotes = researchNotes;
this.reprintEdition = reprintEdition;
this.section = section;
this.isbnOrIssn = isbnOrIssn;
this.startPage = startPage;
this.shortTitle = shortTitle;
this.primaryTitle = primaryTitle;
this.secondaryTitle = secondaryTitle;
this.tertiaryTitle = tertiaryTitle;
this.translatedAuthors = translatedAuthors;
this.title = title;
this.translatedTitle = translatedTitle;
this.URL = URL;
this.volume = volume;
this.accessDate = accessDate;
}
/**
* @return the reference's id
*/
public String getId() {
return id;
}
/**
* @return the reference's type
*/
public RISType getType() {
return type;
}
/**
* @return the reference's editors
*/
public String[] getEditors() {
return editors;
}
/**
* @return the reference's tertiaryAuthors
*/
public String[] getTertiaryAuthors() {
return tertiaryAuthors;
}
/**
* @return the reference's subsidiaryAuthors
*/
public String[] getSubsidiaryAuthors() {
return subsidiaryAuthors;
}
/**
* @return the reference's abstract
*/
public String getAbstrct() {
return abstrct;
}
/**
* @return the reference's authorAddress
*/
public String getAuthorAddress() {
return authorAddress;
}
/**
* @return the reference's accessionNumber
*/
public String getAccessionNumber() {
return accessionNumber;
}
/**
* @return the reference's authors
*/
public String[] getAuthors() {
return authors;
}
/**
* @return the reference's bookOrConference
*/
public String getBookOrConference() {
return bookOrConference;
}
/**
* @return the reference's custom1
*/
public String getCustom1() {
return custom1;
}
/**
* @return the reference's custom2
*/
public String getCustom2() {
return custom2;
}
/**
* @return the reference's custom3
*/
public String getCustom3() {
return custom3;
}
/**
* @return the reference's custom4
*/
public String getCustom4() {
return custom4;
}
/**
* @return the reference's custom5
*/
public String getCustom5() {
return custom5;
}
/**
* @return the reference's custom6
*/
public String getCustom6() {
return custom6;
}
/**
* @return the reference's custom7
*/
public String getCustom7() {
return custom7;
}
/**
* @return the reference's custom8
*/
public String getCustom8() {
return custom8;
}
/**
* @return the reference's caption
*/
public String getCaption() {
return caption;
}
/**
* @return the reference's callNumber
*/
public String getCallNumber() {
return callNumber;
}
/**
* @return the reference's place
*/
public String getPlace() {
return place;
}
/**
* @return the reference's date
*/
public String getDate() {
return date;
}
/**
* @return the reference's nameOfDatabase
*/
public String getNameOfDatabase() {
return nameOfDatabase;
}
/**
* @return the reference's DOI
*/
public String getDOI() {
return DOI;
}
/**
* @return the reference's databaseProvider
*/
public String getDatabaseProvider() {
return databaseProvider;
}
/**
* @return the reference's endPage
*/
public String getEndPage() {
return endPage;
}
/**
* @return the reference's edition
*/
public String getEdition() {
return edition;
}
/**
* @return the reference's issue
*/
public String getIssue() {
return issue;
}
/**
* @return the reference's journal
*/
public String getJournal() {
return journal;
}
/**
* @return the reference's keywords
*/
public String[] getKeywords() {
return keywords;
}
/**
* @return the reference's fileAttachments
*/
public String[] getFileAttachments() {
return fileAttachments;
}
/**
* @return the reference's figure
*/
public String getFigure() {
return figure;
}
/**
* @return the reference's language
*/
public String getLanguage() {
return language;
}
/**
* @return the reference's label
*/
public String getLabel() {
return label;
}
/**
* @return the reference's number
*/
public String getNumber() {
return number;
}
/**
* @return the reference's typeOfWork
*/
public String getTypeOfWork() {
return typeOfWork;
}
/**
* @return the reference's notes
*/
public String[] getNotes() {
return notes;
}
/**
* @return the reference's numberOfVolumes
*/
public String getNumberOfVolumes() {
return numberOfVolumes;
}
/**
* @return the reference's originalPublication
*/
public String getOriginalPublication() {
return originalPublication;
}
/**
* @return the reference's publisher
*/
public String getPublisher() {
return publisher;
}
/**
* @return the reference's year
*/
public String getYear() {
return year;
}
/**
* @return the reference's reviewedItem
*/
public String getReviewedItem() {
return reviewedItem;
}
/**
* @return the reference's researchNotes
*/
public String getResearchNotes() {
return researchNotes;
}
/**
* @return the reference's reprintEdition
*/
public String getReprintEdition() {
return reprintEdition;
}
/**
* @return the reference's section
*/
public String getSection() {
return section;
}
/**
* @return the reference's isbnOrIssn
*/
public String getIsbnOrIssn() {
return isbnOrIssn;
}
/**
* @return the reference's startPage
*/
public String getStartPage() {
return startPage;
}
/**
* @return the reference's shortTitle
*/
public String getShortTitle() {
return shortTitle;
}
/**
* @return the reference's primaryTitle
*/
public String getPrimaryTitle() {
return primaryTitle;
}
/**
* @return the reference's secondaryTitle
*/
public String getSecondaryTitle() {
return secondaryTitle;
}
/**
* @return the reference's tertiaryTitle
*/
public String getTertiaryTitle() {
return tertiaryTitle;
}
/**
* @return the reference's translatedAuthors
*/
public String[] getTranslatedAuthors() {
return translatedAuthors;
}
/**
* @return the reference's title
*/
public String getTitle() {
return title;
}
/**
* @return the reference's translatedTitle
*/
public String getTranslatedTitle() {
return translatedTitle;
}
/**
* @return the reference's URL
*/
public String getURL() {
return URL;
}
/**
* @return the reference's volume
*/
public String getVolume() {
return volume;
}
/**
* @return the reference's accessDate
*/
public String getAccessDate() {
return accessDate;
}
@Override
public int hashCode() {
int result = 1;
result = 31 * result + ((id == null) ? 0 : id.hashCode());
result = 31 * result + ((type == null) ? 0 : type.hashCode());
result = 31 * result + Arrays.hashCode(editors);
result = 31 * result + Arrays.hashCode(tertiaryAuthors);
result = 31 * result + Arrays.hashCode(subsidiaryAuthors);
result = 31 * result + ((abstrct == null) ? 0 : abstrct.hashCode());
result = 31 * result + ((authorAddress == null) ? 0 : authorAddress.hashCode());
result = 31 * result + ((accessionNumber == null) ? 0 : accessionNumber.hashCode());
result = 31 * result + Arrays.hashCode(authors);
result = 31 * result + ((bookOrConference == null) ? 0 : bookOrConference.hashCode());
result = 31 * result + ((custom1 == null) ? 0 : custom1.hashCode());
result = 31 * result + ((custom2 == null) ? 0 : custom2.hashCode());
result = 31 * result + ((custom3 == null) ? 0 : custom3.hashCode());
result = 31 * result + ((custom4 == null) ? 0 : custom4.hashCode());
result = 31 * result + ((custom5 == null) ? 0 : custom5.hashCode());
result = 31 * result + ((custom6 == null) ? 0 : custom6.hashCode());
result = 31 * result + ((custom7 == null) ? 0 : custom7.hashCode());
result = 31 * result + ((custom8 == null) ? 0 : custom8.hashCode());
result = 31 * result + ((caption == null) ? 0 : caption.hashCode());
result = 31 * result + ((callNumber == null) ? 0 : callNumber.hashCode());
result = 31 * result + ((place == null) ? 0 : place.hashCode());
result = 31 * result + ((date == null) ? 0 : date.hashCode());
result = 31 * result + ((nameOfDatabase == null) ? 0 : nameOfDatabase.hashCode());
result = 31 * result + ((DOI == null) ? 0 : DOI.hashCode());
result = 31 * result + ((databaseProvider == null) ? 0 : databaseProvider.hashCode());
result = 31 * result + ((endPage == null) ? 0 : endPage.hashCode());
result = 31 * result + ((edition == null) ? 0 : edition.hashCode());
result = 31 * result + ((issue == null) ? 0 : issue.hashCode());
result = 31 * result + ((journal == null) ? 0 : journal.hashCode());
result = 31 * result + Arrays.hashCode(keywords);
result = 31 * result + Arrays.hashCode(fileAttachments);
result = 31 * result + ((figure == null) ? 0 : figure.hashCode());
result = 31 * result + ((language == null) ? 0 : language.hashCode());
result = 31 * result + ((label == null) ? 0 : label.hashCode());
result = 31 * result + ((number == null) ? 0 : number.hashCode());
result = 31 * result + ((typeOfWork == null) ? 0 : typeOfWork.hashCode());
result = 31 * result + Arrays.hashCode(notes);
result = 31 * result + ((numberOfVolumes == null) ? 0 : numberOfVolumes.hashCode());
result = 31 * result + ((originalPublication == null) ? 0 : originalPublication.hashCode());
result = 31 * result + ((publisher == null) ? 0 : publisher.hashCode());
result = 31 * result + ((year == null) ? 0 : year.hashCode());
result = 31 * result + ((reviewedItem == null) ? 0 : reviewedItem.hashCode());
result = 31 * result + ((researchNotes == null) ? 0 : researchNotes.hashCode());
result = 31 * result + ((reprintEdition == null) ? 0 : reprintEdition.hashCode());
result = 31 * result + ((section == null) ? 0 : section.hashCode());
result = 31 * result + ((isbnOrIssn == null) ? 0 : isbnOrIssn.hashCode());
result = 31 * result + ((startPage == null) ? 0 : startPage.hashCode());
result = 31 * result + ((shortTitle == null) ? 0 : shortTitle.hashCode());
result = 31 * result + ((primaryTitle == null) ? 0 : primaryTitle.hashCode());
result = 31 * result + ((secondaryTitle == null) ? 0 : secondaryTitle.hashCode());
result = 31 * result + ((tertiaryTitle == null) ? 0 : tertiaryTitle.hashCode());
result = 31 * result + Arrays.hashCode(translatedAuthors);
result = 31 * result + ((title == null) ? 0 : title.hashCode());
result = 31 * result + ((translatedTitle == null) ? 0 : translatedTitle.hashCode());
result = 31 * result + ((URL == null) ? 0 : URL.hashCode());
result = 31 * result + ((volume == null) ? 0 : volume.hashCode());
result = 31 * result + ((accessDate == null) ? 0 : accessDate.hashCode());
return result;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (!(obj instanceof RISReference))
return false;
RISReference other = (RISReference) obj;
if (id == null) {
if (other.id != null)
return false;
} else if (!id.equals(other.id))
return false;
if (type == null) {
if (other.type != null)
return false;
} else if (!type.equals(other.type))
return false;
if (!Arrays.equals(editors, other.editors))
return false;
if (!Arrays.equals(tertiaryAuthors, other.tertiaryAuthors))
return false;
if (!Arrays.equals(subsidiaryAuthors, other.subsidiaryAuthors))
return false;
if (abstrct == null) {
if (other.abstrct != null)
return false;
} else if (!abstrct.equals(other.abstrct))
return false;
if (authorAddress == null) {
if (other.authorAddress != null)
return false;
} else if (!authorAddress.equals(other.authorAddress))
return false;
if (accessionNumber == null) {
if (other.accessionNumber != null)
return false;
} else if (!accessionNumber.equals(other.accessionNumber))
return false;
if (!Arrays.equals(authors, other.authors))
return false;
if (bookOrConference == null) {
if (other.bookOrConference != null)
return false;
} else if (!bookOrConference.equals(other.bookOrConference))
return false;
if (custom1 == null) {
if (other.custom1 != null)
return false;
} else if (!custom1.equals(other.custom1))
return false;
if (custom2 == null) {
if (other.custom2 != null)
return false;
} else if (!custom2.equals(other.custom2))
return false;
if (custom3 == null) {
if (other.custom3 != null)
return false;
} else if (!custom3.equals(other.custom3))
return false;
if (custom4 == null) {
if (other.custom4 != null)
return false;
} else if (!custom4.equals(other.custom4))
return false;
if (custom5 == null) {
if (other.custom5 != null)
return false;
} else if (!custom5.equals(other.custom5))
return false;
if (custom6 == null) {
if (other.custom6 != null)
return false;
} else if (!custom6.equals(other.custom6))
return false;
if (custom7 == null) {
if (other.custom7 != null)
return false;
} else if (!custom7.equals(other.custom7))
return false;
if (custom8 == null) {
if (other.custom8 != null)
return false;
} else if (!custom8.equals(other.custom8))
return false;
if (caption == null) {
if (other.caption != null)
return false;
} else if (!caption.equals(other.caption))
return false;
if (callNumber == null) {
if (other.callNumber != null)
return false;
} else if (!callNumber.equals(other.callNumber))
return false;
if (place == null) {
if (other.place != null)
return false;
} else if (!place.equals(other.place))
return false;
if (date == null) {
if (other.date != null)
return false;
} else if (!date.equals(other.date))
return false;
if (nameOfDatabase == null) {
if (other.nameOfDatabase != null)
return false;
} else if (!nameOfDatabase.equals(other.nameOfDatabase))
return false;
if (DOI == null) {
if (other.DOI != null)
return false;
} else if (!DOI.equals(other.DOI))
return false;
if (databaseProvider == null) {
if (other.databaseProvider != null)
return false;
} else if (!databaseProvider.equals(other.databaseProvider))
return false;
if (endPage == null) {
if (other.endPage != null)
return false;
} else if (!endPage.equals(other.endPage))
return false;
if (edition == null) {
if (other.edition != null)
return false;
} else if (!edition.equals(other.edition))
return false;
if (issue == null) {
if (other.issue != null)
return false;
} else if (!issue.equals(other.issue))
return false;
if (journal == null) {
if (other.journal != null)
return false;
} else if (!journal.equals(other.journal))
return false;
if (!Arrays.equals(keywords, other.keywords))
return false;
if (!Arrays.equals(fileAttachments, other.fileAttachments))
return false;
if (figure == null) {
if (other.figure != null)
return false;
} else if (!figure.equals(other.figure))
return false;
if (language == null) {
if (other.language != null)
return false;
} else if (!language.equals(other.language))
return false;
if (label == null) {
if (other.label != null)
return false;
} else if (!label.equals(other.label))
return false;
if (number == null) {
if (other.number != null)
return false;
} else if (!number.equals(other.number))
return false;
if (typeOfWork == null) {
if (other.typeOfWork != null)
return false;
} else if (!typeOfWork.equals(other.typeOfWork))
return false;
if (!Arrays.equals(notes, other.notes))
return false;
if (numberOfVolumes == null) {
if (other.numberOfVolumes != null)
return false;
} else if (!numberOfVolumes.equals(other.numberOfVolumes))
return false;
if (originalPublication == null) {
if (other.originalPublication != null)
return false;
} else if (!originalPublication.equals(other.originalPublication))
return false;
if (publisher == null) {
if (other.publisher != null)
return false;
} else if (!publisher.equals(other.publisher))
return false;
if (year == null) {
if (other.year != null)
return false;
} else if (!year.equals(other.year))
return false;
if (reviewedItem == null) {
if (other.reviewedItem != null)
return false;
} else if (!reviewedItem.equals(other.reviewedItem))
return false;
if (researchNotes == null) {
if (other.researchNotes != null)
return false;
} else if (!researchNotes.equals(other.researchNotes))
return false;
if (reprintEdition == null) {
if (other.reprintEdition != null)
return false;
} else if (!reprintEdition.equals(other.reprintEdition))
return false;
if (section == null) {
if (other.section != null)
return false;
} else if (!section.equals(other.section))
return false;
if (isbnOrIssn == null) {
if (other.isbnOrIssn != null)
return false;
} else if (!isbnOrIssn.equals(other.isbnOrIssn))
return false;
if (startPage == null) {
if (other.startPage != null)
return false;
} else if (!startPage.equals(other.startPage))
return false;
if (shortTitle == null) {
if (other.shortTitle != null)
return false;
} else if (!shortTitle.equals(other.shortTitle))
return false;
if (primaryTitle == null) {
if (other.primaryTitle != null)
return false;
} else if (!primaryTitle.equals(other.primaryTitle))
return false;
if (secondaryTitle == null) {
if (other.secondaryTitle != null)
return false;
} else if (!secondaryTitle.equals(other.secondaryTitle))
return false;
if (tertiaryTitle == null) {
if (other.tertiaryTitle != null)
return false;
} else if (!tertiaryTitle.equals(other.tertiaryTitle))
return false;
if (!Arrays.equals(translatedAuthors, other.translatedAuthors))
return false;
if (title == null) {
if (other.title != null)
return false;
} else if (!title.equals(other.title))
return false;
if (translatedTitle == null) {
if (other.translatedTitle != null)
return false;
} else if (!translatedTitle.equals(other.translatedTitle))
return false;
if (URL == null) {
if (other.URL != null)
return false;
} else if (!URL.equals(other.URL))
return false;
if (volume == null) {
if (other.volume != null)
return false;
} else if (!volume.equals(other.volume))
return false;
if (accessDate == null) {
if (other.accessDate != null)
return false;
} else if (!accessDate.equals(other.accessDate))
return false;
return true;
}
}