001: /*
002: * File: roReplace.java
003: * Project: jMOS, com.aranova.java.jmos.messages.profile2
004: * Revision: 0.9.1
005: * Date: 18-ene-2006 10:12:30
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 - Replace Running Order.<BR>
031: * <b>Purpose</b><BR>
032: * Replaces an existing Running Order definition in the MOS with another one sent from the NCS.<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="roReplace",profile=2,port=TypePort.UpperPort,response=roAck.class)
043: public class roReplace 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 roChannel.
095: */
096: public String getRoChannel() {
097: return _roChannel;
098: }
099:
100: /**
101: * @param roChannel The roChannel to set.
102: */
103: public void setRoChannel(final String roChannel) {
104: _roChannel = roChannel;
105: }
106:
107: /**
108: * @return Returns the roEdDur.
109: */
110: public Time getRoEdDur() {
111: return _roEdDur;
112: }
113:
114: /**
115: * @param roEdDur The roEdDur to set.
116: */
117: public void setRoEdDur(final Time roEdDur) {
118: _roEdDur = roEdDur;
119: }
120:
121: /**
122: * @return Returns the roEdStart.
123: */
124: public Date getRoEdStart() {
125: return _roEdStart;
126: }
127:
128: /**
129: * @param roEdStart The roEdStart to set.
130: */
131: public void setRoEdStart(final Date roEdStart) {
132: _roEdStart = roEdStart;
133: }
134:
135: /**
136: * @return Returns the roID.
137: */
138: public String getRoID() {
139: return _roID;
140: }
141:
142: /**
143: * @param roID The roID to set.
144: */
145: public void setRoID(final String roID) {
146: _roID = roID;
147: }
148:
149: /**
150: * @return Returns the roSlug.
151: */
152: public String getRoSlug() {
153: return _roSlug;
154: }
155:
156: /**
157: * @param roSlug The roSlug to set.
158: */
159: public void setRoSlug(final String roSlug) {
160: _roSlug = roSlug;
161: }
162:
163: /**
164: * @return Returns the roTrigger.
165: */
166: public String getRoTrigger() {
167: return _roTrigger;
168: }
169:
170: /**
171: * @param roTrigger The roTrigger to set.
172: */
173: public void setRoTrigger(final String roTrigger) {
174: _roTrigger = roTrigger;
175: }
176:
177: /**
178: * @return Returns the mosExternalMetadata.
179: */
180: public Set<mosExternalMetadata> getMosExternalMetadata() {
181: return _mosExternalMetadata;
182: }
183:
184: /**
185: * @return Returns the story.
186: */
187: public Set<story> getStory() {
188: return _story;
189: }
190: }
|