|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.data.Product
public class Product
Product tokens are used to allow communicating applications to identify themselves by software name and version.
| Constructor Summary | |
|---|---|
Product(String name,
String version,
String comment)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Product(String name,
String version,
String comment)
name - The product name.version - The product version.comment - The product comment.| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||