01: /*
02: * File: mosReqObj.java
03: * Project: jMOS, com.aranova.java.jmos.messages.profile1
04: * Revision: 0.9 - Inicial
05: * Date: 27-oct-2005 16:53:39
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.profile1;
15:
16: import com.aranova.java.jmos.annotations.MOSAttribute;
17: import com.aranova.java.jmos.annotations.MOSMessage;
18: import com.aranova.java.jmos.enums.TypePort;
19: import com.aranova.java.jmos.messages.Message;
20:
21: /**
22: * Profile 1 - Request Object Description.<BR>
23: * <b>Purpose</b><BR>
24: * Message used by the NCS to request the description of an object.<BR>
25: * <b>Response</b><BR>
26: * {@link mosObj mosObj} - if objID is found<BR>
27: * {@link mosAck mosAck} - otherwise<BR>
28: * <b>Port</b><BR>
29: * MOS Lower Port (10540) - Media Object Metadata<BR>
30: *
31: * @author <a href="http://www.aranova.net/contactar/">Daniel Sánchez</a>
32: * @version 0.9.1
33: * @since 0.9
34: */
35: @MOSMessage(name="mosReqObj",profile=1,port=TypePort.LowerPort,response={mosAck.class,mosObj.class})
36: public class mosReqObj extends Message {
37: @MOSAttribute(name="objID",maxLength=128)
38: private String _objID;
39:
40: /**
41: * @return Returns the objID.
42: */
43: public String getObjID() {
44: return _objID;
45: }
46:
47: /**
48: * @param objID The objID to set.
49: */
50: public void setObjID(final String objID) {
51: _objID = objID;
52: }
53: }
|