java.lang.Object
io.jenetics.jpx.Copyright
- All Implemented Interfaces:
Serializable
Information about the copyright holder and any license governing use of this
file. By linking to an appropriate license, you may place your data into the
public domain or grant additional usage rights.
- Since:
- 1.0
- Version:
- 1.2
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the copyright holder.Return the link to external file containing license text.getYear()Return the year of copyright.inthashCode()static CopyrightCreate a newCopyrightobject with the given data.static CopyrightCreate a newCopyrightobject with the given data.static CopyrightCreate a newCopyrightobject with the given data.static CopyrightCreate a newCopyrightobject with the given data.static CopyrightCreate a newCopyrightobject with the given data.static CopyrightCreate a newCopyrightobject with the given data.static CopyrightCreate a newCopyrightobject with the given data.toString()
-
Method Details
-
getAuthor
Return the copyright holder.- Returns:
- the copyright holder
-
getYear
Return the year of copyright.- Returns:
- the year of copyright
-
getLicense
Return the link to external file containing license text.- Returns:
- link to external file containing license text
-
hashCode
-
equals
-
toString
-
of
Create a newCopyrightobject with the given data.- Parameters:
author- copyright holder (TopoSoft, Inc.)year- year of copyright.license- link to external file containing license text.- Returns:
- a new
Copyrightobject with the given data - Throws:
NullPointerException- if theauthorisnull
-
of
Create a newCopyrightobject with the given data.- Parameters:
author- copyright holder (TopoSoft, Inc.)year- year of copyright.license- link to external file containing license text.- Returns:
- a new
Copyrightobject with the given data - Throws:
NullPointerException- if theauthorisnullDateTimeException- if the givenyearis invalid
-
of
Create a newCopyrightobject with the given data.- Parameters:
author- copyright holder (TopoSoft, Inc.)year- year of copyright.license- link to external file containing license text.- Returns:
- a new
Copyrightobject with the given data - Throws:
NullPointerException- if theauthorisnullIllegalArgumentException- if the givenlicenseis not a validURIobjectDateTimeException- if the givenyearis invalid
-
of
Create a newCopyrightobject with the given data.- Parameters:
author- copyright holder (TopoSoft, Inc.)year- year of copyright.- Returns:
- a new
Copyrightobject with the given data - Throws:
NullPointerException- if theauthorisnull
-
of
Create a newCopyrightobject with the given data.- Parameters:
author- copyright holder (TopoSoft, Inc.)year- year of copyright.- Returns:
- a new
Copyrightobject with the given data - Throws:
NullPointerException- if theauthorisnullDateTimeException- if the givenyearis invalid
-
of
Create a newCopyrightobject with the given data.- Parameters:
author- copyright holder (TopoSoft, Inc.)license- link to external file containing license text.- Returns:
- a new
Copyrightobject with the given data - Throws:
NullPointerException- if theauthorisnull
-
of
Create a newCopyrightobject with the given data.- Parameters:
author- copyright holder (TopoSoft, Inc.)- Returns:
- a new
Copyrightobject with the given data - Throws:
NullPointerException- if theauthorisnull
-