package app.vo { [Bindable] public class NamedEntity extends Entity { public var name:String; public function NamedEntity(state:*=null) { super(state); } public override function initialize(state:*):void { super.initialize(state); if (state != null) { this.name = state.name; } } public function toString():String { return name + " (" + id + ")"; } } }