1 | package de.dass_it.vanhelsing.gui;
|
---|
2 |
|
---|
3 | import de.dass_it.www.vanhelsing.VanHelsingStub.ResourceAttributeType;
|
---|
4 | import de.dass_it.www.vanhelsing.VanHelsingStub.ResourceInfo;
|
---|
5 |
|
---|
6 | public class SimpleResource{
|
---|
7 | /**
|
---|
8 | * @uml.property name="resourceInfo"
|
---|
9 | * @uml.associationEnd
|
---|
10 | */
|
---|
11 | private ResourceInfo resourceInfo;
|
---|
12 | /**
|
---|
13 | * @uml.property name="resourceAttributeType"
|
---|
14 | * @uml.associationEnd multiplicity="(0 -1)"
|
---|
15 | */
|
---|
16 | private ResourceAttributeType[] resourceAttributeType;
|
---|
17 |
|
---|
18 | public SimpleResource(){}
|
---|
19 | public SimpleResource(ResourceInfo ri, ResourceAttributeType[] rat){
|
---|
20 | setResourceInfo(ri);
|
---|
21 | setResourceAttributeType(rat);
|
---|
22 | }
|
---|
23 |
|
---|
24 | /**
|
---|
25 | * @return
|
---|
26 | * @uml.property name="resourceInfo"
|
---|
27 | */
|
---|
28 | public ResourceInfo getResourceInfo() {
|
---|
29 | return resourceInfo;
|
---|
30 | }
|
---|
31 | /**
|
---|
32 | * @param resourceInfo
|
---|
33 | * @uml.property name="resourceInfo"
|
---|
34 | */
|
---|
35 | public void setResourceInfo(ResourceInfo resourceInfo) {
|
---|
36 | this.resourceInfo = resourceInfo;
|
---|
37 | }
|
---|
38 | /**
|
---|
39 | * @return
|
---|
40 | * @uml.property name="resourceAttributeType"
|
---|
41 | */
|
---|
42 | public ResourceAttributeType[] getResourceAttributeType() {
|
---|
43 | return resourceAttributeType;
|
---|
44 | }
|
---|
45 | /**
|
---|
46 | * @param resourceAttributeType
|
---|
47 | * @uml.property name="resourceAttributeType"
|
---|
48 | */
|
---|
49 | public void setResourceAttributeType(
|
---|
50 | ResourceAttributeType[] resourceAttributeType) {
|
---|
51 | this.resourceAttributeType = resourceAttributeType;
|
---|
52 | }
|
---|
53 | }
|
---|
54 |
|
---|