source: vanHelsing/trunk/gui/src/de/dass_it/vanhelsing/gui/SimpleResource.java@ 858

Last change on this file since 858 was 858, checked in by tobias, on Apr 9, 2010 at 10:56:07 AM

visual design slightly modified. tree functions extended

File size: 1.3 KB
Line 
1package de.dass_it.vanhelsing.gui;
2
3import de.dass_it.www.vanhelsing.VanHelsingStub.ResourceAttributeType;
4import de.dass_it.www.vanhelsing.VanHelsingStub.ResourceInfo;
5
6public 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
Note: See TracBrowser for help on using the repository browser.