Object Oriented Software Engineering   View all facts   Glossary   Help
subject > programming language construct > data item > object > immutable object
Next objectinstance of user interface class    Upobject    Previous objectoccurrence   

immutable object
subjectfact 
immutable objecthas definition an object that has a state which never changes after creation2001-08-30 14:55:53.0
is a subtopic of 6.10 - The Immutable Pattern2001-08-30 14:55:53.0
is a kind of object2001-08-30 14:55:53.0
objectcan be referred to without reference to the data (instance variables) contained in it2001-08-30 14:56:45.0
can be referred to by several different variables at the same time2001-08-30 14:56:45.0
can represent any entity to which you can associate properties and behaviour2001-08-30 14:56:45.0
has live activation while the object is performing computations in a sequence diagram2001-08-30 14:56:45.0
has behaviour2001-08-30 14:56:45.0
has state2001-08-30 14:56:45.0
has synonym instance: instance is used when you are talking about the role with respect to the class and object is used when talking in a more general way2001-08-30 14:56:45.0
is distinct from every other object even if they contain the same data2001-08-30 14:56:45.0
is in a state until an event occurs that causes it to change state2001-08-30 14:56:45.0
is structured2001-08-30 14:56:45.0
is drawn as a rectangle containing a colon and the underlined name of the class (optional if it is clear from the context), which may be preceded by an optional instance name in a UML instance diagram2001-08-30 14:56:45.0