Connexions

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

About: State Design Pattern

Module by: Stephen Wong, Dung Nguyen. E-mail the authors

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
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)

Latest version: 1.3 (history)
First publication date: Jun 26, 2008 2:54 pm GMT-5
Last revision to module: Jul 1, 2009 1:47 pm GMT-5

Module XML: m17047_1.3.cnxml

Version History

Version: 1.3 Jul 1, 2009 1:47 pm GMT-5 by Stephen Wong
Changes:
edited content

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.3/

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.3/, Jul 1, 2009.

American Medical Assocation (AMA) Manual of Style:

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

American Psychological Assocation (APA) Publication Manual:

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

Chicago Manual of Style (Bibliography):

Wong, Stephen, and Dung Nguyen. "State Design Pattern." Connexions. July 1, 2009. http://cnx.org/content/m17047/1.3/.

Chicago Manual of Style (Note):

Stephen Wong and Dung Nguyen, "State Design Pattern," Connexions, July 1, 2009, http://cnx.org/content/m17047/1.3/.

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

Wong, S., & Nguyen, D. 2009. State Design Pattern. Connexions, July 1, 2009. http://cnx.org/content/m17047/1.3/.

Modern Languages Association (MLA) Style Manual:

Wong, Stephen, and Dung Nguyen. State Design Pattern. Connexions. 1 July 2009 <http://cnx.org/content/m17047/1.3/>.