Changeset 860 for vanHelsing/trunk/gui/src
- Timestamp:
- Apr 13, 2010, 5:47:28 PM (15 years ago)
- Location:
- vanHelsing/trunk/gui/src/de/dass_it/vanhelsing/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
vanHelsing/trunk/gui/src/de/dass_it/vanhelsing/gui/Client.java
r854 r860 47 47 } 48 48 49 public SetSimpleResourceResponse setSimpleResource( SetSimpleResource ssr){49 public SetSimpleResourceResponse setSimpleResource(ResourceInitialization ri){ 50 50 VanHelsingStub stub; 51 51 try { … … 53 53 54 54 VanHelsingStub.SetSimpleResource req = new VanHelsingStub.SetSimpleResource(); 55 req.setResAttribute(ssr.getResAttribute()); 56 req.setResInfo(ssr.getResInfo()); 55 req.setSetSimpleResource(ri); 57 56 58 VanHelsingStub.SetSimpleResourceResponse res = stub.setSimpleResource( ssr);57 VanHelsingStub.SetSimpleResourceResponse res = stub.setSimpleResource(req); 59 58 60 59 return res; 60 } catch (SetSimpleResourceFault1Exception ef1){ 61 System.err.println("Constraint Violation"); 62 } catch (SetSimpleResourceFaultException ef){ 63 System.err.println("Syntax Error"); 61 64 } catch (Exception e) { 62 65 System.err.println(e.toString()); -
vanHelsing/trunk/gui/src/de/dass_it/vanhelsing/gui/ConfigurationBean.java
r858 r860 263 263 ra[i].setValue(value); 264 264 } 265 SetSimpleResource s2r = new SetSimpleResource(); 266 s2r.setResAttribute(ra); 267 s2r.setResInfo(ri); 268 s2r2 = c.setSimpleResource(s2r); 265 ResourceInitialization rinit = new ResourceInitialization(); 266 rinit.setResInfo(ri); 267 rinit.setResAttribute(ra); 268 rinit.setReplace(true); 269 s2r2 = c.setSimpleResource(rinit); 269 270 System.err.println("Status setSimpleRes: "+s2r2.getStatus()); 270 271 BeanUtil.setErrorMessage(null, "Status setSimpleRessource: "+s2r2.getStatus()); -
vanHelsing/trunk/gui/src/de/dass_it/vanhelsing/gui/SimpleResource.java
r858 r860 5 5 6 6 public class SimpleResource{ 7 /**8 * @uml.property name="resourceInfo"9 * @uml.associationEnd10 */11 7 private ResourceInfo resourceInfo; 12 /**13 * @uml.property name="resourceAttributeType"14 * @uml.associationEnd multiplicity="(0 -1)"15 */16 8 private ResourceAttributeType[] resourceAttributeType; 17 9 … … 22 14 } 23 15 24 /**25 * @return26 * @uml.property name="resourceInfo"27 */28 16 public ResourceInfo getResourceInfo() { 29 17 return resourceInfo; 30 18 } 31 /**32 * @param resourceInfo33 * @uml.property name="resourceInfo"34 */35 19 public void setResourceInfo(ResourceInfo resourceInfo) { 36 20 this.resourceInfo = resourceInfo; 37 21 } 38 /**39 * @return40 * @uml.property name="resourceAttributeType"41 */42 22 public ResourceAttributeType[] getResourceAttributeType() { 43 23 return resourceAttributeType; 44 24 } 45 /**46 * @param resourceAttributeType47 * @uml.property name="resourceAttributeType"48 */49 25 public void setResourceAttributeType( 50 26 ResourceAttributeType[] resourceAttributeType) {
Note:
See TracChangeset
for help on using the changeset viewer.