001: /*
002: * File: roCreate.java
003: * Project: jMOS, com.aranova.java.jmos.messages.profile2
004: * Revision: 0.9.1
005: * Date: 18-ene-2006 10:12:11
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.sql.Time;
017: import java.util.Date;
018: import java.util.LinkedHashSet;
019: import java.util.Set;
020:
021: import com.aranova.java.jmos.annotations.MOSAttribute;
022: import com.aranova.java.jmos.annotations.MOSMessage;
023: import com.aranova.java.jmos.enums.TypeModifier;
024: import com.aranova.java.jmos.enums.TypePort;
025: import com.aranova.java.jmos.messages.Message;
026: import com.aranova.java.jmos.messages.profile.mosExternalMetadata;
027: import com.aranova.java.jmos.messages.profile.story;
028:
029: /**
030: * Profile 2 - Create Running Order.<BR>
031: * <b>Purpose</b><BR>
032: * Message from the NCS to the MOS that defines a new Running Order.<BR>
033: * <b>Response</b><BR>
034: * {@link roAck roAck}<BR>
035: * <b>Port</b><BR>
036: * MOS Upper Port (10541) - Running Order<BR>
037: *
038: * @author <a href="http://www.aranova.net/contactar/">Daniel Sánchez</a>
039: * @version 0.9.1
040: * @since 0.9.1
041: */
042: @MOSMessage(name="roCreate",profile=2,port=TypePort.UpperPort,response=roAck.class)
043: public class roCreate extends Message {
044: @MOSAttribute(name="roID",maxLength=128)
045: private String _roID;
046: @MOSAttribute(name="roSlug",maxLength=128)
047: private String _roSlug;
048: @MOSAttribute(name="roChannel",maxLength=128,modifier=TypeModifier.Optional)
049: private String _roChannel;
050: @MOSAttribute(name="roEdStart",modifier=TypeModifier.Optional)
051: private Date _roEdStart;
052: @MOSAttribute(name="roEdDur",modifier=TypeModifier.Optional)
053: private Time _roEdDur;
054: @MOSAttribute(name="roTrigger",maxLength=128,modifier=TypeModifier.Optional)
055: private String _roTrigger;
056: @MOSAttribute(name="macroIn",maxLength=128,modifier=TypeModifier.Optional)
057: private String _macroIn;
058: @MOSAttribute(name="macroOut",maxLength=128,modifier=TypeModifier.Optional)
059: private String _macroOut;
060: @MOSAttribute(name="mosExternalMetadata",modifier=TypeModifier.ZeroOrMore,writeTag=false)
061: private Set<mosExternalMetadata> _mosExternalMetadata = new LinkedHashSet<mosExternalMetadata>();
062: @MOSAttribute(name="story",modifier=TypeModifier.ZeroOrMore,writeTag=false)
063: private Set<story> _story = new LinkedHashSet<story>();
064:
065: /**
066: * @return Returns the macroIn.
067: */
068: public String getMacroIn() {
069: return _macroIn;
070: }
071:
072: /**
073: * @param macroIn The macroIn to set.
074: */
075: public void setMacroIn(final String macroIn) {
076: _macroIn = macroIn;
077: }
078:
079: /**
080: * @return Returns the macroOut.
081: */
082: public String getMacroOut() {
083: return _macroOut;
084: }
085:
086: /**
087: * @param macroOut The macroOut to set.
088: */
089: public void setMacroOut(final String macroOut) {
090: _macroOut = macroOut;
091: }
092:
093: /**
094: * @return Returns the mosExternalMetadata.
095: */
096: public Set<mosExternalMetadata> getMosExternalMetadata() {
097: return _mosExternalMetadata;
098: }
099:
100: /**
101: * @return Returns the roChannel.
102: */
103: public String getRoChannel() {
104: return _roChannel;
105: }
106:
107: /**
108: * @param roChannel The roChannel to set.
109: */
110: public void setRoChannel(final String roChannel) {
111: _roChannel = roChannel;
112: }
113:
114: /**
115: * @return Returns the roEdDur.
116: */
117: public Time getRoEdDur() {
118: return _roEdDur;
119: }
120:
121: /**
122: * @param roEdDur The roEdDur to set.
123: */
124: public void setRoEdDur(final Time roEdDur) {
125: _roEdDur = roEdDur;
126: }
127:
128: /**
129: * @return Returns the roEdStart.
130: */
131: public Date getRoEdStart() {
132: return _roEdStart;
133: }
134:
135: /**
136: * @param roEdStart The roEdStart to set.
137: */
138: public void setRoEdStart(final Date roEdStart) {
139: _roEdStart = roEdStart;
140: }
141:
142: /**
143: * @return Returns the roID.
144: */
145: public String getRoID() {
146: return _roID;
147: }
148:
149: /**
150: * @param roID The roID to set.
151: */
152: public void setRoID(final String roID) {
153: _roID = roID;
154: }
155:
156: /**
157: * @return Returns the roSlug.
158: */
159: public String getRoSlug() {
160: return _roSlug;
161: }
162:
163: /**
164: * @param roSlug The roSlug to set.
165: */
166: public void setRoSlug(final String roSlug) {
167: _roSlug = roSlug;
168: }
169:
170: /**
171: * @return Returns the roTrigger.
172: */
173: public String getRoTrigger() {
174: return _roTrigger;
175: }
176:
177: /**
178: * @param roTrigger The roTrigger to set.
179: */
180: public void setRoTrigger(final String roTrigger) {
181: _roTrigger = roTrigger;
182: }
183:
184: /**
185: * @return Returns the story.
186: */
187: public Set<story> getStory() {
188: return _story;
189: }
190: }
|