public class CopyrightLicenseImpl extends Object implements CopyrightLicense
A CopyrightLicense implementation.
| Constructor and Description |
|---|
CopyrightLicenseImpl()
Creates a license.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getComment()
Returns the comment.
|
String |
getName()
Returns the name of the license.
|
String |
getText()
Returns the text of the license.
|
void |
setComment(String comment)
Sets the comment.
|
void |
setName(String name)
Sets the name of the license.
|
void |
setText(String text)
Sets the text of the license.
|
public String getName()
CopyrightLicenseReturns the name of the license.
getName in interface CopyrightLicensepublic void setName(String name)
Sets the name of the license.
name - The namepublic String getText()
CopyrightLicenseReturns the text of the license.
getText in interface CopyrightLicensenull, if no text is set.public void setText(String text)
Sets the text of the license.
text - The text.public String getComment()
CopyrightLicenseReturns the comment.
This field is not in the Debian standard and is only implemented for being able to parse the existing Debian package.
getComment in interface CopyrightLicensenull, if no comment is set.public void setComment(String comment)
Sets the comment.
comment - The comment.Copyright © 2015–2019. All rights reserved.