Object Modelling
   HOME

TheInfoList



OR:

In computing, object model has two related but distinct meanings: # The properties of
objects Object may refer to: General meanings * Object (philosophy), a thing, being, or concept ** Object (abstract), an object which does not exist at any particular time or place ** Physical object, an identifiable collection of matter * Goal, an ...
in general in a specific computer programming language, technology, notation or methodology that uses them. Examples are the object models of '' Java'', the '' Component Object Model (COM)'', or '' Object-Modeling Technique (OMT)''. Such object models are usually defined using concepts such as
class Class or The Class may refer to: Common uses not otherwise categorized * Class (biology), a taxonomic rank * Class (knowledge representation), a collection of individuals or objects * Class (philosophy), an analytical concept used differentl ...
, generic function, message, inheritance,
polymorphism Polymorphism, polymorphic, polymorph, polymorphous, or polymorphy may refer to: Computing * Polymorphism (computer science), the ability in programming to present the same programming interface for differing underlying forms * Ad hoc polymorphis ...
, and encapsulation. There is an extensive literature on formalized object models as a subset of the formal semantics of programming languages. # A collection of objects or classes through which a
program Program, programme, programmer, or programming may refer to: Business and management * Program management, the process of managing several related projects * Time management * Program, a part of planning Arts and entertainment Audio * Progra ...
can examine and manipulate some specific parts of its world. In other words, the object-oriented interface to some service or system. Such an interface is said to be the ''object model of'' the represented service or system. For example, the Document Object Model (DOM

is a collection of objects that represent a web page, page in a web browser, used by
script Script may refer to: Writing systems * Script, a distinctive writing system, based on a repertoire of specific elements or symbols, or that repertoire * Script (styles of handwriting) ** Script typeface, a typeface with characteristics of handw ...
programs to examine and dynamically change the page. There is a Microsoft Excel object mode

for controlling Microsoft Excel from another program, and the ASCOM (standard), ASCOM Telescope Drive

is an object model for controlling an astronomical telescope. An object model consists of the following important features: ;Object Reference: Objects can be accessed via object references. To invoke a method in an object, the object reference and method name are given, together with any arguments. ;Interfaces: An interface provides a definition of the signature of a set of methods without specifying their implementation. An object will provide a particular interface if its class contains code that implement the method of that interface. An interface also defines types that can be used to declare the type of variables or parameters and
return value In computer programming, a return statement causes execution to leave the current subroutine and resume at the point in the code immediately after the instruction which called the subroutine, known as its return address. The return address is sa ...
s of methods. ;Actions: An action in object-oriented programming (OOP) is initiated by an object invoking a method in another object. An invocation can include additional information needed to carry out the method. The receiver executes the appropriate method and then returns control to the invoking object, sometimes supplying a result. ;Exceptions: Programs can encounter various errors and unexpected conditions of varying seriousness. During the execution of the method many different problems may be discovered. Exceptions provide a clean way to deal with error conditions without complicating the code. A block of code may be defined to throw an exception whenever particular unexpected conditions or errors arise. This means that control passes to another block of code that catches the exception.


See also

* Object-oriented programming * Object-oriented analysis and design * Object database * Object Management Group *
Domain-driven design Domain-driven design (DDD) is a major software design approach, focusing on modeling software to match a domain according to input from that domain's experts. Under domain-driven design, the structure and language of software code (class name ...
*
Eigenclass model Ruby is an interpreted, high-level, general-purpose programming language which supports multiple programming paradigms. It was designed with an emphasis on programming productivity and simplicity. In Ruby, everything is an object, including pr ...


Literature

* * * * *


External links


Document Object Model (DOM)
The official
W3C The World Wide Web Consortium (W3C) is the main international standards organization for the World Wide Web. Founded in 1994 and led by Tim Berners-Lee, the consortium is made up of member organizations that maintain full-time staff working to ...
definition of the DOM.
"The Java Object Model"

The Ruby Object Model: Data Structure in Detail

Object Membership: The core structure of object-oriented programming


A "representative sample of the design space of object models" (sense 1).
ASCOM Standards
web site {{DEFAULTSORT:Object Model Object-oriented programming