タグ

ブックマーク / en.wikipedia.org (1)

  • Value object - Wikipedia

    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.[1][2] 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 repre

    eller
    eller 2013/03/23
    Wmm, what I call 'entity' should be 'value object'? What I expect for 'entity' is immutable, and be passed to other layer.
  • 1