01: /*
02: * File: mosExternalMetadata.java
03: * Project: jMOS, com.aranova.java.jmos.messages
04: * Revision: 0.9 - Inicial
05: * Date: 27-oct-2005 16:48:38
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.enums.mosfield.mosScope;
20: import com.aranova.java.jmos.messages.Message;
21:
22: /**
23: * Clase para representar la estructura mosExternalMetadata.
24: * <!ELEMENT mosExternalMetadata (mosScope?, mosSchema, mosPayload>
25: *
26: * @author <a href="http://www.aranova.net/contactar/">Daniel Sánchez</a>
27: * @version 0.9.1
28: * @since 0.9
29: */
30: @MOSMessage(name="mosExternalMetadata")
31: public class mosExternalMetadata extends Message {
32: @MOSAttribute(name="mosScope",modifier=TypeModifier.Optional)
33: private mosScope _mosScope;
34: @MOSAttribute(name="mosSchema")
35: private String _mosSchema;
36: @MOSAttribute(name="mosPayload",isXML=true,writeTag=false)
37: private String _mosPayload;
38:
39: /**
40: * @return Returns the mosPayload.
41: */
42: public String getMosPayload() {
43: return _mosPayload;
44: }
45:
46: /**
47: * @param mosPayload The mosPayload to set.
48: */
49: public void setMosPayload(final String mosPayload) {
50: _mosPayload = mosPayload;
51: }
52:
53: /**
54: * @return Returns the mosSchema.
55: */
56: public String getMosSchema() {
57: return _mosSchema;
58: }
59:
60: /**
61: * @param mosSchema The mosSchema to set.
62: */
63: public void setMosSchema(final String mosSchema) {
64: _mosSchema = mosSchema;
65: }
66:
67: /**
68: * @return Returns the mosScope.
69: */
70: public mosScope getMosScope() {
71: return _mosScope;
72: }
73:
74: /**
75: * @param mosScope The mosScope to set.
76: */
77: public void setMosScope(final mosScope mosScope) {
78: _mosScope = mosScope;
79: }
80: }
|