Attribute (computing)

In object-oriented programming, classes can contain attributes and methods
An attribute in a relational database can be represented as a column or field

In computing, an attribute is a specification that defines a property of an object, element, or file. It may also refer to or set the specific value for a given instance of such. For clarity, attributes should more correctly be considered metadata. An attribute is frequently and generally a property of a property. However, in actual usage, the term attribute can and is often treated as equivalent to a property depending on the technology being discussed. An attribute of an object usually consists of a name and a value. For an element these can be a type and class name, while for a file these can be a name and an extension, respectively.


© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search