source: EDIS/trunk/java/tracking-ui-core/src/main/flex/gov/va/med/edp/vo/RoomBedVO.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: 1.2 KB
Line 
1/* RoomBedVO.as */
2
3package gov.va.med.edp.vo
4{
5 import com.adobe.cairngorm.vo.IValueObject;
6
7 [Bindable]
8 public class RoomBedVO implements IValueObject
9 {
10 public var id: int;
11 public var area: int;
12
13 public var name: String = "";
14 public var inactive: Boolean;
15 public var sequence: int;
16 public var displayName: String = "";
17 public var displayWhen: int;
18 public var defaultStatus: int;
19 public var category: int;
20 public var sharedName: String = "";
21 public var boardName: String = "";
22 public var color: ColorSelectionVO = new ColorSelectionVO();
23
24 public var changed: Boolean = false;
25
26 public function toString():String
27 {
28 var x: String =
29 "id=" + id + "\t" +
30 "area=" + area + "\t" +
31 "name=" + name + "\t" +
32 "inactive=" + (inactive ? "1" : "0") + "\t" +
33 "seq=" + sequence + "\t" +
34 "display=" + displayName + "\t" +
35 "when=" + displayWhen + "\t" +
36 "status=" + defaultStatus + "\t" +
37 "category=" + category + "\t" +
38 "shared=" + sharedName + "\t" +
39 "board=" + boardName + "\t" +
40 "color=" + color.toString() + "\t" +
41 "changed=" + (changed ? "1" : "0");
42 return x;
43 }
44
45 }
46}
Note: See TracBrowser for help on using the repository browser.