// This class was generated by the JAXRPC SI, do not edit.
// Contents subject to change without notice.
// JAX-RPC Standard Implementation (1.1, build EA-R39)

package com.agiledeveloper.ws;

import com.sun.xml.rpc.encoding.*;
import com.sun.xml.rpc.util.exception.LocalizableExceptionAdapter;

public class InformationProviderIF_getRecord_RequestStruct__InformationProvider__SOAPBuilder implements SOAPInstanceBuilder {
    private com.agiledeveloper.ws.InformationProviderIF_getRecord_RequestStruct _instance;
    private java.lang.String String_1;
    private static final int mySTRING_1_INDEX = 0;
    
    public InformationProviderIF_getRecord_RequestStruct__InformationProvider__SOAPBuilder() {
    }
    
    public void setString_1(java.lang.String String_1) {
        this.String_1 = String_1;
    }
    
    public int memberGateType(int memberIndex) {
        switch (memberIndex) {
            case mySTRING_1_INDEX:
                return GATES_INITIALIZATION | REQUIRES_CREATION;
            default:
                throw new IllegalArgumentException();
        }
    }
    
    public void construct() {
    }
    
    public void setMember(int index, Object memberValue) {
        try {
            switch(index) {
                case mySTRING_1_INDEX:
                    _instance.setString_1((java.lang.String)memberValue);
                    break;
                default:
                    throw new IllegalArgumentException();
            }
        }
        catch (RuntimeException e) {
            throw e;
        }
        catch (Exception e) {
            throw new DeserializationException(new LocalizableExceptionAdapter(e));
        }
    }
    
    public void initialize() {
    }
    
    public void setInstance(Object instance) {
        _instance = (com.agiledeveloper.ws.InformationProviderIF_getRecord_RequestStruct)instance;
    }
    
    public Object getInstance() {
        return _instance;
    }
}
