Statistics
| Revision:

root / trunk / libraries / libMetadata / src / org / gvsig / metadata / extended / manager / MDElement.java @ 20940

History | View | Annotate | Download (1013 Bytes)

1
package org.gvsig.metadata.extended.manager;
2

    
3
import java.util.Locale;
4

    
5
import org.gvsig.metadata.extended.registry.objects.MDElementDefinition;
6

    
7

    
8
public class MDElement {
9
        
10
        private String id;
11
        private Object value;
12
        private MDElementDefinition type;
13
        private Locale locale;
14
        
15
        public MDElement() {}
16
        
17
        public MDElement(String id, Object value, MDElementDefinition type, Locale locale) {
18
                this.id = id;
19
                this.value = value;
20
                this.type = type;
21
                this.locale = locale;
22
        }
23
        
24
        public String getId() {
25
                return this.id;
26
        }
27
        
28
        public Object getValue() {
29
                return this.value;
30
        }
31
        
32
        public MDElementDefinition getType() {
33
                return this.type;
34
        }
35
        
36
        public Locale getLocale() {
37
                return this.locale;
38
        }
39
        
40
        public void setId(String id) {
41
                this.id = id;
42
        }
43
        
44
        public void setValue(Object value) {
45
                this.value = value;
46
        }
47
        
48
        public void setType(MDElementDefinition type) {
49
                this.type = type;
50
        }
51
        
52
        public void setLocale(Locale locale) {
53
                this.locale = locale;
54
        }
55
}