英語でのデフォルトの言語化
英語でのデータ・モデル・エレメントのデフォルトの言語化を次の表に示します。
| データ・モデル・エレメント | デフォルトの言語化 |
|---|---|
タイプ 例: カスタマー |
小文字のクラス名 例: お客様 |
コンストラクター 複合型のコンストラクター・タイプが生成されます 例: 複合型 |
a new <type> [where <attribute> is <value> (, <attribute> is <value>)* ]。 例: a new customer where the first name is "John", the last name is "Doe" |
属性 例: エージングを行う |
式 {XXX} / {this} 例: {age} of {this}
|
アクション {this} の {XXX} を {0}に設定します set the discount of {this} to {discount}
|
|
ブール属性 例: boolean accepted |
式 肯定 {this} は XXX です 例: {this} is accepted
負 {this} は XXX ではありません 例: {this} is not accepted
|
アクション 肯定 {this} XXX を取得 例: {this} gets accepted
負 {this} は XXX ではありません 例: {this} does not get accepted
条件 {this} は、 {XXX}の場合にのみ XXX を取得します。 例: {this} does gets accepted only if {accepted}
make it {0} that {this} is XXX 構文は非推奨になりました。 |
|
リスト属性 例: address List |
{0} を {this}の XXX に追加します 例: add {0} to the addresses of {this}
{0} を {this}の XXX から削除します 例: remove {0} from the addresses of {this}
{this}の XXX をクリア 例: clear the addresses of {this}
|
数値および整数属性 例: int discount |
{number} を {this}の XXX に追加 例: add {number} to the discount of {this}
{this} の XXX から {number} 例: subtract {0} from the discount of {this}
|