In computer science, a value object is a small object that represents a simple entity whose equality is not based on identity: i.e. two value objects are equal when they have the same value, not necessarily being the same object. Examples of value objects are objects representing an amount of money or a date range. Being small, one can have multiple copies of the same value object that represent the same entity: it is often simpler to create a new object rather than rely on a single instance and use references to it. Value objects are among the building blocks of DDD.
Attributes | Values |
---|
rdf:type
| |
rdfs:label
| - Value Object (de)
- Value object (ja)
- Value object (en)
- Value Object (uk)
|
rdfs:comment
| - Das Value Object (auch Wertobjekt) ist ein in der Softwareentwicklung eingesetztes Entwurfsmuster. Wertobjekte sind unveränderbare Objekte, die einen speziellen Wert repräsentieren. Soll der Wert geändert werden, so muss ein neues Objekt generiert werden. Das Entwurfsmuster wird dazu genutzt, Objektvergleiche auf deren Attributwerte zu beziehen, anstatt auf Objektidentität. (de)
- コンピュータサイエンスでは、Value Object(値オブジェクト)は、同等性がアイデンティティに基づいていない単純なエンティティを表す小さなオブジェクトである。つまり、2つの値オブジェクトは、同じ値を持つ場合は等しく、必ずしもそれらが同一のオブジェクトである必要はない。 値オブジェクトの例としては、金額や日付範囲を表すオブジェクトなどが挙げられる。 小さいので、同じエンティティを表す同じ値オブジェクトの複数のコピーを持つことが可能である。単一のインスタンスに依存してそのオブジェクトを共有するよりも、新しいオブジェクトを作成する方が簡単な場合がよくある。 値オブジェクトは不変である事が好ましい:これは、2つの値オブジェクトが等しく作成され、等しいままであるという暗黙の前提に必要となる。クライアントコードが値オブジェクトを無効な状態にしたり、インスタンス化の後にバグのある挙動を導入したりできないようにする点でも有用である。 値オブジェクトは、DDDの構成要素の1つでもある。 (ja)
- Value Object — об'єкт який повністю ідентифікується своїми атрибутами. (uk)
- In computer science, a value object is a small object that represents a simple entity whose equality is not based on identity: i.e. two value objects are equal when they have the same value, not necessarily being the same object. Examples of value objects are objects representing an amount of money or a date range. Being small, one can have multiple copies of the same value object that represent the same entity: it is often simpler to create a new object rather than rely on a single instance and use references to it. Value objects are among the building blocks of DDD. (en)
|
dcterms:subject
| |
Wikipage page ID
| |
Wikipage revision ID
| |
Link from a Wikipage to another Wikipage
| |
Link from a Wikipage to an external page
| |
sameAs
| |
dbp:wikiPageUsesTemplate
| |
has abstract
| - Das Value Object (auch Wertobjekt) ist ein in der Softwareentwicklung eingesetztes Entwurfsmuster. Wertobjekte sind unveränderbare Objekte, die einen speziellen Wert repräsentieren. Soll der Wert geändert werden, so muss ein neues Objekt generiert werden. Das Entwurfsmuster wird dazu genutzt, Objektvergleiche auf deren Attributwerte zu beziehen, anstatt auf Objektidentität. (de)
- コンピュータサイエンスでは、Value Object(値オブジェクト)は、同等性がアイデンティティに基づいていない単純なエンティティを表す小さなオブジェクトである。つまり、2つの値オブジェクトは、同じ値を持つ場合は等しく、必ずしもそれらが同一のオブジェクトである必要はない。 値オブジェクトの例としては、金額や日付範囲を表すオブジェクトなどが挙げられる。 小さいので、同じエンティティを表す同じ値オブジェクトの複数のコピーを持つことが可能である。単一のインスタンスに依存してそのオブジェクトを共有するよりも、新しいオブジェクトを作成する方が簡単な場合がよくある。 値オブジェクトは不変である事が好ましい:これは、2つの値オブジェクトが等しく作成され、等しいままであるという暗黙の前提に必要となる。クライアントコードが値オブジェクトを無効な状態にしたり、インスタンス化の後にバグのある挙動を導入したりできないようにする点でも有用である。 値オブジェクトは、DDDの構成要素の1つでもある。 (ja)
- In computer science, a value object is a small object that represents a simple entity whose equality is not based on identity: i.e. two value objects are equal when they have the same value, not necessarily being the same object. Examples of value objects are objects representing an amount of money or a date range. Being small, one can have multiple copies of the same value object that represent the same entity: it is often simpler to create a new object rather than rely on a single instance and use references to it. Value objects should be immutable: this is required for the implicit contract that two value objects created equal, should remain equal. It is also useful for value objects to be immutable, as client code cannot put the value object in an invalid state or introduce buggy behaviour after instantiation. Value objects are among the building blocks of DDD. (en)
- Value Object — об'єкт який повністю ідентифікується своїми атрибутами. (uk)
|
gold:hypernym
| |
prov:wasDerivedFrom
| |
page length (characters) of wiki page
| |
foaf:isPrimaryTopicOf
| |
is Link from a Wikipage to another Wikipage
of | |
is Wikipage redirect
of | |
is Wikipage disambiguates
of | |
is foaf:primaryTopic
of | |