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 ExtlClntAppOauthSettings extends com.sforce.soap.metadata.Metadata { /** * Constructor */ public ExtlClntAppOauthSettings() {} /* 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 : areAttributesIncludedInAssetToken of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean areAttributesIncludedInAssetToken__is_set = false; private boolean areAttributesIncludedInAssetToken; public boolean getAreAttributesIncludedInAssetToken() { return areAttributesIncludedInAssetToken; } public boolean isAreAttributesIncludedInAssetToken() { return areAttributesIncludedInAssetToken; } public void setAreAttributesIncludedInAssetToken(boolean areAttributesIncludedInAssetToken) { this.areAttributesIncludedInAssetToken = areAttributesIncludedInAssetToken; areAttributesIncludedInAssetToken__is_set = true; } protected void setAreAttributesIncludedInAssetToken(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("areAttributesIncludedInAssetToken", "http://soap.sforce.com/2006/04/metadata","areAttributesIncludedInAssetToken","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setAreAttributesIncludedInAssetToken(__typeMapper.readBoolean(__in, _lookupTypeInfo("areAttributesIncludedInAssetToken", "http://soap.sforce.com/2006/04/metadata","areAttributesIncludedInAssetToken","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldAreAttributesIncludedInAssetToken(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("areAttributesIncludedInAssetToken", "http://soap.sforce.com/2006/04/metadata","areAttributesIncludedInAssetToken","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), areAttributesIncludedInAssetToken, areAttributesIncludedInAssetToken__is_set); } /** * element : areCustomPermsIncludedInAssetToken of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean areCustomPermsIncludedInAssetToken__is_set = false; private boolean areCustomPermsIncludedInAssetToken; public boolean getAreCustomPermsIncludedInAssetToken() { return areCustomPermsIncludedInAssetToken; } public boolean isAreCustomPermsIncludedInAssetToken() { return areCustomPermsIncludedInAssetToken; } public void setAreCustomPermsIncludedInAssetToken(boolean areCustomPermsIncludedInAssetToken) { this.areCustomPermsIncludedInAssetToken = areCustomPermsIncludedInAssetToken; areCustomPermsIncludedInAssetToken__is_set = true; } protected void setAreCustomPermsIncludedInAssetToken(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("areCustomPermsIncludedInAssetToken", "http://soap.sforce.com/2006/04/metadata","areCustomPermsIncludedInAssetToken","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setAreCustomPermsIncludedInAssetToken(__typeMapper.readBoolean(__in, _lookupTypeInfo("areCustomPermsIncludedInAssetToken", "http://soap.sforce.com/2006/04/metadata","areCustomPermsIncludedInAssetToken","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldAreCustomPermsIncludedInAssetToken(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("areCustomPermsIncludedInAssetToken", "http://soap.sforce.com/2006/04/metadata","areCustomPermsIncludedInAssetToken","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), areCustomPermsIncludedInAssetToken, areCustomPermsIncludedInAssetToken__is_set); } /** * element : assetTokenAudiences of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean assetTokenAudiences__is_set = false; private java.lang.String assetTokenAudiences; public java.lang.String getAssetTokenAudiences() { return assetTokenAudiences; } public void setAssetTokenAudiences(java.lang.String assetTokenAudiences) { this.assetTokenAudiences = assetTokenAudiences; assetTokenAudiences__is_set = true; } protected void setAssetTokenAudiences(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("assetTokenAudiences", "http://soap.sforce.com/2006/04/metadata","assetTokenAudiences","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setAssetTokenAudiences(__typeMapper.readString(__in, _lookupTypeInfo("assetTokenAudiences", "http://soap.sforce.com/2006/04/metadata","assetTokenAudiences","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldAssetTokenAudiences(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("assetTokenAudiences", "http://soap.sforce.com/2006/04/metadata","assetTokenAudiences","http://www.w3.org/2001/XMLSchema","string",0,1,true), assetTokenAudiences, assetTokenAudiences__is_set); } /** * element : assetTokenSigningCertificate of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean assetTokenSigningCertificate__is_set = false; private java.lang.String assetTokenSigningCertificate; public java.lang.String getAssetTokenSigningCertificate() { return assetTokenSigningCertificate; } public void setAssetTokenSigningCertificate(java.lang.String assetTokenSigningCertificate) { this.assetTokenSigningCertificate = assetTokenSigningCertificate; assetTokenSigningCertificate__is_set = true; } protected void setAssetTokenSigningCertificate(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("assetTokenSigningCertificate", "http://soap.sforce.com/2006/04/metadata","assetTokenSigningCertificate","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setAssetTokenSigningCertificate(__typeMapper.readString(__in, _lookupTypeInfo("assetTokenSigningCertificate", "http://soap.sforce.com/2006/04/metadata","assetTokenSigningCertificate","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldAssetTokenSigningCertificate(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("assetTokenSigningCertificate", "http://soap.sforce.com/2006/04/metadata","assetTokenSigningCertificate","http://www.w3.org/2001/XMLSchema","string",0,1,true), assetTokenSigningCertificate, assetTokenSigningCertificate__is_set); } /** * element : assetTokenValidity of type {http://www.w3.org/2001/XMLSchema}int * java type: int */ private boolean assetTokenValidity__is_set = false; private int assetTokenValidity; public int getAssetTokenValidity() { return assetTokenValidity; } public void setAssetTokenValidity(int assetTokenValidity) { this.assetTokenValidity = assetTokenValidity; assetTokenValidity__is_set = true; } protected void setAssetTokenValidity(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("assetTokenValidity", "http://soap.sforce.com/2006/04/metadata","assetTokenValidity","http://www.w3.org/2001/XMLSchema","int",0,1,true))) { setAssetTokenValidity((int)__typeMapper.readInt(__in, _lookupTypeInfo("assetTokenValidity", "http://soap.sforce.com/2006/04/metadata","assetTokenValidity","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class)); } } private void writeFieldAssetTokenValidity(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("assetTokenValidity", "http://soap.sforce.com/2006/04/metadata","assetTokenValidity","http://www.w3.org/2001/XMLSchema","int",0,1,true), assetTokenValidity, assetTokenValidity__is_set); } /** * element : clientAssertionCertificate of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean clientAssertionCertificate__is_set = false; private java.lang.String clientAssertionCertificate; public java.lang.String getClientAssertionCertificate() { return clientAssertionCertificate; } public void setClientAssertionCertificate(java.lang.String clientAssertionCertificate) { this.clientAssertionCertificate = clientAssertionCertificate; clientAssertionCertificate__is_set = true; } protected void setClientAssertionCertificate(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("clientAssertionCertificate", "http://soap.sforce.com/2006/04/metadata","clientAssertionCertificate","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setClientAssertionCertificate(__typeMapper.readString(__in, _lookupTypeInfo("clientAssertionCertificate", "http://soap.sforce.com/2006/04/metadata","clientAssertionCertificate","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldClientAssertionCertificate(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("clientAssertionCertificate", "http://soap.sforce.com/2006/04/metadata","clientAssertionCertificate","http://www.w3.org/2001/XMLSchema","string",0,1,true), clientAssertionCertificate, clientAssertionCertificate__is_set); } /** * element : commaSeparatedCustomScopes of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean commaSeparatedCustomScopes__is_set = false; private java.lang.String commaSeparatedCustomScopes; public java.lang.String getCommaSeparatedCustomScopes() { return commaSeparatedCustomScopes; } public void setCommaSeparatedCustomScopes(java.lang.String commaSeparatedCustomScopes) { this.commaSeparatedCustomScopes = commaSeparatedCustomScopes; commaSeparatedCustomScopes__is_set = true; } protected void setCommaSeparatedCustomScopes(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("commaSeparatedCustomScopes", "http://soap.sforce.com/2006/04/metadata","commaSeparatedCustomScopes","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setCommaSeparatedCustomScopes(__typeMapper.readString(__in, _lookupTypeInfo("commaSeparatedCustomScopes", "http://soap.sforce.com/2006/04/metadata","commaSeparatedCustomScopes","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldCommaSeparatedCustomScopes(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("commaSeparatedCustomScopes", "http://soap.sforce.com/2006/04/metadata","commaSeparatedCustomScopes","http://www.w3.org/2001/XMLSchema","string",0,1,true), commaSeparatedCustomScopes, commaSeparatedCustomScopes__is_set); } /** * element : commaSeparatedOauthScopes of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean commaSeparatedOauthScopes__is_set = false; private java.lang.String commaSeparatedOauthScopes; public java.lang.String getCommaSeparatedOauthScopes() { return commaSeparatedOauthScopes; } public void setCommaSeparatedOauthScopes(java.lang.String commaSeparatedOauthScopes) { this.commaSeparatedOauthScopes = commaSeparatedOauthScopes; commaSeparatedOauthScopes__is_set = true; } protected void setCommaSeparatedOauthScopes(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("commaSeparatedOauthScopes", "http://soap.sforce.com/2006/04/metadata","commaSeparatedOauthScopes","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setCommaSeparatedOauthScopes(__typeMapper.readString(__in, _lookupTypeInfo("commaSeparatedOauthScopes", "http://soap.sforce.com/2006/04/metadata","commaSeparatedOauthScopes","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldCommaSeparatedOauthScopes(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("commaSeparatedOauthScopes", "http://soap.sforce.com/2006/04/metadata","commaSeparatedOauthScopes","http://www.w3.org/2001/XMLSchema","string",0,1,true), commaSeparatedOauthScopes, commaSeparatedOauthScopes__is_set); } /** * element : customAttributes of type {http://soap.sforce.com/2006/04/metadata}ExtlClntAppOauthSettingsAttribute * java type: com.sforce.soap.metadata.ExtlClntAppOauthSettingsAttribute[] */ private boolean customAttributes__is_set = false; private com.sforce.soap.metadata.ExtlClntAppOauthSettingsAttribute[] customAttributes = new com.sforce.soap.metadata.ExtlClntAppOauthSettingsAttribute[0]; public com.sforce.soap.metadata.ExtlClntAppOauthSettingsAttribute[] getCustomAttributes() { return customAttributes; } public void setCustomAttributes(com.sforce.soap.metadata.ExtlClntAppOauthSettingsAttribute[] customAttributes) { this.customAttributes = customAttributes; customAttributes__is_set = true; } protected void setCustomAttributes(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("customAttributes", "http://soap.sforce.com/2006/04/metadata","customAttributes","http://soap.sforce.com/2006/04/metadata","ExtlClntAppOauthSettingsAttribute",0,-1,true))) { setCustomAttributes((com.sforce.soap.metadata.ExtlClntAppOauthSettingsAttribute[])__typeMapper.readObject(__in, _lookupTypeInfo("customAttributes", "http://soap.sforce.com/2006/04/metadata","customAttributes","http://soap.sforce.com/2006/04/metadata","ExtlClntAppOauthSettingsAttribute",0,-1,true), com.sforce.soap.metadata.ExtlClntAppOauthSettingsAttribute[].class)); } } private void writeFieldCustomAttributes(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("customAttributes", "http://soap.sforce.com/2006/04/metadata","customAttributes","http://soap.sforce.com/2006/04/metadata","ExtlClntAppOauthSettingsAttribute",0,-1,true), customAttributes, customAttributes__is_set); } /** * element : externalClientApplication of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean externalClientApplication__is_set = false; private java.lang.String externalClientApplication; public java.lang.String getExternalClientApplication() { return externalClientApplication; } public void setExternalClientApplication(java.lang.String externalClientApplication) { this.externalClientApplication = externalClientApplication; externalClientApplication__is_set = true; } protected void setExternalClientApplication(com.sforce.ws.parser.XmlInputStream __in, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException { __in.peekTag(); if (__typeMapper.verifyElement(__in, _lookupTypeInfo("externalClientApplication", "http://soap.sforce.com/2006/04/metadata","externalClientApplication","http://www.w3.org/2001/XMLSchema","string",1,1,true))) { setExternalClientApplication(__typeMapper.readString(__in, _lookupTypeInfo("externalClientApplication", "http://soap.sforce.com/2006/04/metadata","externalClientApplication","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class)); } } private void writeFieldExternalClientApplication(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("externalClientApplication", "http://soap.sforce.com/2006/04/metadata","externalClientApplication","http://www.w3.org/2001/XMLSchema","string",1,1,true), externalClientApplication, externalClientApplication__is_set); } /** * element : isFirstPartyAppEnabled of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean isFirstPartyAppEnabled__is_set = false; private boolean isFirstPartyAppEnabled; public boolean getIsFirstPartyAppEnabled() { return isFirstPartyAppEnabled; } public boolean isIsFirstPartyAppEnabled() { return isFirstPartyAppEnabled; } public void setIsFirstPartyAppEnabled(boolean isFirstPartyAppEnabled) { this.isFirstPartyAppEnabled = isFirstPartyAppEnabled; isFirstPartyAppEnabled__is_set = true; } protected void setIsFirstPartyAppEnabled(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("isFirstPartyAppEnabled", "http://soap.sforce.com/2006/04/metadata","isFirstPartyAppEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setIsFirstPartyAppEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("isFirstPartyAppEnabled", "http://soap.sforce.com/2006/04/metadata","isFirstPartyAppEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldIsFirstPartyAppEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("isFirstPartyAppEnabled", "http://soap.sforce.com/2006/04/metadata","isFirstPartyAppEnabled","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isFirstPartyAppEnabled, isFirstPartyAppEnabled__is_set); } /** * element : label of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean label__is_set = false; private java.lang.String label; public java.lang.String getLabel() { return label; } public void setLabel(java.lang.String label) { this.label = label; label__is_set = true; } protected void setLabel(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("label", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setLabel(__typeMapper.readString(__in, _lookupTypeInfo("label", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldLabel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("label", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",0,1,true), label, label__is_set); } /** * element : oauthLink of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean oauthLink__is_set = false; private java.lang.String oauthLink; public java.lang.String getOauthLink() { return oauthLink; } public void setOauthLink(java.lang.String oauthLink) { this.oauthLink = oauthLink; oauthLink__is_set = true; } protected void setOauthLink(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("oauthLink", "http://soap.sforce.com/2006/04/metadata","oauthLink","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setOauthLink(__typeMapper.readString(__in, _lookupTypeInfo("oauthLink", "http://soap.sforce.com/2006/04/metadata","oauthLink","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldOauthLink(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("oauthLink", "http://soap.sforce.com/2006/04/metadata","oauthLink","http://www.w3.org/2001/XMLSchema","string",0,1,true), oauthLink, oauthLink__is_set); } /** * element : singleLogoutUrl of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean singleLogoutUrl__is_set = false; private java.lang.String singleLogoutUrl; public java.lang.String getSingleLogoutUrl() { return singleLogoutUrl; } public void setSingleLogoutUrl(java.lang.String singleLogoutUrl) { this.singleLogoutUrl = singleLogoutUrl; singleLogoutUrl__is_set = true; } protected void setSingleLogoutUrl(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("singleLogoutUrl", "http://soap.sforce.com/2006/04/metadata","singleLogoutUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setSingleLogoutUrl(__typeMapper.readString(__in, _lookupTypeInfo("singleLogoutUrl", "http://soap.sforce.com/2006/04/metadata","singleLogoutUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldSingleLogoutUrl(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("singleLogoutUrl", "http://soap.sforce.com/2006/04/metadata","singleLogoutUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true), singleLogoutUrl, singleLogoutUrl__is_set); } /** * element : trustedIpRanges of type {http://soap.sforce.com/2006/04/metadata}ExtlClntAppOauthIpRange * java type: com.sforce.soap.metadata.ExtlClntAppOauthIpRange[] */ private boolean trustedIpRanges__is_set = false; private com.sforce.soap.metadata.ExtlClntAppOauthIpRange[] trustedIpRanges = new com.sforce.soap.metadata.ExtlClntAppOauthIpRange[0]; public com.sforce.soap.metadata.ExtlClntAppOauthIpRange[] getTrustedIpRanges() { return trustedIpRanges; } public void setTrustedIpRanges(com.sforce.soap.metadata.ExtlClntAppOauthIpRange[] trustedIpRanges) { this.trustedIpRanges = trustedIpRanges; trustedIpRanges__is_set = true; } protected void setTrustedIpRanges(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("trustedIpRanges", "http://soap.sforce.com/2006/04/metadata","trustedIpRanges","http://soap.sforce.com/2006/04/metadata","ExtlClntAppOauthIpRange",0,-1,true))) { setTrustedIpRanges((com.sforce.soap.metadata.ExtlClntAppOauthIpRange[])__typeMapper.readObject(__in, _lookupTypeInfo("trustedIpRanges", "http://soap.sforce.com/2006/04/metadata","trustedIpRanges","http://soap.sforce.com/2006/04/metadata","ExtlClntAppOauthIpRange",0,-1,true), com.sforce.soap.metadata.ExtlClntAppOauthIpRange[].class)); } } private void writeFieldTrustedIpRanges(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("trustedIpRanges", "http://soap.sforce.com/2006/04/metadata","trustedIpRanges","http://soap.sforce.com/2006/04/metadata","ExtlClntAppOauthIpRange",0,-1,true), trustedIpRanges, trustedIpRanges__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()); __typeMapper.writeXsiType(__out, "http://soap.sforce.com/2006/04/metadata", "ExtlClntAppOauthSettings"); 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 { super.writeFields(__out, __typeMapper); 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 { super.loadFields(__in, __typeMapper); loadFields1(__in, __typeMapper); } @Override public String toString() { java.lang.StringBuilder sb = new java.lang.StringBuilder(); sb.append("[ExtlClntAppOauthSettings "); sb.append(super.toString()); 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 { writeFieldAreAttributesIncludedInAssetToken(__out, __typeMapper); writeFieldAreCustomPermsIncludedInAssetToken(__out, __typeMapper); writeFieldAssetTokenAudiences(__out, __typeMapper); writeFieldAssetTokenSigningCertificate(__out, __typeMapper); writeFieldAssetTokenValidity(__out, __typeMapper); writeFieldClientAssertionCertificate(__out, __typeMapper); writeFieldCommaSeparatedCustomScopes(__out, __typeMapper); writeFieldCommaSeparatedOauthScopes(__out, __typeMapper); writeFieldCustomAttributes(__out, __typeMapper); writeFieldExternalClientApplication(__out, __typeMapper); writeFieldIsFirstPartyAppEnabled(__out, __typeMapper); writeFieldLabel(__out, __typeMapper); writeFieldOauthLink(__out, __typeMapper); writeFieldSingleLogoutUrl(__out, __typeMapper); writeFieldTrustedIpRanges(__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 { setAreAttributesIncludedInAssetToken(__in, __typeMapper); setAreCustomPermsIncludedInAssetToken(__in, __typeMapper); setAssetTokenAudiences(__in, __typeMapper); setAssetTokenSigningCertificate(__in, __typeMapper); setAssetTokenValidity(__in, __typeMapper); setClientAssertionCertificate(__in, __typeMapper); setCommaSeparatedCustomScopes(__in, __typeMapper); setCommaSeparatedOauthScopes(__in, __typeMapper); setCustomAttributes(__in, __typeMapper); setExternalClientApplication(__in, __typeMapper); setIsFirstPartyAppEnabled(__in, __typeMapper); setLabel(__in, __typeMapper); setOauthLink(__in, __typeMapper); setSingleLogoutUrl(__in, __typeMapper); setTrustedIpRanges(__in, __typeMapper); } private void toString1(StringBuilder sb) { toStringHelper(sb, "areAttributesIncludedInAssetToken", areAttributesIncludedInAssetToken); toStringHelper(sb, "areCustomPermsIncludedInAssetToken", areCustomPermsIncludedInAssetToken); toStringHelper(sb, "assetTokenAudiences", assetTokenAudiences); toStringHelper(sb, "assetTokenSigningCertificate", assetTokenSigningCertificate); toStringHelper(sb, "assetTokenValidity", assetTokenValidity); toStringHelper(sb, "clientAssertionCertificate", clientAssertionCertificate); toStringHelper(sb, "commaSeparatedCustomScopes", commaSeparatedCustomScopes); toStringHelper(sb, "commaSeparatedOauthScopes", commaSeparatedOauthScopes); toStringHelper(sb, "customAttributes", customAttributes); toStringHelper(sb, "externalClientApplication", externalClientApplication); toStringHelper(sb, "isFirstPartyAppEnabled", isFirstPartyAppEnabled); toStringHelper(sb, "label", label); toStringHelper(sb, "oauthLink", oauthLink); toStringHelper(sb, "singleLogoutUrl", singleLogoutUrl); toStringHelper(sb, "trustedIpRanges", trustedIpRanges); } }