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()
CopyrightLicense
Returns the name of the license.
getName
in interface CopyrightLicense
public void setName(String name)
Sets the name of the license.
name
- The namepublic String getText()
CopyrightLicense
Returns the text of the license.
getText
in interface CopyrightLicense
null
, if no text is set.public void setText(String text)
Sets the text of the license.
text
- The text.public String getComment()
CopyrightLicense
Returns 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 CopyrightLicense
null
, if no comment is set.public void setComment(String comment)
Sets the comment.
comment
- The comment.Copyright © 2015–2019. All rights reserved.