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