com.hfg.citation.PatentData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com_hfg Show documentation
Show all versions of com_hfg Show documentation
com.hfg xml, html, svg, and bioinformatics utility library
package com.hfg.citation;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
//------------------------------------------------------------------------------
/**
Patent data object.
@author J. Alex Taylor, hairyfatguy.com
*/
//------------------------------------------------------------------------------
// com.hfg XML/HTML Coding Library
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library 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
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// J. Alex Taylor, President, Founder, CEO, COO, CFO, OOPS hairyfatguy.com
// [email protected]
//------------------------------------------------------------------------------
public class PatentData
{
private String mTitle;
private String mPublicationNum;
private Date mPublicationDate;
private List mInventors;
private List mApplicants;
private Integer mSeqIdNum;
//---------------------------------------------------------------------------
public PatentData setTitle(String inValue)
{
mTitle = inValue;
return this;
}
//---------------------------------------------------------------------------
public String getTitle()
{
return mTitle;
}
//---------------------------------------------------------------------------
public PatentData setPublicationNum(String inValue)
{
mPublicationNum = inValue;
return this;
}
//---------------------------------------------------------------------------
public String getPublicationNum()
{
return mPublicationNum;
}
//---------------------------------------------------------------------------
public PatentData setPublicationDate(Date inValue)
{
mPublicationDate = inValue;
return this;
}
//---------------------------------------------------------------------------
public Date getPublicationDate()
{
return mPublicationDate;
}
//---------------------------------------------------------------------------
public PatentData setInventors(List inValues)
{
mInventors = inValues;
return this;
}
//---------------------------------------------------------------------------
public PatentData addInventor(Author inValue)
{
if (null == mInventors)
{
mInventors = new ArrayList<>(5);
}
mInventors.add(inValue);
return this;
}
//---------------------------------------------------------------------------
public List getInventors()
{
return mInventors;
}
//---------------------------------------------------------------------------
public PatentData addApplicants(String inValue)
{
if (null == mApplicants)
{
mApplicants = new ArrayList<>(5);
}
mApplicants.add(inValue);
return this;
}
//---------------------------------------------------------------------------
public List getApplicants()
{
return mApplicants;
}
//---------------------------------------------------------------------------
public PatentData setSeqIdNum(Integer inValue)
{
mSeqIdNum = inValue;
return this;
}
//---------------------------------------------------------------------------
public Integer getSeqIdNum()
{
return mSeqIdNum;
}
}