Ignore:
Timestamp:
Apr 26, 2010, 6:20:44 PM (14 years ago)
Author:
tobias
Message:

create Client function added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vanHelsing/trunk/gui/src/de/dass_it/vanhelsing/gui/Client.java

    r865 r867  
    99 * Client wraps access methods and data structure of the axis client
    1010 * @author tgoecke
    11  *
    1211 */
    1312public class Client {
     
    275274        /**
    276275         * creates a simple resource object at Van Helsing
    277          * @param replace       the object will be replaced if this parameter is set to true, otherwise the changed values will be updated
     276         * @param replace       this parameter is part of the ResourceInitialization object but will not be used by the create method
    278277         * @param rat   list of key value pairs of type ResourceAttributeType[]
    279278         * @param rinfo         ResourceInfo object containing identification information of the object
    280279         * @return      Id of the created simple resource
    281280         */
    282         public int createSimpleResource(boolean replace, ResourceAttributeType[] rat, ResourceInfo rinfo){
     281        public int createSimpleResource(ResourceAttributeType[] rat, ResourceInfo rinfo){
    283282               
    284283                ResourceInitialization ri = new ResourceInitialization();
    285                 ri.setReplace(replace);
     284                ri.setReplace(false);
    286285                ri.setResInfo(rinfo);
    287286                ri.setResAttribute(rat);
Note: See TracChangeset for help on using the changeset viewer.