Base layout of eclipse plugin for service provider.
[platform/upstream/iotivity.git] / service / simulator / java / eclipse-plugin / ServiceProviderPlugin / src / oic / simulator / serviceprovider / resource / ResourceAttribute.java
1 package oic.simulator.serviceprovider.resource;
2
3 import java.util.List;
4
5 import org.iotivity.simulator.SimulatorResourceAttribute;
6
7 public class ResourceAttribute {
8
9     // Native object reference
10     private SimulatorResourceAttribute resourceAttribute;
11
12     private String                     attributeName;
13     private Object                     attributeValue;
14     private AttributeValueType         attributeType;
15     private List<Object>               allowedValues;
16
17     private Object                     minValue;
18     private Object                     maxValue;
19
20     public SimulatorResourceAttribute getResourceAttribute() {
21         return resourceAttribute;
22     }
23
24     public void setResourceAttribute(
25             SimulatorResourceAttribute resourceAttribute) {
26         this.resourceAttribute = resourceAttribute;
27     }
28
29     public String getAttributeName() {
30         return attributeName;
31     }
32
33     public void setAttributeName(String attributeName) {
34         this.attributeName = attributeName;
35     }
36
37     public Object getAttributeValue() {
38         return attributeValue;
39     }
40
41     public void setAttributeValue(Object attributeValue) {
42         this.attributeValue = attributeValue;
43     }
44
45     public AttributeValueType getAttributeType() {
46         return attributeType;
47     }
48
49     public void setAttributeType(AttributeValueType attributeType) {
50         this.attributeType = attributeType;
51     }
52
53     public List<Object> getAllowedValues() {
54         return allowedValues;
55     }
56
57     public void setAllowedValues(List<Object> allowedValues) {
58         this.allowedValues = allowedValues;
59     }
60
61     public Object getMinValue() {
62         return minValue;
63     }
64
65     public void setMinValue(Object minValue) {
66         this.minValue = minValue;
67     }
68
69     public Object getMaxValue() {
70         return maxValue;
71     }
72
73     public void setMaxValue(Object maxValue) {
74         this.maxValue = maxValue;
75     }
76 }