01: /*
02: * File: element_target.java
03: * Project: jMOS, com.aranova.java.jmos.messages.profile
04: * Revision: 0.9.1
05: * Date: 18-ene-2006 19:23:26
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.profile;
15:
16: import com.aranova.java.jmos.annotations.MOSAttribute;
17: import com.aranova.java.jmos.annotations.MOSMessage;
18: import com.aranova.java.jmos.enums.TypeModifier;
19: import com.aranova.java.jmos.messages.Message;
20:
21: /**
22: * Clase para representar la escructura element_target.
23: * <!ELEMENT element_target (storyID, itemID?)>
24: *
25: * @author <a href="http://www.aranova.net/contactar/">Daniel Sánchez</a>
26: * @version 0.9.1
27: * @since 0.9.1
28: */
29: @MOSMessage(name="element_target")
30: public class element_target extends Message {
31: @MOSAttribute(name="storyID",maxLength=128)
32: private String _storyID;
33: @MOSAttribute(name="itemID",maxLength=128,modifier=TypeModifier.Optional)
34: private String _itemID;
35:
36: /**
37: * @return Returns the itemID.
38: */
39: public String getItemID() {
40: return _itemID;
41: }
42:
43: /**
44: * @param itemID The itemID to set.
45: */
46: public void setItemID(final String itemID) {
47: _itemID = itemID;
48: }
49:
50: /**
51: * @return Returns the storyID.
52: */
53: public String getStoryID() {
54: return _storyID;
55: }
56:
57: /**
58: * @param storyID The storyID to set.
59: */
60: public void setStoryID(final String storyID) {
61: _storyID = storyID;
62: }
63: }
|