About: Value object

An Entity of Type: planet, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

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.

Property Value
dbo: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)
dbo:wikiPageExternalLink
dbo:wikiPageID
  • 7544643 (xsd:integer)
dbo:wikiPageLength
  • 7549 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1104238698 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
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)
rdfs:label
  • Value Object (de)
  • Value object (ja)
  • Value object (en)
  • Value Object (uk)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageDisambiguates of
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License