source: EDIS/trunk/java/tracking-ui-core/src/main/flex/gov/va/med/edp/vo/CodeSelectionVO.as@ 1227

Last change on this file since 1227 was 1227, checked in by George Lilly, 13 years ago

initial load of EDIS 1.0

File size: 824 bytes
Line 
1/* CodeSelectionVO.as */
2
3package gov.va.med.edp.vo
4{
5 import com.adobe.cairngorm.vo.IValueObject;
6
7 [Bindable]
8 public class CodeSelectionVO implements IValueObject
9 {
10 public var id: int = 0;
11 public var name: String = "";
12 public var displayName: String = "";
13 public var abbreviation: String = "";
14 public var flag: String = "";
15 public var inactive: Boolean;
16 public var national: String = "";
17
18 public function toString(): String
19 {
20 // in the string form, the first comma piece is 1 if Code should be used
21 var x: String =
22 "id=" + id + "\t" +
23 "nm=" + name + "\t" +
24 "show=" + displayName + "\t" +
25 "abbr=" + abbreviation + "\t" +
26 "flag=" + flag + "\t" +
27 "inact=" + (inactive ? "1" : "0") + "\t" +
28 "natl=" + national + "\t";
29 return x;
30 }
31 }
32}
Note: See TracBrowser for help on using the repository browser.