public class Product
extends java.lang.Object
| Constructor and Description | 
|---|
Product(java.lang.String name,
       java.lang.String version,
       java.lang.String comment)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getComment()
Returns the facultative comment. 
 | 
java.lang.String | 
getName()
Returns the product name. 
 | 
java.lang.String | 
getVersion()
Returns the version of the product. 
 | 
void | 
setComment(java.lang.String comment)
Sets the facultative comment. 
 | 
void | 
setName(java.lang.String name)
Sets the product name. 
 | 
void | 
setVersion(java.lang.String version)
Sets the version of the product. 
 | 
public Product(java.lang.String name,
               java.lang.String version,
               java.lang.String comment)
name - The product name.version - The product version.comment - The product comment.public java.lang.String getComment()
public java.lang.String getName()
public java.lang.String getVersion()
public void setComment(java.lang.String comment)
comment - The facultative comment.public void setName(java.lang.String name)
name - The product name.public void setVersion(java.lang.String version)
version - The version of the product.Copyright © 2005-2024 Restlet.