001: /*
002: * File: roItemStat.java
003: * Project: jMOS, com.aranova.java.jmos.messages.profile2
004: * Revision: 0.9.1
005: * Date: 18-ene-2006 10:16:57
006: *
007: * Copyright (C) Aragón Innovación Tecnológica S.L.L.
008: * All rights reserved.
009: *
010: * This software is distributed under the terms of the Aranova License version 1.0.
011: * See the terms of the Aranova License in the documentation provided with this software.
012: */
013:
014: package com.aranova.java.jmos.messages.profile2;
015:
016: import java.util.Date;
017:
018: import com.aranova.java.jmos.annotations.MOSAttribute;
019: import com.aranova.java.jmos.annotations.MOSMessage;
020: import com.aranova.java.jmos.enums.TypeModifier;
021: import com.aranova.java.jmos.enums.TypePort;
022: import com.aranova.java.jmos.enums.mosfield.status;
023: import com.aranova.java.jmos.messages.Message;
024:
025: /**
026: * Profile 2 - Status of a Single Item in a MOS Running Order.<BR>
027: * <b>Purpose</b><BR>
028: * Method for the MOS to update the NCS on the status of an individual Item in a Running Order. This allows the NCS to reflect the status of individual Items in the MOS Running Order in the NCS Running Order display.<BR>
029: * <b>Response</b><BR>
030: * {@link roAck roAck}<BR>
031: * <b>Port</b><BR>
032: * MOS Upper Port (10541) - Running Order<BR>
033: *
034: * @author <a href="http://www.aranova.net/contactar/">Daniel Sánchez</a>
035: * @version 0.9.1
036: * @since 0.9.1
037: */
038: @MOSMessage(name="roItemStat",profile=2,port=TypePort.UpperPort,response=roAck.class)
039: public class roItemStat extends Message {
040: @MOSAttribute(name="roID",maxLength=128)
041: private String _roID;
042: @MOSAttribute(name="storyID",maxLength=128)
043: private String _storyID;
044: @MOSAttribute(name="itemID",maxLength=128)
045: private String _itemID;
046: @MOSAttribute(name="objID",maxLength=128)
047: private String _objID;
048: @MOSAttribute(name="itemChannel",modifier=TypeModifier.Optional)
049: private String _itemChannel;
050: @MOSAttribute(name="status")
051: private status _status;
052: @MOSAttribute(name="time")
053: private Date _time;
054:
055: /**
056: * @return Returns the itemChannel.
057: */
058: public String getItemChannel() {
059: return _itemChannel;
060: }
061:
062: /**
063: * @param itemChannel The itemChannel to set.
064: */
065: public void setItemChannel(final String itemChannel) {
066: _itemChannel = itemChannel;
067: }
068:
069: /**
070: * @return Returns the itemID.
071: */
072: public String getItemID() {
073: return _itemID;
074: }
075:
076: /**
077: * @param itemID The itemID to set.
078: */
079: public void setItemID(final String itemID) {
080: _itemID = itemID;
081: }
082:
083: /**
084: * @return Returns the objID.
085: */
086: public String getObjID() {
087: return _objID;
088: }
089:
090: /**
091: * @param objID The objID to set.
092: */
093: public void setObjID(final String objID) {
094: _objID = objID;
095: }
096:
097: /**
098: * @return Returns the roID.
099: */
100: public String getRoID() {
101: return _roID;
102: }
103:
104: /**
105: * @param roID The roID to set.
106: */
107: public void setRoID(final String roID) {
108: _roID = roID;
109: }
110:
111: /**
112: * @return Returns the status.
113: */
114: public status getStatus() {
115: return _status;
116: }
117:
118: /**
119: * @param status The status to set.
120: */
121: public void setStatus(final status status) {
122: _status = status;
123: }
124:
125: /**
126: * @return Returns the storyID.
127: */
128: public String getStoryID() {
129: return _storyID;
130: }
131:
132: /**
133: * @param storyID The storyID to set.
134: */
135: public void setStoryID(final String storyID) {
136: _storyID = storyID;
137: }
138:
139: /**
140: * @return Returns the time.
141: */
142: public Date getTime() {
143: return _time;
144: }
145:
146: /**
147: * @param time The time to set.
148: */
149: public void setTime(final Date time) {
150: _time = time;
151: }
152: }
|