Skip to content

Commit

Permalink
Cleanup imports and methods in Entity
Browse files Browse the repository at this point in the history
  • Loading branch information
danschultz committed Sep 22, 2011
1 parent afb1bb6 commit 13ae886
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/mesh/model/Entity.as
Expand Up @@ -5,11 +5,9 @@ package mesh.model

import flash.errors.IllegalOperationError;
import flash.events.EventDispatcher;
import flash.utils.flash_proxy;

import mesh.core.inflection.humanize;
import mesh.core.object.copy;
import mesh.core.object.merge;
import mesh.core.reflection.Type;
import mesh.core.state.StateEvent;
import mesh.model.associations.Association;
Expand All @@ -22,9 +20,6 @@ package mesh.model
import mesh.model.validators.Validator;

import mx.events.PropertyChangeEvent;
import mx.utils.ObjectUtil;

use namespace flash_proxy;

/**
* An entity.
Expand Down Expand Up @@ -95,16 +90,6 @@ package mesh.model
_associations.map(property, new HasManyAssociation(this, property, options));
}

/**
* Clones the entity using native AMF3 serialization.
*
* @return A cloned entity.
*/
public function clone():*
{
return ObjectUtil.copy(this);
}

/**
* Marks this entity as destroyed and dirty.
*
Expand Down

0 comments on commit 13ae886

Please sign in to comment.