001: /*
002: * File: mosAck.java
003: * Project: jMOS, com.aranova.java.jmos.messages
004: * Revision: 0.9 - Inicial
005: * Date: 20-oct-2005 18:37:17
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.profile1;
015:
016: import com.aranova.java.jmos.annotations.MOSAttribute;
017: import com.aranova.java.jmos.annotations.MOSMessage;
018: import com.aranova.java.jmos.enums.TypePort;
019: import com.aranova.java.jmos.enums.mosfield.status;
020: import com.aranova.java.jmos.messages.Message;
021:
022: /**
023: * Profile 1 - Acknowledge MOS Object Description.<BR>
024: * <b>Purpose</b><BR>
025: * The MOS Acknowledgement for the MOS OBJ message.<BR>
026: * <b>Response</b><BR>
027: * None<BR>
028: * <b>Port</b><BR>
029: * MOS Lower Port (10540) - Media Object Metadata<BR>
030: *
031: * @author <a href="http://www.aranova.net/contactar/">Daniel Sánchez</a>
032: * @version 0.9.1
033: * @since 0.9
034: */
035: @MOSMessage(name="mosAck",profile=1,port=TypePort.LowerPort)
036: public class mosAck extends Message {
037: @MOSAttribute(name="objID")
038: private String _objID;
039: @MOSAttribute(name="objRev")
040: private int _objRev;
041: @MOSAttribute(name="status")
042: private status _status;
043: @MOSAttribute(name="statusDescription")
044: private String _statusDescription;
045:
046: /**
047: * @return Returns the objID.
048: */
049: public String getObjID() {
050: return _objID;
051: }
052:
053: /**
054: * @param objID The objID to set.
055: */
056: public void setObjID(final String objID) {
057: _objID = objID;
058: }
059:
060: /**
061: * @return Returns the objRev.
062: */
063: public int getObjRev() {
064: return _objRev;
065: }
066:
067: /**
068: * @param objRev The objRev to set.
069: */
070: public void setObjRev(final int objRev) {
071: _objRev = objRev;
072: }
073:
074: /**
075: * @return Returns the status.
076: */
077: public status getStatus() {
078: return _status;
079: }
080:
081: /**
082: * @param status The status to set.
083: */
084: public void setStatus(final status status) {
085: _status = status;
086: }
087:
088: /**
089: * @return Returns the statusDescription.
090: */
091: public String getStatusDescription() {
092: return _statusDescription;
093: }
094:
095: /**
096: * @param statusDescription The statusDescription to set.
097: */
098: public void setStatusDescription(final String statusDescription) {
099: _statusDescription = statusDescription;
100: }
101: }
|