Cairngorm Value Object


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.