|
intra-mart 6.1.14 | ||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.co.intra_mart.foundation.datastore.application.domain.item.attribute.ItemAttribute
商品属性の基本属性のデータを取り扱います。
コンストラクタの概要 | |
ItemAttribute()
商品属性に関連する情報を新規に生成します。 |
|
ItemAttribute(Locale locale)
商品属性に関連する情報を新規に生成します。 |
メソッドの概要 | |
Locale |
getDefaultLocale()
デフォルトのロケールを取得します。 |
ItemAttributeInternational |
getItemAttributeInternational(Locale locale)
指定された言語に対する国際化情報を取得します。 |
String |
getItemCode()
商品コードを取得します。 |
Locale[] |
getLocales()
この商品属性で管理している言語(ロケール)をすべて取得します。 |
double |
getNumberValue()
属性数値を取得します。 |
String |
getStringValue()
属性文字列を取得します。 |
String |
getStringValue(Locale locale)
属性文字列を取得します。 |
String |
getTemplateCode()
テンプレートコードを取得します。 |
String |
getTemplateDetailCode()
テンプレート明細コードを取得します。 |
void |
putInternational(Locale locale,
ItemAttributeInternational data)
指定された言語に対する国際化情報を設定します。 |
void |
removeInternational(Locale locale)
指定された言語に対する国際化情報を削除します。 |
void |
setDefaultLocale(Locale defaultLocale)
デフォルトのロケールを設定します。 |
void |
setItemCode(String itemCode)
商品コードを設定します。 |
void |
setNumberValue(double numberValue)
属性数値を設定します。 |
void |
setTemplateCode(String templateCode)
テンプレートコードを設定します。 |
void |
setTemplateDetailCode(String templateDetailCode)
テンプレート明細コードを設定します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public ItemAttribute()
Locale.getDefault()
で取得される値の言語だけのロケールが割り当てられます。
public ItemAttribute(Locale locale)
locale
で設定されるロケールが割り当てられます。
locale
- デフォルトの言語メソッドの詳細 |
public Locale getDefaultLocale()
public void setDefaultLocale(Locale defaultLocale)
defaultLocale
- デフォルトのロケールpublic Locale[] getLocales()
public ItemAttributeInternational getItemAttributeInternational(Locale locale)
null
が返されます。
locale
- 言語(ロケール)
public void putInternational(Locale locale, ItemAttributeInternational data)
locale
- 言語(ロケール)data
- 国際化情報public void removeInternational(Locale locale)
locale
- 言語(ロケール)public String getItemCode()
public void setItemCode(String itemCode)
itemCode
- 商品コードpublic String getTemplateCode()
public void setTemplateCode(String templateCode)
templateCode
- テンプレートコードpublic String getTemplateDetailCode()
public void setTemplateDetailCode(String templateDetailCode)
templateDetailCode
- テンプレート明細コードpublic double getNumberValue()
public void setNumberValue(double numberValue)
numberValue
- 属性数値public String getStringValue()
public String getStringValue(Locale locale)
locale
- 言語(ロケール)
|
intra-mart 6.1.14 | ||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |