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