001: /*
002: * File: roAckStatus.java
003: * Project: jMOS, com.aranova.java.jmos.messages.profile
004: * Revision: 0.9.1
005: * Date: 18-ene-2006 10:47:39
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.profile;
015:
016: import com.aranova.java.jmos.annotations.MOSAttribute;
017: import com.aranova.java.jmos.annotations.MOSMessage;
018: import com.aranova.java.jmos.enums.TypeModifier;
019: import com.aranova.java.jmos.enums.mosfield.status;
020: import com.aranova.java.jmos.messages.Message;
021:
022: /**
023: * Clase para representar (storyID, itemID, objID, itemChannel?, status)* del roAck.
024: *
025: * @author <a href="http://www.aranova.net/contactar/">Daniel Sánchez</a>
026: * @version 0.9.1
027: * @since 0.9.1
028: */
029: @MOSMessage(name="roAckStatus",writeTag=false)
030: public class roAckStatus extends Message {
031: @MOSAttribute(name="storyID",maxLength=128)
032: private String _storyID;
033: @MOSAttribute(name="itemID",maxLength=128)
034: private String _itemID;
035: @MOSAttribute(name="objID",maxLength=128)
036: private String _objID;
037: @MOSAttribute(name="itemChannel",modifier=TypeModifier.Optional)
038: private String _itemChannel;
039: @MOSAttribute(name="status")
040: private status _status;
041:
042: /**
043: * @return Returns the itemChannel.
044: */
045: public String getItemChannel() {
046: return _itemChannel;
047: }
048:
049: /**
050: * @param itemChannel The itemChannel to set.
051: */
052: public void setItemChannel(final String itemChannel) {
053: this ._itemChannel = itemChannel;
054: }
055:
056: /**
057: * @return Returns the itemID.
058: */
059: public String getItemID() {
060: return _itemID;
061: }
062:
063: /**
064: * @param itemID The itemID to set.
065: */
066: public void setItemID(final String itemID) {
067: this ._itemID = itemID;
068: }
069:
070: /**
071: * @return Returns the objID.
072: */
073: public String getObjID() {
074: return _objID;
075: }
076:
077: /**
078: * @param objID The objID to set.
079: */
080: public void setObjID(final String objID) {
081: this ._objID = objID;
082: }
083:
084: /**
085: * @return Returns the status.
086: */
087: public status getStatus() {
088: return _status;
089: }
090:
091: /**
092: * @param status The status to set.
093: */
094: public void setStatus(final status status) {
095: this ._status = status;
096: }
097:
098: /**
099: * @return Returns the storyID.
100: */
101: public String getStoryID() {
102: return _storyID;
103: }
104:
105: /**
106: * @param storyID The storyID to set.
107: */
108: public void setStoryID(final String storyID) {
109: this._storyID = storyID;
110: }
111: }
|