001: /*
002: * File: listMachInfo.java
003: * Project: jMOS, com.aranova.java.jmos.messages.profile0
004: * Revision: 0.9 - Inicial
005: * Date: 18-oct-2005 23:18:36
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.profile0;
015:
016: import java.util.Date;
017: import java.util.LinkedHashSet;
018: import java.util.Set;
019:
020: import com.aranova.java.jmos.annotations.MOSAttribute;
021: import com.aranova.java.jmos.annotations.MOSMessage;
022: import com.aranova.java.jmos.enums.TypeModifier;
023: import com.aranova.java.jmos.enums.TypePort;
024: import com.aranova.java.jmos.messages.Message;
025: import com.aranova.java.jmos.messages.profile.defaultActiveX;
026: import com.aranova.java.jmos.messages.profile.mosExternalMetadata;
027:
028: /**
029: * Profile 0 - Machine Description List.<BR>
030: * <b>Purpose</b><BR>
031: * Method for an NCS or MOS to send information about itself.<BR>
032: * <b>Response</b><BR>
033: * None<BR>
034: * <b>Port</b><BR>
035: * MOS Lower Port (10540) - Media Object Metadata<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
041: */
042: @MOSMessage(name="listMachInfo",profile=0,port={TypePort.LowerPort,TypePort.UpperPort})
043: public class listMachInfo extends Message {
044: @MOSAttribute(name="manufacturer")
045: private String _manufacturer;
046: @MOSAttribute(name="model")
047: private String _model;
048: @MOSAttribute(name="hwRev")
049: private String _hwRev;
050: @MOSAttribute(name="swRev")
051: private String _swRev;
052: @MOSAttribute(name="DOM")
053: private String _DOM;
054: @MOSAttribute(name="SN")
055: private String _SN;
056: @MOSAttribute(name="ID")
057: private String _ID;
058: @MOSAttribute(name="time")
059: private Date _time;
060: @MOSAttribute(name="opTime",modifier=TypeModifier.Optional)
061: private Date _opTime;
062: @MOSAttribute(name="mosRev")
063: private String _mosRev;
064: @MOSAttribute(name="mosProfile0")
065: private Boolean _mosProfile0;
066: @MOSAttribute(name="mosProfile1")
067: private Boolean _mosProfile1;
068: @MOSAttribute(name="mosProfile2")
069: private Boolean _mosProfile2;
070: @MOSAttribute(name="mosProfile3")
071: private Boolean _mosProfile3;
072: @MOSAttribute(name="mosProfile4")
073: private Boolean _mosProfile4;
074: @MOSAttribute(name="mosProfile5")
075: private Boolean _mosProfile5;
076: @MOSAttribute(name="mosProfile6")
077: private Boolean _mosProfile6;
078: @MOSAttribute(name="mosProfile7",version="2.8.2")
079: private Boolean _mosProfile7;
080: @MOSAttribute(name="defaultActiveX",modifier=TypeModifier.ZeroOrMore,writeTag=false)
081: private Set<defaultActiveX> _defaultActiveX = new LinkedHashSet<defaultActiveX>();
082: @MOSAttribute(name="mosExternalMetadata",modifier=TypeModifier.ZeroOrMore,writeTag=false)
083: private Set<mosExternalMetadata> _mosExternalMetadata = new LinkedHashSet<mosExternalMetadata>();
084:
085: /**
086: * @return Returns the mosExternalMetadata.
087: */
088: public Set<mosExternalMetadata> getMosExternalMetadata() {
089: return _mosExternalMetadata;
090: }
091:
092: /**
093: * @return Returns the dOM.
094: */
095: public String getDOM() {
096: return _DOM;
097: }
098:
099: /**
100: * @param dom The dOM to set.
101: */
102: public void setDOM(final String dom) {
103: _DOM = dom;
104: }
105:
106: /**
107: * @return Returns the hwRev.
108: */
109: public String getHwRev() {
110: return _hwRev;
111: }
112:
113: /**
114: * @param hwRev The hwRev to set.
115: */
116: public void setHwRev(final String hwRev) {
117: _hwRev = hwRev;
118: }
119:
120: /**
121: * @return Returns the iD.
122: */
123: public String getID() {
124: return _ID;
125: }
126:
127: /**
128: * @param id The iD to set.
129: */
130: public void setID(final String id) {
131: _ID = id;
132: }
133:
134: /**
135: * @return Returns the manufacturer.
136: */
137: public String getManufacturer() {
138: return _manufacturer;
139: }
140:
141: /**
142: * @param manufacturer The manufacturer to set.
143: */
144: public void setManufacturer(final String manufacturer) {
145: _manufacturer = manufacturer;
146: }
147:
148: /**
149: * @return Returns the model.
150: */
151: public String getModel() {
152: return _model;
153: }
154:
155: /**
156: * @param model The model to set.
157: */
158: public void setModel(final String model) {
159: _model = model;
160: }
161:
162: /**
163: * @return Returns the mosProfile0.
164: */
165: public Boolean getMosProfile0() {
166: return _mosProfile0;
167: }
168:
169: /**
170: * @param mosProfile0 The mosProfile0 to set.
171: */
172: public void setMosProfile0(final Boolean mosProfile0) {
173: _mosProfile0 = mosProfile0;
174: }
175:
176: /**
177: * @return Returns the mosProfile1.
178: */
179: public Boolean getMosProfile1() {
180: return _mosProfile1;
181: }
182:
183: /**
184: * @param mosProfile1 The mosProfile1 to set.
185: */
186: public void setMosProfile1(final Boolean mosProfile1) {
187: _mosProfile1 = mosProfile1;
188: }
189:
190: /**
191: * @return Returns the mosProfile2.
192: */
193: public Boolean getMosProfile2() {
194: return _mosProfile2;
195: }
196:
197: /**
198: * @param mosProfile2 The mosProfile2 to set.
199: */
200: public void setMosProfile2(final Boolean mosProfile2) {
201: _mosProfile2 = mosProfile2;
202: }
203:
204: /**
205: * @return Returns the mosProfile3.
206: */
207: public Boolean getMosProfile3() {
208: return _mosProfile3;
209: }
210:
211: /**
212: * @param mosProfile3 The mosProfile3 to set.
213: */
214: public void setMosProfile3(final Boolean mosProfile3) {
215: _mosProfile3 = mosProfile3;
216: }
217:
218: /**
219: * @return Returns the mosProfile4.
220: */
221: public Boolean getMosProfile4() {
222: return _mosProfile4;
223: }
224:
225: /**
226: * @param mosProfile4 The mosProfile4 to set.
227: */
228: public void setMosProfile4(final Boolean mosProfile4) {
229: _mosProfile4 = mosProfile4;
230: }
231:
232: /**
233: * @return Returns the mosProfile5.
234: */
235: public Boolean getMosProfile5() {
236: return _mosProfile5;
237: }
238:
239: /**
240: * @param mosProfile5 The mosProfile5 to set.
241: */
242: public void setMosProfile5(final Boolean mosProfile5) {
243: _mosProfile5 = mosProfile5;
244: }
245:
246: /**
247: * @return Returns the mosProfile6.
248: */
249: public Boolean getMosProfile6() {
250: return _mosProfile6;
251: }
252:
253: /**
254: * @param mosProfile6 The mosProfile6 to set.
255: */
256: public void setMosProfile6(final Boolean mosProfile6) {
257: _mosProfile6 = mosProfile6;
258: }
259:
260: /**
261: * @return Returns the mosRev.
262: */
263: public String getMosRev() {
264: return _mosRev;
265: }
266:
267: /**
268: * @param mosRev The mosRev to set.
269: */
270: public void setMosRev(final String mosRev) {
271: _mosRev = mosRev;
272: }
273:
274: /**
275: * @return Returns the opTime.
276: */
277: public Date getOpTime() {
278: return _opTime;
279: }
280:
281: /**
282: * @param opTime The opTime to set.
283: */
284: public void setOpTime(final Date opTime) {
285: _opTime = opTime;
286: }
287:
288: /**
289: * @return Returns the sN.
290: */
291: public String getSN() {
292: return _SN;
293: }
294:
295: /**
296: * @param sn The sN to set.
297: */
298: public void setSN(final String sn) {
299: _SN = sn;
300: }
301:
302: /**
303: * @return Returns the swRev.
304: */
305: public String getSwRev() {
306: return _swRev;
307: }
308:
309: /**
310: * @param swRev The swRev to set.
311: */
312: public void setSwRev(final String swRev) {
313: _swRev = swRev;
314: }
315:
316: /**
317: * @return Returns the time.
318: */
319: public Date getTime() {
320: return _time;
321: }
322:
323: /**
324: * @param time The time to set.
325: */
326: public void setTime(final Date time) {
327: _time = time;
328: }
329:
330: /**
331: * @return Returns the defaultActiveX.
332: */
333: public Set<defaultActiveX> getDefaultActiveX() {
334: return _defaultActiveX;
335: }
336:
337: /**
338: * @return Returns the mosProfile7.
339: */
340: public Boolean getMosProfile7() {
341: return _mosProfile7;
342: }
343:
344: /**
345: * @param mosProfile7 The mosProfile7 to set.
346: */
347: public void setMosProfile7(final Boolean mosProfile7) {
348: _mosProfile7 = mosProfile7;
349: }
350: }
|