Connexions

Sections
You are here: Home » Content » State Design Pattern

About: State Design Pattern

Module by: Stephen Wong, Dung Nguyen

View content

Metadata

Name: State Design Pattern
ID: m17047
Language: English (en)
Summary: The State Design Pattern models objects that changes state, i.e. change behavior as a result of what has happened to them. This is also called "dynamic reclassification".
Subject: Science and Technology
Keywords: design, dynamic reclassification, encapsulation, object oriented, OOD, OOP, pattern, programming, state
Document Type: -//CNX//DTD CNXML 0.5 plus MathML//EN
License: Creative Commons Attribution License (CC-BY 2.0)

Authors: Stephen Wong (swong@rice.edu), Dung Nguyen (dxnguyen@rice.edu)
Copyright Holders: Stephen Wong (swong@rice.edu), Dung Nguyen (dxnguyen@rice.edu)
Maintainers: Stephen Wong (swong@rice.edu), Dung Nguyen (dxnguyen@rice.edu)

Version: 1.2 (history)
Created: Jun 26, 2008 2:54 pm GMT-5
Revised: Jul 22, 2008 11:10 am GMT-5

Version History

Version: 1.2 Jul 22, 2008 11:10 am GMT-5 by Stephen Wong
Changes:
new authors added

Version: 1.1 Jun 26, 2008 2:57 pm GMT-5 by Stephen Wong
Changes:
Initial publication of placeholder

How to Reuse and Attribute This Content

If you derive a copy of this content using a Connexions account and publish your version, proper attribution of the original work will be automatically done for you.

If you reuse this work elsewhere, in order to comply with the attribution requirements of the license (CC-BY 2.0), you must include

  • the authors' names: Stephen Wong, Dung Nguyen
  • the title of the work: State Design Pattern
  • the Connexions URL where the work can be found: http://cnx.org/content/m17047/1.2/

See the citation section below for examples you can copy.

How to Cite and Attribute This Content

The following citation styles comply with the attribution requirements for the license (CC-BY 2.0) of this work:

American Chemical Society (ACS) Style Guide:

Wong, S.; Nguyen, D. State Design Pattern, Connexions Web site. http://cnx.org/content/m17047/1.2/, Jul 22, 2008.

American Medical Assocation (AMA) Manual of Style:

Wong S, Nguyen D. State Design Pattern [Connexions Web site]. July 22, 2008. Available at: http://cnx.org/content/m17047/1.2/.

American Psychological Assocation (APA) Publication Manual:

Wong, S., & Nguyen, D. (2008, July 22). State Design Pattern. Retrieved from the Connexions Web site: http://cnx.org/content/m17047/1.2/

Chicago Manual of Style (Bibliography):

Wong, Stephen, and Dung Nguyen. "State Design Pattern." Connexions. July 22, 2008. http://cnx.org/content/m17047/1.2/.

Chicago Manual of Style (Note):

Stephen Wong and Dung Nguyen, "State Design Pattern," Connexions, July 22, 2008, http://cnx.org/content/m17047/1.2/.

Chicago Manual of Style (Reference, in Author-Date style):

Wong, S., & Nguyen, D. 2008. State Design Pattern. Connexions, July 22, 2008. http://cnx.org/content/m17047/1.2/.

Modern Languages Association (MLA) Style Manual:

Wong, Stephen, and Dung Nguyen. State Design Pattern. Connexions. 22 July 2008 <http://cnx.org/content/m17047/1.2/>.