| Rev | Line | |
|---|
| [1227] | 1 | /* RoomBedVO.as */
|
|---|
| 2 |
|
|---|
| 3 | package 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.