Change Value to Reference
From CSSEMediaWiki
(Difference between revisions)
Brett Ward (Talk | contribs) m |
|||
Line 5: | Line 5: | ||
[[Change Reference to Value]] is the opposite of this refactoring, and due to the lack of clarity on what is a value object and what is a reference object, it is common to switch between the two while trying to make a decision. | [[Change Reference to Value]] is the opposite of this refactoring, and due to the lack of clarity on what is a value object and what is a reference object, it is common to switch between the two while trying to make a decision. | ||
− | == See Also == | + | >== See Also == |
{{Refactoring}} | {{Refactoring}} | ||
+ | |||
+ | ---- | ||
+ | <div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> | ||
+ | ---- | ||
+ | =[http://afonijohow.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]= | ||
+ | ---- | ||
+ | =[http://afonijohow.co.cc CLICK HERE]= | ||
+ | ---- | ||
+ | </div> |
Revision as of 03:21, 18 November 2010
In some systems, objects may be classified as reference objects (such as things like "customer" or "account"), or value objects (such as "date" or "money").
This refactoring is the act of changing a class with many equal instances into a single object by turning one of these values into a reference.
Change Reference to Value is the opposite of this refactoring, and due to the lack of clarity on what is a value object and what is a reference object, it is common to switch between the two while trying to make a decision.
>== See Also ==