Skip to content
EntityQ602271· pop 7· linked from 140 articles

metaobject

Sign in to save

Also known as meta-object

In computer science, a metaobject is an object that manipulates, creates, describes, or implements objects (including itself). The object that the metaobject pertains to is called the base object. Some information that a metaobject might define includes the base object's type, interface, class, methods, attributes, parse tree, etc. Metaobjects are examples of the computer science concept of reflection, where a system has access (usually at run time) to its own internal structure. Reflection enables a system to essentially rewrite itself on the fly, to alter its own implementation as it execute

In the Vinony graph

Within Vinony's link graph, metaobject is referenced by 140 other articles, and connects out to class, PARC and interface.

It is catalogued under the topic Object (computer science).

Its subject is documented across 7 Wikipedia language editions.

Wikidata facts

Subclass of
object

via Wikidata · CC0

~6 min read

Encyclopedic overview

6 sections
Contents
  • Metaobject protocol<!--'Metaobject protocol' redirects here-->
  • Runtime and compile time
  • Usage
  • See also
  • References
  • External links

In computer science, a metaobject is an object that manipulates, creates, describes, or implements objects (including itself). The object that the metaobject pertains to is called the base object. Some information that a metaobject might define includes the base object's type, interface, class, methods, attributes, parse tree, etc. Metaobjects are examples of the computer science concept of reflection, where a system has access (usually at run time) to its own internal structure. Reflection enables a system to essentially rewrite itself on the fly, to alter its own implementation as it executes.

== Metaobject protocol == A metaobject protocol (MOP) provides the vocabulary (protocol) to access and manipulate the structure and behaviour of systems of objects. Typical functions of a metaobject protocol include: Create or delete a new class Create a new property or method Cause a class to inherit from a different class ("change the class structure") Generate or change the code defining the methods of a class

Excerpted from Wikipedia’s “metaobject” article, available under the CC BY-SA 4.0 licence.

Available in 7 languages

via Wikidata sitelinks · CC0

Categories