Line | |
---|
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 | * SimpleResource is used as a return type for getSimpleResource() method
|
---|
7 | * Since this class contains only setter and getter methods there is no further documentation
|
---|
8 | * @author tgoecke
|
---|
9 | *
|
---|
10 | */
|
---|
11 | public class SimpleResource{
|
---|
12 | private ResourceInfo resourceInfo;
|
---|
13 | private ResourceAttributeType[] resourceAttributeType;
|
---|
14 |
|
---|
15 | public SimpleResource(){}
|
---|
16 | public SimpleResource(ResourceInfo ri, ResourceAttributeType[] rat){
|
---|
17 | setResourceInfo(ri);
|
---|
18 | setResourceAttributeType(rat);
|
---|
19 | }
|
---|
20 |
|
---|
21 | public ResourceInfo getResourceInfo() {
|
---|
22 | return resourceInfo;
|
---|
23 | }
|
---|
24 | public void setResourceInfo(ResourceInfo resourceInfo) {
|
---|
25 | this.resourceInfo = resourceInfo;
|
---|
26 | }
|
---|
27 | public ResourceAttributeType[] getResourceAttributeType() {
|
---|
28 | return resourceAttributeType;
|
---|
29 | }
|
---|
30 | public void setResourceAttributeType(
|
---|
31 | ResourceAttributeType[] resourceAttributeType) {
|
---|
32 | this.resourceAttributeType = resourceAttributeType;
|
---|
33 | }
|
---|
34 | }
|
---|
35 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.