com.sforce.soap.metadata.ExternalCredentialParameter 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 ExternalCredentialParameter implements com.sforce.ws.bind.XMLizable {
/**
* Constructor
*/
public ExternalCredentialParameter() {}
/* 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 : authProvider of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean authProvider__is_set = false;
private java.lang.String authProvider;
public java.lang.String getAuthProvider() {
return authProvider;
}
public void setAuthProvider(java.lang.String authProvider) {
this.authProvider = authProvider;
authProvider__is_set = true;
}
protected void setAuthProvider(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("authProvider", "http://soap.sforce.com/2006/04/metadata","authProvider","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setAuthProvider(__typeMapper.readString(__in, _lookupTypeInfo("authProvider", "http://soap.sforce.com/2006/04/metadata","authProvider","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldAuthProvider(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("authProvider", "http://soap.sforce.com/2006/04/metadata","authProvider","http://www.w3.org/2001/XMLSchema","string",0,1,true), authProvider, authProvider__is_set);
}
/**
* element : certificate of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean certificate__is_set = false;
private java.lang.String certificate;
public java.lang.String getCertificate() {
return certificate;
}
public void setCertificate(java.lang.String certificate) {
this.certificate = certificate;
certificate__is_set = true;
}
protected void setCertificate(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("certificate", "http://soap.sforce.com/2006/04/metadata","certificate","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setCertificate(__typeMapper.readString(__in, _lookupTypeInfo("certificate", "http://soap.sforce.com/2006/04/metadata","certificate","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldCertificate(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("certificate", "http://soap.sforce.com/2006/04/metadata","certificate","http://www.w3.org/2001/XMLSchema","string",0,1,true), certificate, certificate__is_set);
}
/**
* element : description of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean description__is_set = false;
private java.lang.String description;
public java.lang.String getDescription() {
return description;
}
public void setDescription(java.lang.String description) {
this.description = description;
description__is_set = true;
}
protected void setDescription(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("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setDescription(__typeMapper.readString(__in, _lookupTypeInfo("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldDescription(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true), description, description__is_set);
}
/**
* element : externalAuthIdentityProvider of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean externalAuthIdentityProvider__is_set = false;
private java.lang.String externalAuthIdentityProvider;
public java.lang.String getExternalAuthIdentityProvider() {
return externalAuthIdentityProvider;
}
public void setExternalAuthIdentityProvider(java.lang.String externalAuthIdentityProvider) {
this.externalAuthIdentityProvider = externalAuthIdentityProvider;
externalAuthIdentityProvider__is_set = true;
}
protected void setExternalAuthIdentityProvider(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("externalAuthIdentityProvider", "http://soap.sforce.com/2006/04/metadata","externalAuthIdentityProvider","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setExternalAuthIdentityProvider(__typeMapper.readString(__in, _lookupTypeInfo("externalAuthIdentityProvider", "http://soap.sforce.com/2006/04/metadata","externalAuthIdentityProvider","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldExternalAuthIdentityProvider(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("externalAuthIdentityProvider", "http://soap.sforce.com/2006/04/metadata","externalAuthIdentityProvider","http://www.w3.org/2001/XMLSchema","string",0,1,true), externalAuthIdentityProvider, externalAuthIdentityProvider__is_set);
}
/**
* element : parameterGroup of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean parameterGroup__is_set = false;
private java.lang.String parameterGroup;
public java.lang.String getParameterGroup() {
return parameterGroup;
}
public void setParameterGroup(java.lang.String parameterGroup) {
this.parameterGroup = parameterGroup;
parameterGroup__is_set = true;
}
protected void setParameterGroup(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("parameterGroup", "http://soap.sforce.com/2006/04/metadata","parameterGroup","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setParameterGroup(__typeMapper.readString(__in, _lookupTypeInfo("parameterGroup", "http://soap.sforce.com/2006/04/metadata","parameterGroup","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldParameterGroup(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("parameterGroup", "http://soap.sforce.com/2006/04/metadata","parameterGroup","http://www.w3.org/2001/XMLSchema","string",0,1,true), parameterGroup, parameterGroup__is_set);
}
/**
* element : parameterName of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean parameterName__is_set = false;
private java.lang.String parameterName;
public java.lang.String getParameterName() {
return parameterName;
}
public void setParameterName(java.lang.String parameterName) {
this.parameterName = parameterName;
parameterName__is_set = true;
}
protected void setParameterName(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("parameterName", "http://soap.sforce.com/2006/04/metadata","parameterName","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
setParameterName(__typeMapper.readString(__in, _lookupTypeInfo("parameterName", "http://soap.sforce.com/2006/04/metadata","parameterName","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
}
}
private void writeFieldParameterName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("parameterName", "http://soap.sforce.com/2006/04/metadata","parameterName","http://www.w3.org/2001/XMLSchema","string",1,1,true), parameterName, parameterName__is_set);
}
/**
* element : parameterType of type {http://soap.sforce.com/2006/04/metadata}ExternalCredentialParamType
* java type: com.sforce.soap.metadata.ExternalCredentialParamType
*/
private boolean parameterType__is_set = false;
private com.sforce.soap.metadata.ExternalCredentialParamType parameterType;
public com.sforce.soap.metadata.ExternalCredentialParamType getParameterType() {
return parameterType;
}
public void setParameterType(com.sforce.soap.metadata.ExternalCredentialParamType parameterType) {
this.parameterType = parameterType;
parameterType__is_set = true;
}
protected void setParameterType(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("parameterType", "http://soap.sforce.com/2006/04/metadata","parameterType","http://soap.sforce.com/2006/04/metadata","ExternalCredentialParamType",1,1,true))) {
setParameterType((com.sforce.soap.metadata.ExternalCredentialParamType)__typeMapper.readObject(__in, _lookupTypeInfo("parameterType", "http://soap.sforce.com/2006/04/metadata","parameterType","http://soap.sforce.com/2006/04/metadata","ExternalCredentialParamType",1,1,true), com.sforce.soap.metadata.ExternalCredentialParamType.class));
}
}
private void writeFieldParameterType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("parameterType", "http://soap.sforce.com/2006/04/metadata","parameterType","http://soap.sforce.com/2006/04/metadata","ExternalCredentialParamType",1,1,true), parameterType, parameterType__is_set);
}
/**
* element : parameterValue of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean parameterValue__is_set = false;
private java.lang.String parameterValue;
public java.lang.String getParameterValue() {
return parameterValue;
}
public void setParameterValue(java.lang.String parameterValue) {
this.parameterValue = parameterValue;
parameterValue__is_set = true;
}
protected void setParameterValue(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("parameterValue", "http://soap.sforce.com/2006/04/metadata","parameterValue","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setParameterValue(__typeMapper.readString(__in, _lookupTypeInfo("parameterValue", "http://soap.sforce.com/2006/04/metadata","parameterValue","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldParameterValue(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("parameterValue", "http://soap.sforce.com/2006/04/metadata","parameterValue","http://www.w3.org/2001/XMLSchema","string",0,1,true), parameterValue, parameterValue__is_set);
}
/**
* element : sequenceNumber of type {http://www.w3.org/2001/XMLSchema}int
* java type: int
*/
private boolean sequenceNumber__is_set = false;
private int sequenceNumber;
public int getSequenceNumber() {
return sequenceNumber;
}
public void setSequenceNumber(int sequenceNumber) {
this.sequenceNumber = sequenceNumber;
sequenceNumber__is_set = true;
}
protected void setSequenceNumber(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("sequenceNumber", "http://soap.sforce.com/2006/04/metadata","sequenceNumber","http://www.w3.org/2001/XMLSchema","int",0,1,true))) {
setSequenceNumber((int)__typeMapper.readInt(__in, _lookupTypeInfo("sequenceNumber", "http://soap.sforce.com/2006/04/metadata","sequenceNumber","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class));
}
}
private void writeFieldSequenceNumber(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("sequenceNumber", "http://soap.sforce.com/2006/04/metadata","sequenceNumber","http://www.w3.org/2001/XMLSchema","int",0,1,true), sequenceNumber, sequenceNumber__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("[ExternalCredentialParameter ");
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 {
writeFieldAuthProvider(__out, __typeMapper);
writeFieldCertificate(__out, __typeMapper);
writeFieldDescription(__out, __typeMapper);
writeFieldExternalAuthIdentityProvider(__out, __typeMapper);
writeFieldParameterGroup(__out, __typeMapper);
writeFieldParameterName(__out, __typeMapper);
writeFieldParameterType(__out, __typeMapper);
writeFieldParameterValue(__out, __typeMapper);
writeFieldSequenceNumber(__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 {
setAuthProvider(__in, __typeMapper);
setCertificate(__in, __typeMapper);
setDescription(__in, __typeMapper);
setExternalAuthIdentityProvider(__in, __typeMapper);
setParameterGroup(__in, __typeMapper);
setParameterName(__in, __typeMapper);
setParameterType(__in, __typeMapper);
setParameterValue(__in, __typeMapper);
setSequenceNumber(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "authProvider", authProvider);
toStringHelper(sb, "certificate", certificate);
toStringHelper(sb, "description", description);
toStringHelper(sb, "externalAuthIdentityProvider", externalAuthIdentityProvider);
toStringHelper(sb, "parameterGroup", parameterGroup);
toStringHelper(sb, "parameterName", parameterName);
toStringHelper(sb, "parameterType", parameterType);
toStringHelper(sb, "parameterValue", parameterValue);
toStringHelper(sb, "sequenceNumber", sequenceNumber);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy