01: /*
02: * File: roStat.java
03: * Project: jMOS, com.aranova.java.jmos.messages.profile2
04: * Revision: 0.9.1
05: * Date: 18-ene-2006 10:16:10
06: *
07: * Copyright (C) Aragón Innovación Tecnológica S.L.L.
08: * All rights reserved.
09: *
10: * This software is distributed under the terms of the Aranova License version 1.0.
11: * See the terms of the Aranova License in the documentation provided with this software.
12: */
13:
14: package com.aranova.java.jmos.messages.profile2;
15:
16: import java.util.Date;
17:
18: import com.aranova.java.jmos.annotations.MOSAttribute;
19: import com.aranova.java.jmos.annotations.MOSMessage;
20: import com.aranova.java.jmos.enums.TypePort;
21: import com.aranova.java.jmos.enums.mosfield.status;
22: import com.aranova.java.jmos.messages.Message;
23:
24: /**
25: * Profile 2 - Status of a MOS Running Order.<BR>
26: * <b>Purpose</b><BR>
27: * Method for the MOS to update the NCS on the status of a Play List. This allows the NCS to reflect the status of the Play List in the NRC Running Order Display.<BR>
28: * <b>Response</b><BR>
29: * {@link roAck roAck}<BR>
30: * <b>Port</b><BR>
31: * MOS Upper Port (10541) - Running Order<BR>
32: *
33: * @author <a href="http://www.aranova.net/contactar/">Daniel Sánchez</a>
34: * @version 0.9.1
35: * @since 0.9.1
36: */
37: @MOSMessage(name="roStat",profile=2,port=TypePort.UpperPort,response=roAck.class)
38: public class roStat extends Message {
39: @MOSAttribute(name="roID",maxLength=128)
40: private String _roID;
41: @MOSAttribute(name="status")
42: private status _status;
43: @MOSAttribute(name="time")
44: private Date _time;
45:
46: /**
47: * @return Returns the roID.
48: */
49: public String getRoID() {
50: return _roID;
51: }
52:
53: /**
54: * @param roID The roID to set.
55: */
56: public void setRoID(final String roID) {
57: _roID = roID;
58: }
59:
60: /**
61: * @return Returns the status.
62: */
63: public status getStatus() {
64: return _status;
65: }
66:
67: /**
68: * @param status The status to set.
69: */
70: public void setStatus(final status status) {
71: _status = status;
72: }
73:
74: /**
75: * @return Returns the time.
76: */
77: public Date getTime() {
78: return _time;
79: }
80:
81: /**
82: * @param time The time to set.
83: */
84: public void setTime(final Date time) {
85: _time = time;
86: }
87:
88: }
|