Class: Entity
| Defined in: | src/model/entity.coffee |
Overview
The base class of API model.
Provides facilities for traversing, and adding external behaviour
Direct Known Subclasses
Interaction, Schema, Scope, Type
Class Method Summary
- + (void) extend(obj) Part of mixins implementation taken from http://arcturo.github.io/library/coffeescript/03_classes.html
- + (void) include(obj) Part of mixins implementation taken from http://arcturo.github.io/library/coffeescript/03_classes.html
- + (void) accessors(properties..., templates)
- + (void) children(children...)
- + (void) entity(name)
Instance Method Summary
- - (void) constructor(options) Constructor
- - (void) getEntityType()
- - (void) isInstanceOfEntity(type)
- - (void) getParent()
- - (void) setParent(parent)
- - (void) isRoot()
- - (void) getAncestors()
- - (void) getChildrenIterator()
- - (void) isLeaf()
Class Method Details
+ (void) extend(obj)
Part of mixins implementation taken from http://arcturo.github.io/library/coffeescript/03_classes.html
+ (void) include(obj)
Part of mixins implementation taken from http://arcturo.github.io/library/coffeescript/03_classes.html
+ (void) accessors(properties..., templates)
+ (void) children(children...)
+ (void) entity(name)
Constructor Details
- (void) constructor(options)
Instance Method Details
- (void) getEntityType()
- (void) isInstanceOfEntity(type)
- (void) getParent()
- (void) setParent(parent)
- (void) isRoot()
- (void) getAncestors()
- (void) getChildrenIterator()
- (void) isLeaf()