Posted By

jonniespratley on 10/27/08


Tagged

textmate Flex as3 mxml cairngorm


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

THEPWN3R


Cairngorm Value Object


 / Published in: ActionScript 3
 

  1. /** *******************************************************************
  2.  * MySnippets
  3.  * Free for use
  4.  *
  5.  * @author Jonnie Spratley
  6.  * @contact [email protected]
  7.  ******************************************************************* */
  8. package com.jonniespratley.snippr.vo
  9. {
  10. [RemoteClass(alias="vo.SnippetVO")]
  11.  
  12. /**
  13.   * VOs are used to create a layer of business objects that can be
  14.   * transferred between tiers, instead of using records, results sets, and datasets.
  15.   */
  16. [Bindable]
  17. public class SnippetVO
  18. {
  19. public var snippet_id:int;
  20. public var snippet_title:String;
  21. public var snippet_code:String;
  22. public var snippet_type:String;
  23. public var snippet_created:String;
  24. public var snippet_user:String;
  25.  
  26. /**
  27. * Helper function for building the data.
  28. * @param source
  29. *
  30. */
  31. public function SnippetVO( snip:Object = null )
  32. {
  33.  
  34. }
  35. }
  36. }

Report this snippet  

You need to login to post a comment.