|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.ObjectProduct
public class Product
商品
フィールドの概要 | |
---|---|
private String |
name
|
コンストラクタの概要 | |
---|---|
Product()
XMLEncoderのため |
|
Product(String s)
|
メソッドの概要 | |
---|---|
String |
getName()
|
void |
setName(String name)
本来 setterはいらないが,XMLEncoderの都合,つけた. |
String |
toString()
|
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
---|
private String name
コンストラクタの詳細 |
---|
public Product()
public Product(String s)
メソッドの詳細 |
---|
public String toString()
Object
内の toString
public void setName(String name)
name
- public String getName()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |