Object Oriented Software Engineering   View all facts   Glossary   Help
subject > programming language construct > data item > variable > attribute
Next data abstractionclass    Updata abstraction, variable    Previous data abstractionassociation   

attribute
subjectfact 
attributecan be identified by looking at the description of the system and searching for information that must be maintained about each class2001-08-30 14:54:36.0
has definition A simple data item present in all the instances of a class2001-08-30 14:54:36.0
is a subtopic of 9.2 - Principles Leading to Good Design2001-08-30 14:54:36.0
is implemented as an instance variable in Java2001-08-30 14:54:37.0
is used in the analysis and design stage before it is known how the attribute will be implemented2001-08-30 14:54:37.0
is a kind of data abstraction2001-08-30 14:54:37.0
is a kind of variable2001-08-30 14:54:37.0
must not be added to a model unless it is relevant to the application - it will be needed to implement some requirement2001-08-30 14:54:37.0
must not have a plural name2001-08-30 14:54:37.0
represents the properties of an object2001-08-30 14:54:37.0
should be a simple variable - typically an integer or string, or a one-to-one composition2001-08-30 14:54:37.0
should be private2001-08-30 14:54:37.0
should not have an implicit internal structure2001-08-30 14:54:37.0
should not normally represent a variable number of things2001-08-30 14:54:37.0
should only be accessed through public methods so that attributes are only given valid values and so that you can change the internal design of the class without affecting how users of the class interact with it2001-08-30 14:54:37.0
data abstractiongroups the pieces of data that describe some entity, so that programmers can manipulate that data as a unit2001-08-30 14:55:09.0
helps a programmer to cope with the complexity of data2001-08-30 14:55:09.0
hides the details of data2001-08-30 14:55:09.0
variablecan contain different classes of objects depending on the type of the variable2001-08-30 14:58:18.0
can refer to a particular object, several different objects during the execution of a program, or no object at all2001-08-30 14:58:18.0
has scope2001-08-30 14:58:18.0
has type2001-08-30 14:58:19.0

Next data abstractionclass    Updata abstraction, variable    Previous data abstractionassociation