lib/representation.js
function Representation(factory, self, entity, root) {
    this._halacious = factory._halacious;
    this.factory = factory;
    this.request = factory._request;
    this._root = root || this;
    this.self = self.href;
    this._links = { self: self };
    this._embedded = {};
    this._namespaces = {};
    this._props = {};
    this._ignore = {};
    this.entity = entity;
}
function Representation(factory, self, entity, root) {
    this._halacious = factory._halacious;
    this.factory = factory;
    this.request = factory._request;
    this._root = root || this;
    this.self = self.href;
    this._links = { self: self };
    this._embedded = {};
    this._namespaces = {};
    this._props = {};
    this._ignore = {};
    this.entity = entity;
}
function Representation ( factory , self , entity , root ) { this . _halacious = factory . _halacious ; this . factory = factory ; this . request = factory . _request ; this . _root = root || this ; this . self = self . href ; this . _links = { self : self } ; this . _embedded = { } ; this . _namespaces = { } ; this . _props = { } ; this . _ignore = { } ; this . entity = entity ; }
A HAL wrapper interface around an entity. Provides an api for adding new links and recursively embedding child
entities.

@param factory
@param self
@param entity
@param root
@constructor
A HAL wrapper interface around an entity . Provides an api for adding new links and recursively embedding child entities .