01: /*
02: * File: mosListAll.java
03: * Project: jMOS, com.aranova.java.jmos.messages.profile1
04: * Revision: 0.9 - Inicial
05: * Date: 27-oct-2005 16:07:23
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 java.util.LinkedHashSet;
17: import java.util.Set;
18:
19: import com.aranova.java.jmos.annotations.MOSAttribute;
20: import com.aranova.java.jmos.annotations.MOSMessage;
21: import com.aranova.java.jmos.enums.TypeModifier;
22: import com.aranova.java.jmos.enums.TypePort;
23: import com.aranova.java.jmos.messages.Message;
24:
25: /**
26: * Profile 1 - Listing of All Object Data from MOS.<BR>
27: * <b>Purpose</b><BR>
28: * Send MOS object descriptions in a format similar to {@link mosObj mosObj} messages from the MOS to the NCS. mosListAll is initiated by a properly Ack’d {@link mosReqAll mosReqAll} message from the NCS.<BR>
29: * <b>Response</b><BR>
30: * {@link mosAck mosAck}<BR>
31: * <b>Port</b><BR>
32: * MOS Lower Port (10540) - Media Object Metadata<BR>
33: *
34: * @author <a href="http://www.aranova.net/contactar/">Daniel Sánchez</a>
35: * @version 0.9.1
36: * @since 0.9
37: */
38: @MOSMessage(name="mosListAll",profile=1,port=TypePort.LowerPort,response=mosAck.class)
39: public class mosListAll extends Message {
40: @MOSAttribute(name="mosObj",modifier=TypeModifier.ZeroOrMore,writeTag=false)
41: private Set<mosObj> _mosObj = new LinkedHashSet<mosObj>();
42:
43: /**
44: * @return Returns the mosObj.
45: */
46: public Set<mosObj> getMosObj() {
47: return _mosObj;
48: }
49: }
|