01: /*
02: * File: InfoAttribute.java
03: * Project: jMOS, com.aranova.java.jmos.messages
04: * Revision: 0.9 - Inicial
05: * Date: 27-oct-2005 17:21:35
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;
15:
16: import java.lang.reflect.Field;
17:
18: import com.aranova.java.jmos.annotations.MOSAttribute;
19:
20: /**
21: * Clase para guardar ka información de un campo MOS.
22: *
23: * @author <a href="http://www.aranova.net/contactar/">Daniel Sánchez</a>
24: * @version 0.9.1
25: * @since 0.9
26: */
27: public class InfoAttribute {
28: private final MOSAttribute _attribute;
29: private final Field _field;
30:
31: /**
32: * @param attribute
33: * @param field
34: */
35: public InfoAttribute(final MOSAttribute attribute, final Field field) {
36: _attribute = attribute;
37: _field = field;
38: }
39:
40: /**
41: * @return Returns the attribute.
42: */
43: public MOSAttribute getAttribute() {
44: return _attribute;
45: }
46:
47: /**
48: * @return Returns the Field.
49: */
50: public Field getField() {
51: return _field;
52: }
53: }
|