com.sforce.soap.metadata.ConnectedApp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of force-metadata-api Show documentation
Show all versions of force-metadata-api Show documentation
Force.com Web Service Connector
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 ConnectedApp extends com.sforce.soap.metadata.Metadata {
/**
* Constructor
*/
public ConnectedApp() {}
/* 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 : attributes of type {http://soap.sforce.com/2006/04/metadata}ConnectedAppAttribute
* java type: com.sforce.soap.metadata.ConnectedAppAttribute[]
*/
private boolean attributes__is_set = false;
private com.sforce.soap.metadata.ConnectedAppAttribute[] attributes = new com.sforce.soap.metadata.ConnectedAppAttribute[0];
public com.sforce.soap.metadata.ConnectedAppAttribute[] getAttributes() {
return attributes;
}
public void setAttributes(com.sforce.soap.metadata.ConnectedAppAttribute[] attributes) {
this.attributes = attributes;
attributes__is_set = true;
}
protected void setAttributes(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("attributes", "http://soap.sforce.com/2006/04/metadata","attributes","http://soap.sforce.com/2006/04/metadata","ConnectedAppAttribute",0,-1,true))) {
setAttributes((com.sforce.soap.metadata.ConnectedAppAttribute[])__typeMapper.readObject(__in, _lookupTypeInfo("attributes", "http://soap.sforce.com/2006/04/metadata","attributes","http://soap.sforce.com/2006/04/metadata","ConnectedAppAttribute",0,-1,true), com.sforce.soap.metadata.ConnectedAppAttribute[].class));
}
}
private void writeFieldAttributes(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("attributes", "http://soap.sforce.com/2006/04/metadata","attributes","http://soap.sforce.com/2006/04/metadata","ConnectedAppAttribute",0,-1,true), attributes, attributes__is_set);
}
/**
* element : canvas of type {http://soap.sforce.com/2006/04/metadata}CanvasMetadata
* java type: com.sforce.soap.metadata.CanvasMetadata
*/
private boolean canvas__is_set = false;
private com.sforce.soap.metadata.CanvasMetadata canvas;
public com.sforce.soap.metadata.CanvasMetadata getCanvas() {
return canvas;
}
public void setCanvas(com.sforce.soap.metadata.CanvasMetadata canvas) {
this.canvas = canvas;
canvas__is_set = true;
}
protected void setCanvas(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("canvas", "http://soap.sforce.com/2006/04/metadata","canvas","http://soap.sforce.com/2006/04/metadata","CanvasMetadata",0,1,true))) {
setCanvas((com.sforce.soap.metadata.CanvasMetadata)__typeMapper.readObject(__in, _lookupTypeInfo("canvas", "http://soap.sforce.com/2006/04/metadata","canvas","http://soap.sforce.com/2006/04/metadata","CanvasMetadata",0,1,true), com.sforce.soap.metadata.CanvasMetadata.class));
}
}
private void writeFieldCanvas(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("canvas", "http://soap.sforce.com/2006/04/metadata","canvas","http://soap.sforce.com/2006/04/metadata","CanvasMetadata",0,1,true), canvas, canvas__is_set);
}
/**
* element : canvasConfig of type {http://soap.sforce.com/2006/04/metadata}ConnectedAppCanvasConfig
* java type: com.sforce.soap.metadata.ConnectedAppCanvasConfig
*/
private boolean canvasConfig__is_set = false;
private com.sforce.soap.metadata.ConnectedAppCanvasConfig canvasConfig;
public com.sforce.soap.metadata.ConnectedAppCanvasConfig getCanvasConfig() {
return canvasConfig;
}
public void setCanvasConfig(com.sforce.soap.metadata.ConnectedAppCanvasConfig canvasConfig) {
this.canvasConfig = canvasConfig;
canvasConfig__is_set = true;
}
protected void setCanvasConfig(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("canvasConfig", "http://soap.sforce.com/2006/04/metadata","canvasConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppCanvasConfig",0,1,true))) {
setCanvasConfig((com.sforce.soap.metadata.ConnectedAppCanvasConfig)__typeMapper.readObject(__in, _lookupTypeInfo("canvasConfig", "http://soap.sforce.com/2006/04/metadata","canvasConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppCanvasConfig",0,1,true), com.sforce.soap.metadata.ConnectedAppCanvasConfig.class));
}
}
private void writeFieldCanvasConfig(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("canvasConfig", "http://soap.sforce.com/2006/04/metadata","canvasConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppCanvasConfig",0,1,true), canvasConfig, canvasConfig__is_set);
}
/**
* element : contactEmail of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean contactEmail__is_set = false;
private java.lang.String contactEmail;
public java.lang.String getContactEmail() {
return contactEmail;
}
public void setContactEmail(java.lang.String contactEmail) {
this.contactEmail = contactEmail;
contactEmail__is_set = true;
}
protected void setContactEmail(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("contactEmail", "http://soap.sforce.com/2006/04/metadata","contactEmail","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
setContactEmail(__typeMapper.readString(__in, _lookupTypeInfo("contactEmail", "http://soap.sforce.com/2006/04/metadata","contactEmail","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
}
}
private void writeFieldContactEmail(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("contactEmail", "http://soap.sforce.com/2006/04/metadata","contactEmail","http://www.w3.org/2001/XMLSchema","string",1,1,true), contactEmail, contactEmail__is_set);
}
/**
* element : contactPhone of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean contactPhone__is_set = false;
private java.lang.String contactPhone;
public java.lang.String getContactPhone() {
return contactPhone;
}
public void setContactPhone(java.lang.String contactPhone) {
this.contactPhone = contactPhone;
contactPhone__is_set = true;
}
protected void setContactPhone(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("contactPhone", "http://soap.sforce.com/2006/04/metadata","contactPhone","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setContactPhone(__typeMapper.readString(__in, _lookupTypeInfo("contactPhone", "http://soap.sforce.com/2006/04/metadata","contactPhone","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldContactPhone(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("contactPhone", "http://soap.sforce.com/2006/04/metadata","contactPhone","http://www.w3.org/2001/XMLSchema","string",0,1,true), contactPhone, contactPhone__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 : iconUrl of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean iconUrl__is_set = false;
private java.lang.String iconUrl;
public java.lang.String getIconUrl() {
return iconUrl;
}
public void setIconUrl(java.lang.String iconUrl) {
this.iconUrl = iconUrl;
iconUrl__is_set = true;
}
protected void setIconUrl(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("iconUrl", "http://soap.sforce.com/2006/04/metadata","iconUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setIconUrl(__typeMapper.readString(__in, _lookupTypeInfo("iconUrl", "http://soap.sforce.com/2006/04/metadata","iconUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldIconUrl(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("iconUrl", "http://soap.sforce.com/2006/04/metadata","iconUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true), iconUrl, iconUrl__is_set);
}
/**
* element : infoUrl of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean infoUrl__is_set = false;
private java.lang.String infoUrl;
public java.lang.String getInfoUrl() {
return infoUrl;
}
public void setInfoUrl(java.lang.String infoUrl) {
this.infoUrl = infoUrl;
infoUrl__is_set = true;
}
protected void setInfoUrl(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("infoUrl", "http://soap.sforce.com/2006/04/metadata","infoUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setInfoUrl(__typeMapper.readString(__in, _lookupTypeInfo("infoUrl", "http://soap.sforce.com/2006/04/metadata","infoUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldInfoUrl(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("infoUrl", "http://soap.sforce.com/2006/04/metadata","infoUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true), infoUrl, infoUrl__is_set);
}
/**
* element : ipRanges of type {http://soap.sforce.com/2006/04/metadata}ConnectedAppIpRange
* java type: com.sforce.soap.metadata.ConnectedAppIpRange[]
*/
private boolean ipRanges__is_set = false;
private com.sforce.soap.metadata.ConnectedAppIpRange[] ipRanges = new com.sforce.soap.metadata.ConnectedAppIpRange[0];
public com.sforce.soap.metadata.ConnectedAppIpRange[] getIpRanges() {
return ipRanges;
}
public void setIpRanges(com.sforce.soap.metadata.ConnectedAppIpRange[] ipRanges) {
this.ipRanges = ipRanges;
ipRanges__is_set = true;
}
protected void setIpRanges(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("ipRanges", "http://soap.sforce.com/2006/04/metadata","ipRanges","http://soap.sforce.com/2006/04/metadata","ConnectedAppIpRange",0,-1,true))) {
setIpRanges((com.sforce.soap.metadata.ConnectedAppIpRange[])__typeMapper.readObject(__in, _lookupTypeInfo("ipRanges", "http://soap.sforce.com/2006/04/metadata","ipRanges","http://soap.sforce.com/2006/04/metadata","ConnectedAppIpRange",0,-1,true), com.sforce.soap.metadata.ConnectedAppIpRange[].class));
}
}
private void writeFieldIpRanges(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("ipRanges", "http://soap.sforce.com/2006/04/metadata","ipRanges","http://soap.sforce.com/2006/04/metadata","ConnectedAppIpRange",0,-1,true), ipRanges, ipRanges__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.verifyElement(__in, _lookupTypeInfo("label", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
setLabel(__typeMapper.readString(__in, _lookupTypeInfo("label", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",1,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",1,1,true), label, label__is_set);
}
/**
* element : logoUrl of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean logoUrl__is_set = false;
private java.lang.String logoUrl;
public java.lang.String getLogoUrl() {
return logoUrl;
}
public void setLogoUrl(java.lang.String logoUrl) {
this.logoUrl = logoUrl;
logoUrl__is_set = true;
}
protected void setLogoUrl(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("logoUrl", "http://soap.sforce.com/2006/04/metadata","logoUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setLogoUrl(__typeMapper.readString(__in, _lookupTypeInfo("logoUrl", "http://soap.sforce.com/2006/04/metadata","logoUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldLogoUrl(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("logoUrl", "http://soap.sforce.com/2006/04/metadata","logoUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true), logoUrl, logoUrl__is_set);
}
/**
* element : mobileAppConfig of type {http://soap.sforce.com/2006/04/metadata}ConnectedAppMobileDetailConfig
* java type: com.sforce.soap.metadata.ConnectedAppMobileDetailConfig
*/
private boolean mobileAppConfig__is_set = false;
private com.sforce.soap.metadata.ConnectedAppMobileDetailConfig mobileAppConfig;
public com.sforce.soap.metadata.ConnectedAppMobileDetailConfig getMobileAppConfig() {
return mobileAppConfig;
}
public void setMobileAppConfig(com.sforce.soap.metadata.ConnectedAppMobileDetailConfig mobileAppConfig) {
this.mobileAppConfig = mobileAppConfig;
mobileAppConfig__is_set = true;
}
protected void setMobileAppConfig(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("mobileAppConfig", "http://soap.sforce.com/2006/04/metadata","mobileAppConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppMobileDetailConfig",0,1,true))) {
setMobileAppConfig((com.sforce.soap.metadata.ConnectedAppMobileDetailConfig)__typeMapper.readObject(__in, _lookupTypeInfo("mobileAppConfig", "http://soap.sforce.com/2006/04/metadata","mobileAppConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppMobileDetailConfig",0,1,true), com.sforce.soap.metadata.ConnectedAppMobileDetailConfig.class));
}
}
private void writeFieldMobileAppConfig(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("mobileAppConfig", "http://soap.sforce.com/2006/04/metadata","mobileAppConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppMobileDetailConfig",0,1,true), mobileAppConfig, mobileAppConfig__is_set);
}
/**
* element : mobileStartUrl of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean mobileStartUrl__is_set = false;
private java.lang.String mobileStartUrl;
public java.lang.String getMobileStartUrl() {
return mobileStartUrl;
}
public void setMobileStartUrl(java.lang.String mobileStartUrl) {
this.mobileStartUrl = mobileStartUrl;
mobileStartUrl__is_set = true;
}
protected void setMobileStartUrl(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("mobileStartUrl", "http://soap.sforce.com/2006/04/metadata","mobileStartUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setMobileStartUrl(__typeMapper.readString(__in, _lookupTypeInfo("mobileStartUrl", "http://soap.sforce.com/2006/04/metadata","mobileStartUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldMobileStartUrl(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("mobileStartUrl", "http://soap.sforce.com/2006/04/metadata","mobileStartUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true), mobileStartUrl, mobileStartUrl__is_set);
}
/**
* element : oauthConfig of type {http://soap.sforce.com/2006/04/metadata}ConnectedAppOauthConfig
* java type: com.sforce.soap.metadata.ConnectedAppOauthConfig
*/
private boolean oauthConfig__is_set = false;
private com.sforce.soap.metadata.ConnectedAppOauthConfig oauthConfig;
public com.sforce.soap.metadata.ConnectedAppOauthConfig getOauthConfig() {
return oauthConfig;
}
public void setOauthConfig(com.sforce.soap.metadata.ConnectedAppOauthConfig oauthConfig) {
this.oauthConfig = oauthConfig;
oauthConfig__is_set = true;
}
protected void setOauthConfig(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("oauthConfig", "http://soap.sforce.com/2006/04/metadata","oauthConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppOauthConfig",0,1,true))) {
setOauthConfig((com.sforce.soap.metadata.ConnectedAppOauthConfig)__typeMapper.readObject(__in, _lookupTypeInfo("oauthConfig", "http://soap.sforce.com/2006/04/metadata","oauthConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppOauthConfig",0,1,true), com.sforce.soap.metadata.ConnectedAppOauthConfig.class));
}
}
private void writeFieldOauthConfig(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("oauthConfig", "http://soap.sforce.com/2006/04/metadata","oauthConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppOauthConfig",0,1,true), oauthConfig, oauthConfig__is_set);
}
/**
* element : oauthPolicy of type {http://soap.sforce.com/2006/04/metadata}ConnectedAppOauthPolicy
* java type: com.sforce.soap.metadata.ConnectedAppOauthPolicy
*/
private boolean oauthPolicy__is_set = false;
private com.sforce.soap.metadata.ConnectedAppOauthPolicy oauthPolicy;
public com.sforce.soap.metadata.ConnectedAppOauthPolicy getOauthPolicy() {
return oauthPolicy;
}
public void setOauthPolicy(com.sforce.soap.metadata.ConnectedAppOauthPolicy oauthPolicy) {
this.oauthPolicy = oauthPolicy;
oauthPolicy__is_set = true;
}
protected void setOauthPolicy(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("oauthPolicy", "http://soap.sforce.com/2006/04/metadata","oauthPolicy","http://soap.sforce.com/2006/04/metadata","ConnectedAppOauthPolicy",0,1,true))) {
setOauthPolicy((com.sforce.soap.metadata.ConnectedAppOauthPolicy)__typeMapper.readObject(__in, _lookupTypeInfo("oauthPolicy", "http://soap.sforce.com/2006/04/metadata","oauthPolicy","http://soap.sforce.com/2006/04/metadata","ConnectedAppOauthPolicy",0,1,true), com.sforce.soap.metadata.ConnectedAppOauthPolicy.class));
}
}
private void writeFieldOauthPolicy(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("oauthPolicy", "http://soap.sforce.com/2006/04/metadata","oauthPolicy","http://soap.sforce.com/2006/04/metadata","ConnectedAppOauthPolicy",0,1,true), oauthPolicy, oauthPolicy__is_set);
}
/**
* element : permissionSetName of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean permissionSetName__is_set = false;
private java.lang.String[] permissionSetName = new java.lang.String[0];
public java.lang.String[] getPermissionSetName() {
return permissionSetName;
}
public void setPermissionSetName(java.lang.String[] permissionSetName) {
this.permissionSetName = permissionSetName;
permissionSetName__is_set = true;
}
protected void setPermissionSetName(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("permissionSetName", "http://soap.sforce.com/2006/04/metadata","permissionSetName","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setPermissionSetName((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("permissionSetName", "http://soap.sforce.com/2006/04/metadata","permissionSetName","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldPermissionSetName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("permissionSetName", "http://soap.sforce.com/2006/04/metadata","permissionSetName","http://www.w3.org/2001/XMLSchema","string",0,-1,true), permissionSetName, permissionSetName__is_set);
}
/**
* element : plugin of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean plugin__is_set = false;
private java.lang.String plugin;
public java.lang.String getPlugin() {
return plugin;
}
public void setPlugin(java.lang.String plugin) {
this.plugin = plugin;
plugin__is_set = true;
}
protected void setPlugin(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("plugin", "http://soap.sforce.com/2006/04/metadata","plugin","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setPlugin(__typeMapper.readString(__in, _lookupTypeInfo("plugin", "http://soap.sforce.com/2006/04/metadata","plugin","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldPlugin(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("plugin", "http://soap.sforce.com/2006/04/metadata","plugin","http://www.w3.org/2001/XMLSchema","string",0,1,true), plugin, plugin__is_set);
}
/**
* element : pluginExecutionUser of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean pluginExecutionUser__is_set = false;
private java.lang.String pluginExecutionUser;
public java.lang.String getPluginExecutionUser() {
return pluginExecutionUser;
}
public void setPluginExecutionUser(java.lang.String pluginExecutionUser) {
this.pluginExecutionUser = pluginExecutionUser;
pluginExecutionUser__is_set = true;
}
protected void setPluginExecutionUser(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("pluginExecutionUser", "http://soap.sforce.com/2006/04/metadata","pluginExecutionUser","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setPluginExecutionUser(__typeMapper.readString(__in, _lookupTypeInfo("pluginExecutionUser", "http://soap.sforce.com/2006/04/metadata","pluginExecutionUser","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldPluginExecutionUser(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("pluginExecutionUser", "http://soap.sforce.com/2006/04/metadata","pluginExecutionUser","http://www.w3.org/2001/XMLSchema","string",0,1,true), pluginExecutionUser, pluginExecutionUser__is_set);
}
/**
* element : profileName of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean profileName__is_set = false;
private java.lang.String[] profileName = new java.lang.String[0];
public java.lang.String[] getProfileName() {
return profileName;
}
public void setProfileName(java.lang.String[] profileName) {
this.profileName = profileName;
profileName__is_set = true;
}
protected void setProfileName(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("profileName", "http://soap.sforce.com/2006/04/metadata","profileName","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setProfileName((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("profileName", "http://soap.sforce.com/2006/04/metadata","profileName","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldProfileName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("profileName", "http://soap.sforce.com/2006/04/metadata","profileName","http://www.w3.org/2001/XMLSchema","string",0,-1,true), profileName, profileName__is_set);
}
/**
* element : samlConfig of type {http://soap.sforce.com/2006/04/metadata}ConnectedAppSamlConfig
* java type: com.sforce.soap.metadata.ConnectedAppSamlConfig
*/
private boolean samlConfig__is_set = false;
private com.sforce.soap.metadata.ConnectedAppSamlConfig samlConfig;
public com.sforce.soap.metadata.ConnectedAppSamlConfig getSamlConfig() {
return samlConfig;
}
public void setSamlConfig(com.sforce.soap.metadata.ConnectedAppSamlConfig samlConfig) {
this.samlConfig = samlConfig;
samlConfig__is_set = true;
}
protected void setSamlConfig(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("samlConfig", "http://soap.sforce.com/2006/04/metadata","samlConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppSamlConfig",0,1,true))) {
setSamlConfig((com.sforce.soap.metadata.ConnectedAppSamlConfig)__typeMapper.readObject(__in, _lookupTypeInfo("samlConfig", "http://soap.sforce.com/2006/04/metadata","samlConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppSamlConfig",0,1,true), com.sforce.soap.metadata.ConnectedAppSamlConfig.class));
}
}
private void writeFieldSamlConfig(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("samlConfig", "http://soap.sforce.com/2006/04/metadata","samlConfig","http://soap.sforce.com/2006/04/metadata","ConnectedAppSamlConfig",0,1,true), samlConfig, samlConfig__is_set);
}
/**
* element : sessionPolicy of type {http://soap.sforce.com/2006/04/metadata}ConnectedAppSessionPolicy
* java type: com.sforce.soap.metadata.ConnectedAppSessionPolicy
*/
private boolean sessionPolicy__is_set = false;
private com.sforce.soap.metadata.ConnectedAppSessionPolicy sessionPolicy;
public com.sforce.soap.metadata.ConnectedAppSessionPolicy getSessionPolicy() {
return sessionPolicy;
}
public void setSessionPolicy(com.sforce.soap.metadata.ConnectedAppSessionPolicy sessionPolicy) {
this.sessionPolicy = sessionPolicy;
sessionPolicy__is_set = true;
}
protected void setSessionPolicy(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("sessionPolicy", "http://soap.sforce.com/2006/04/metadata","sessionPolicy","http://soap.sforce.com/2006/04/metadata","ConnectedAppSessionPolicy",0,1,true))) {
setSessionPolicy((com.sforce.soap.metadata.ConnectedAppSessionPolicy)__typeMapper.readObject(__in, _lookupTypeInfo("sessionPolicy", "http://soap.sforce.com/2006/04/metadata","sessionPolicy","http://soap.sforce.com/2006/04/metadata","ConnectedAppSessionPolicy",0,1,true), com.sforce.soap.metadata.ConnectedAppSessionPolicy.class));
}
}
private void writeFieldSessionPolicy(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("sessionPolicy", "http://soap.sforce.com/2006/04/metadata","sessionPolicy","http://soap.sforce.com/2006/04/metadata","ConnectedAppSessionPolicy",0,1,true), sessionPolicy, sessionPolicy__is_set);
}
/**
* element : startUrl of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean startUrl__is_set = false;
private java.lang.String startUrl;
public java.lang.String getStartUrl() {
return startUrl;
}
public void setStartUrl(java.lang.String startUrl) {
this.startUrl = startUrl;
startUrl__is_set = true;
}
protected void setStartUrl(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("startUrl", "http://soap.sforce.com/2006/04/metadata","startUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setStartUrl(__typeMapper.readString(__in, _lookupTypeInfo("startUrl", "http://soap.sforce.com/2006/04/metadata","startUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldStartUrl(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("startUrl", "http://soap.sforce.com/2006/04/metadata","startUrl","http://www.w3.org/2001/XMLSchema","string",0,1,true), startUrl, startUrl__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", "ConnectedApp");
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("[ConnectedApp ");
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 {
writeFieldAttributes(__out, __typeMapper);
writeFieldCanvas(__out, __typeMapper);
writeFieldCanvasConfig(__out, __typeMapper);
writeFieldContactEmail(__out, __typeMapper);
writeFieldContactPhone(__out, __typeMapper);
writeFieldDescription(__out, __typeMapper);
writeFieldIconUrl(__out, __typeMapper);
writeFieldInfoUrl(__out, __typeMapper);
writeFieldIpRanges(__out, __typeMapper);
writeFieldLabel(__out, __typeMapper);
writeFieldLogoUrl(__out, __typeMapper);
writeFieldMobileAppConfig(__out, __typeMapper);
writeFieldMobileStartUrl(__out, __typeMapper);
writeFieldOauthConfig(__out, __typeMapper);
writeFieldOauthPolicy(__out, __typeMapper);
writeFieldPermissionSetName(__out, __typeMapper);
writeFieldPlugin(__out, __typeMapper);
writeFieldPluginExecutionUser(__out, __typeMapper);
writeFieldProfileName(__out, __typeMapper);
writeFieldSamlConfig(__out, __typeMapper);
writeFieldSessionPolicy(__out, __typeMapper);
writeFieldStartUrl(__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 {
setAttributes(__in, __typeMapper);
setCanvas(__in, __typeMapper);
setCanvasConfig(__in, __typeMapper);
setContactEmail(__in, __typeMapper);
setContactPhone(__in, __typeMapper);
setDescription(__in, __typeMapper);
setIconUrl(__in, __typeMapper);
setInfoUrl(__in, __typeMapper);
setIpRanges(__in, __typeMapper);
setLabel(__in, __typeMapper);
setLogoUrl(__in, __typeMapper);
setMobileAppConfig(__in, __typeMapper);
setMobileStartUrl(__in, __typeMapper);
setOauthConfig(__in, __typeMapper);
setOauthPolicy(__in, __typeMapper);
setPermissionSetName(__in, __typeMapper);
setPlugin(__in, __typeMapper);
setPluginExecutionUser(__in, __typeMapper);
setProfileName(__in, __typeMapper);
setSamlConfig(__in, __typeMapper);
setSessionPolicy(__in, __typeMapper);
setStartUrl(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "attributes", attributes);
toStringHelper(sb, "canvas", canvas);
toStringHelper(sb, "canvasConfig", canvasConfig);
toStringHelper(sb, "contactEmail", contactEmail);
toStringHelper(sb, "contactPhone", contactPhone);
toStringHelper(sb, "description", description);
toStringHelper(sb, "iconUrl", iconUrl);
toStringHelper(sb, "infoUrl", infoUrl);
toStringHelper(sb, "ipRanges", ipRanges);
toStringHelper(sb, "label", label);
toStringHelper(sb, "logoUrl", logoUrl);
toStringHelper(sb, "mobileAppConfig", mobileAppConfig);
toStringHelper(sb, "mobileStartUrl", mobileStartUrl);
toStringHelper(sb, "oauthConfig", oauthConfig);
toStringHelper(sb, "oauthPolicy", oauthPolicy);
toStringHelper(sb, "permissionSetName", permissionSetName);
toStringHelper(sb, "plugin", plugin);
toStringHelper(sb, "pluginExecutionUser", pluginExecutionUser);
toStringHelper(sb, "profileName", profileName);
toStringHelper(sb, "samlConfig", samlConfig);
toStringHelper(sb, "sessionPolicy", sessionPolicy);
toStringHelper(sb, "startUrl", startUrl);
}
}