Guest User

Untitled

a guest
May 24th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. import componentes.actionScript.BaseVO;
  2. import componentes.actionScript.Atribuicao;
  3. import mx.collections.ArrayCollection;
  4. import componentes.actionScript.BaseComponente;
  5. private var base:BaseVO;
  6.  
  7. private function inicializa():void{
  8. var contact_id:BaseComponente = new BaseComponente("id", this.contact_ID, 0, 1);
  9. var contact_phone:BaseComponente = new BaseComponente("phone", this.contact_phone, 1, 1);
  10. var contact_phone2:BaseComponente = new BaseComponente("phone2", this.contact_phone2, 2, 1);
  11. var contact_cell:BaseComponente = new BaseComponente("cell", this.contact_cell, 3, 1);
  12. var contact_cell2:BaseComponente = new BaseComponente("cell2", this.contact_cell2, 4, 1);
  13. var contact_fax:BaseComponente = new BaseComponente("fax", this.contact_fax, 5, 1);
  14. var contact_email:BaseComponente = new BaseComponente("email", this.contact_email, 6, 1);
  15. var contact_email2:BaseComponente = new BaseComponente("email2", this.contact_email2, 7, 1);
  16. var contact_website:BaseComponente = new BaseComponente("website", this.contact_website, 8, 1);
  17.  
  18. var arrayComponentes:Array = new Array(contact_id, contact_phone, contact_phone2, contact_cell, contact_cell2, contact_fax, contact_email, contact_email2, contact_website);
  19. base = new BaseVO(arrayComponentes, Contact, "ContactsController", null);
  20. }
  21.  
  22. public function getBaseVO():BaseVO{
  23. return base;
  24. }
Add Comment
Please, Sign In to add comment