All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sforce.soap.metadata.NetworkPageOverride Maven / Gradle / Ivy

package com.sforce.soap.metadata;

/**
 * This is a generated class for the SObject Enterprise API.
 * Do not edit this file, as your changes will be lost.
 */
public class NetworkPageOverride implements com.sforce.ws.bind.XMLizable {

    /**
     * Constructor
     */
    public NetworkPageOverride() {}

    /* Cache the typeInfo instead of declaring static fields throughout*/
    private transient java.util.Map typeInfoCache = new java.util.HashMap();
    private com.sforce.ws.bind.TypeInfo _lookupTypeInfo(String fieldName, String namespace, String name, String typeNS, String type, int minOcc, int maxOcc, boolean elementForm) {
      com.sforce.ws.bind.TypeInfo typeInfo = typeInfoCache.get(fieldName);
      if (typeInfo == null) {
        typeInfo = new com.sforce.ws.bind.TypeInfo(namespace, name, typeNS, type, minOcc, maxOcc, elementForm);
        typeInfoCache.put(fieldName, typeInfo);
      }
      return typeInfo;
    }

    /**
     * element : changePasswordPageOverrideSetting of type {http://soap.sforce.com/2006/04/metadata}NetworkPageOverrideSetting
     * java type: com.sforce.soap.metadata.NetworkPageOverrideSetting
     */
    private boolean changePasswordPageOverrideSetting__is_set = false;

    private com.sforce.soap.metadata.NetworkPageOverrideSetting changePasswordPageOverrideSetting;

    public com.sforce.soap.metadata.NetworkPageOverrideSetting getChangePasswordPageOverrideSetting() {
      return changePasswordPageOverrideSetting;
    }

    public void setChangePasswordPageOverrideSetting(com.sforce.soap.metadata.NetworkPageOverrideSetting changePasswordPageOverrideSetting) {
      this.changePasswordPageOverrideSetting = changePasswordPageOverrideSetting;
      changePasswordPageOverrideSetting__is_set = true;
    }

    protected void setChangePasswordPageOverrideSetting(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.isElement(__in, _lookupTypeInfo("changePasswordPageOverrideSetting", "http://soap.sforce.com/2006/04/metadata","changePasswordPageOverrideSetting","http://soap.sforce.com/2006/04/metadata","NetworkPageOverrideSetting",0,1,true))) {
        setChangePasswordPageOverrideSetting((com.sforce.soap.metadata.NetworkPageOverrideSetting)__typeMapper.readObject(__in, _lookupTypeInfo("changePasswordPageOverrideSetting", "http://soap.sforce.com/2006/04/metadata","changePasswordPageOverrideSetting","http://soap.sforce.com/2006/04/metadata","NetworkPageOverrideSetting",0,1,true), com.sforce.soap.metadata.NetworkPageOverrideSetting.class));
      }
    }

    private void writeFieldChangePasswordPageOverrideSetting(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("changePasswordPageOverrideSetting", "http://soap.sforce.com/2006/04/metadata","changePasswordPageOverrideSetting","http://soap.sforce.com/2006/04/metadata","NetworkPageOverrideSetting",0,1,true), changePasswordPageOverrideSetting, changePasswordPageOverrideSetting__is_set);
    }

    /**
     * element : forgotPasswordPageOverrideSetting of type {http://soap.sforce.com/2006/04/metadata}NetworkPageOverrideSetting
     * java type: com.sforce.soap.metadata.NetworkPageOverrideSetting
     */
    private boolean forgotPasswordPageOverrideSetting__is_set = false;

    private com.sforce.soap.metadata.NetworkPageOverrideSetting forgotPasswordPageOverrideSetting;

    public com.sforce.soap.metadata.NetworkPageOverrideSetting getForgotPasswordPageOverrideSetting() {
      return forgotPasswordPageOverrideSetting;
    }

    public void setForgotPasswordPageOverrideSetting(com.sforce.soap.metadata.NetworkPageOverrideSetting forgotPasswordPageOverrideSetting) {
      this.forgotPasswordPageOverrideSetting = forgotPasswordPageOverrideSetting;
      forgotPasswordPageOverrideSetting__is_set = true;
    }

    protected void setForgotPasswordPageOverrideSetting(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.isElement(__in, _lookupTypeInfo("forgotPasswordPageOverrideSetting", "http://soap.sforce.com/2006/04/metadata","forgotPasswordPageOverrideSetting","http://soap.sforce.com/2006/04/metadata","NetworkPageOverrideSetting",0,1,true))) {
        setForgotPasswordPageOverrideSetting((com.sforce.soap.metadata.NetworkPageOverrideSetting)__typeMapper.readObject(__in, _lookupTypeInfo("forgotPasswordPageOverrideSetting", "http://soap.sforce.com/2006/04/metadata","forgotPasswordPageOverrideSetting","http://soap.sforce.com/2006/04/metadata","NetworkPageOverrideSetting",0,1,true), com.sforce.soap.metadata.NetworkPageOverrideSetting.class));
      }
    }

    private void writeFieldForgotPasswordPageOverrideSetting(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("forgotPasswordPageOverrideSetting", "http://soap.sforce.com/2006/04/metadata","forgotPasswordPageOverrideSetting","http://soap.sforce.com/2006/04/metadata","NetworkPageOverrideSetting",0,1,true), forgotPasswordPageOverrideSetting, forgotPasswordPageOverrideSetting__is_set);
    }

    /**
     * element : homePageOverrideSetting of type {http://soap.sforce.com/2006/04/metadata}NetworkPageOverrideSetting
     * java type: com.sforce.soap.metadata.NetworkPageOverrideSetting
     */
    private boolean homePageOverrideSetting__is_set = false;

    private com.sforce.soap.metadata.NetworkPageOverrideSetting homePageOverrideSetting;

    public com.sforce.soap.metadata.NetworkPageOverrideSetting getHomePageOverrideSetting() {
      return homePageOverrideSetting;
    }

    public void setHomePageOverrideSetting(com.sforce.soap.metadata.NetworkPageOverrideSetting homePageOverrideSetting) {
      this.homePageOverrideSetting = homePageOverrideSetting;
      homePageOverrideSetting__is_set = true;
    }

    protected void setHomePageOverrideSetting(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.isElement(__in, _lookupTypeInfo("homePageOverrideSetting", "http://soap.sforce.com/2006/04/metadata","homePageOverrideSetting","http://soap.sforce.com/2006/04/metadata","NetworkPageOverrideSetting",0,1,true))) {
        setHomePageOverrideSetting((com.sforce.soap.metadata.NetworkPageOverrideSetting)__typeMapper.readObject(__in, _lookupTypeInfo("homePageOverrideSetting", "http://soap.sforce.com/2006/04/metadata","homePageOverrideSetting","http://soap.sforce.com/2006/04/metadata","NetworkPageOverrideSetting",0,1,true), com.sforce.soap.metadata.NetworkPageOverrideSetting.class));
      }
    }

    private void writeFieldHomePageOverrideSetting(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("homePageOverrideSetting", "http://soap.sforce.com/2006/04/metadata","homePageOverrideSetting","http://soap.sforce.com/2006/04/metadata","NetworkPageOverrideSetting",0,1,true), homePageOverrideSetting, homePageOverrideSetting__is_set);
    }

    /**
     * element : loginPageOverrideSetting of type {http://soap.sforce.com/2006/04/metadata}NetworkPageOverrideSetting
     * java type: com.sforce.soap.metadata.NetworkPageOverrideSetting
     */
    private boolean loginPageOverrideSetting__is_set = false;

    private com.sforce.soap.metadata.NetworkPageOverrideSetting loginPageOverrideSetting;

    public com.sforce.soap.metadata.NetworkPageOverrideSetting getLoginPageOverrideSetting() {
      return loginPageOverrideSetting;
    }

    public void setLoginPageOverrideSetting(com.sforce.soap.metadata.NetworkPageOverrideSetting loginPageOverrideSetting) {
      this.loginPageOverrideSetting = loginPageOverrideSetting;
      loginPageOverrideSetting__is_set = true;
    }

    protected void setLoginPageOverrideSetting(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.isElement(__in, _lookupTypeInfo("loginPageOverrideSetting", "http://soap.sforce.com/2006/04/metadata","loginPageOverrideSetting","http://soap.sforce.com/2006/04/metadata","NetworkPageOverrideSetting",0,1,true))) {
        setLoginPageOverrideSetting((com.sforce.soap.metadata.NetworkPageOverrideSetting)__typeMapper.readObject(__in, _lookupTypeInfo("loginPageOverrideSetting", "http://soap.sforce.com/2006/04/metadata","loginPageOverrideSetting","http://soap.sforce.com/2006/04/metadata","NetworkPageOverrideSetting",0,1,true), com.sforce.soap.metadata.NetworkPageOverrideSetting.class));
      }
    }

    private void writeFieldLoginPageOverrideSetting(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("loginPageOverrideSetting", "http://soap.sforce.com/2006/04/metadata","loginPageOverrideSetting","http://soap.sforce.com/2006/04/metadata","NetworkPageOverrideSetting",0,1,true), loginPageOverrideSetting, loginPageOverrideSetting__is_set);
    }

    /**
     * element : selfRegProfilePageOverrideSetting of type {http://soap.sforce.com/2006/04/metadata}NetworkPageOverrideSetting
     * java type: com.sforce.soap.metadata.NetworkPageOverrideSetting
     */
    private boolean selfRegProfilePageOverrideSetting__is_set = false;

    private com.sforce.soap.metadata.NetworkPageOverrideSetting selfRegProfilePageOverrideSetting;

    public com.sforce.soap.metadata.NetworkPageOverrideSetting getSelfRegProfilePageOverrideSetting() {
      return selfRegProfilePageOverrideSetting;
    }

    public void setSelfRegProfilePageOverrideSetting(com.sforce.soap.metadata.NetworkPageOverrideSetting selfRegProfilePageOverrideSetting) {
      this.selfRegProfilePageOverrideSetting = selfRegProfilePageOverrideSetting;
      selfRegProfilePageOverrideSetting__is_set = true;
    }

    protected void setSelfRegProfilePageOverrideSetting(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __in.peekTag();
      if (__typeMapper.isElement(__in, _lookupTypeInfo("selfRegProfilePageOverrideSetting", "http://soap.sforce.com/2006/04/metadata","selfRegProfilePageOverrideSetting","http://soap.sforce.com/2006/04/metadata","NetworkPageOverrideSetting",0,1,true))) {
        setSelfRegProfilePageOverrideSetting((com.sforce.soap.metadata.NetworkPageOverrideSetting)__typeMapper.readObject(__in, _lookupTypeInfo("selfRegProfilePageOverrideSetting", "http://soap.sforce.com/2006/04/metadata","selfRegProfilePageOverrideSetting","http://soap.sforce.com/2006/04/metadata","NetworkPageOverrideSetting",0,1,true), com.sforce.soap.metadata.NetworkPageOverrideSetting.class));
      }
    }

    private void writeFieldSelfRegProfilePageOverrideSetting(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("selfRegProfilePageOverrideSetting", "http://soap.sforce.com/2006/04/metadata","selfRegProfilePageOverrideSetting","http://soap.sforce.com/2006/04/metadata","NetworkPageOverrideSetting",0,1,true), selfRegProfilePageOverrideSetting, selfRegProfilePageOverrideSetting__is_set);
    }

    /**
     */
    @Override
    public void write(javax.xml.namespace.QName __element,
        com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)
        throws java.io.IOException {
      __out.writeStartTag(__element.getNamespaceURI(), __element.getLocalPart());
      writeFields(__out, __typeMapper);
      __out.writeEndTag(__element.getNamespaceURI(), __element.getLocalPart());
    }

    protected void writeFields(com.sforce.ws.parser.XmlOutputStream __out,
         com.sforce.ws.bind.TypeMapper __typeMapper)
         throws java.io.IOException {
       writeFields1(__out, __typeMapper);
    }

    @Override
    public void load(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __typeMapper.consumeStartTag(__in);
      loadFields(__in, __typeMapper);
      __typeMapper.consumeEndTag(__in);
    }

    protected void loadFields(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
        loadFields1(__in, __typeMapper);
    }

    @Override
    public String toString() {
      java.lang.StringBuilder sb = new java.lang.StringBuilder();
      sb.append("[NetworkPageOverride ");
      toString1(sb);

      sb.append("]\n");
      return sb.toString();
    }

    private void toStringHelper(StringBuilder sb, String name, Object value) {
      sb.append(' ').append(name).append("='").append(com.sforce.ws.util.Verbose.toString(value)).append("'\n");
    }

    private void writeFields1(com.sforce.ws.parser.XmlOutputStream __out,
         com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      writeFieldChangePasswordPageOverrideSetting(__out, __typeMapper);
      writeFieldForgotPasswordPageOverrideSetting(__out, __typeMapper);
      writeFieldHomePageOverrideSetting(__out, __typeMapper);
      writeFieldLoginPageOverrideSetting(__out, __typeMapper);
      writeFieldSelfRegProfilePageOverrideSetting(__out, __typeMapper);
    }

    private void loadFields1(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      setChangePasswordPageOverrideSetting(__in, __typeMapper);
      setForgotPasswordPageOverrideSetting(__in, __typeMapper);
      setHomePageOverrideSetting(__in, __typeMapper);
      setLoginPageOverrideSetting(__in, __typeMapper);
      setSelfRegProfilePageOverrideSetting(__in, __typeMapper);
    }

    private void toString1(StringBuilder sb) {
      toStringHelper(sb, "changePasswordPageOverrideSetting", changePasswordPageOverrideSetting);
      toStringHelper(sb, "forgotPasswordPageOverrideSetting", forgotPasswordPageOverrideSetting);
      toStringHelper(sb, "homePageOverrideSetting", homePageOverrideSetting);
      toStringHelper(sb, "loginPageOverrideSetting", loginPageOverrideSetting);
      toStringHelper(sb, "selfRegProfilePageOverrideSetting", selfRegProfilePageOverrideSetting);
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy