com.sforce.soap.metadata.SharedTo 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 SharedTo implements com.sforce.ws.bind.XMLizable {
/**
* Constructor
*/
public SharedTo() {}
/* 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 : allCustomerPortalUsers of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean allCustomerPortalUsers__is_set = false;
private java.lang.String allCustomerPortalUsers;
public java.lang.String getAllCustomerPortalUsers() {
return allCustomerPortalUsers;
}
public void setAllCustomerPortalUsers(java.lang.String allCustomerPortalUsers) {
this.allCustomerPortalUsers = allCustomerPortalUsers;
allCustomerPortalUsers__is_set = true;
}
protected void setAllCustomerPortalUsers(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("allCustomerPortalUsers", "http://soap.sforce.com/2006/04/metadata","allCustomerPortalUsers","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setAllCustomerPortalUsers(__typeMapper.readString(__in, _lookupTypeInfo("allCustomerPortalUsers", "http://soap.sforce.com/2006/04/metadata","allCustomerPortalUsers","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldAllCustomerPortalUsers(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("allCustomerPortalUsers", "http://soap.sforce.com/2006/04/metadata","allCustomerPortalUsers","http://www.w3.org/2001/XMLSchema","string",0,1,true), allCustomerPortalUsers, allCustomerPortalUsers__is_set);
}
/**
* element : allInternalUsers of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean allInternalUsers__is_set = false;
private java.lang.String allInternalUsers;
public java.lang.String getAllInternalUsers() {
return allInternalUsers;
}
public void setAllInternalUsers(java.lang.String allInternalUsers) {
this.allInternalUsers = allInternalUsers;
allInternalUsers__is_set = true;
}
protected void setAllInternalUsers(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("allInternalUsers", "http://soap.sforce.com/2006/04/metadata","allInternalUsers","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setAllInternalUsers(__typeMapper.readString(__in, _lookupTypeInfo("allInternalUsers", "http://soap.sforce.com/2006/04/metadata","allInternalUsers","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldAllInternalUsers(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("allInternalUsers", "http://soap.sforce.com/2006/04/metadata","allInternalUsers","http://www.w3.org/2001/XMLSchema","string",0,1,true), allInternalUsers, allInternalUsers__is_set);
}
/**
* element : allPartnerUsers of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean allPartnerUsers__is_set = false;
private java.lang.String allPartnerUsers;
public java.lang.String getAllPartnerUsers() {
return allPartnerUsers;
}
public void setAllPartnerUsers(java.lang.String allPartnerUsers) {
this.allPartnerUsers = allPartnerUsers;
allPartnerUsers__is_set = true;
}
protected void setAllPartnerUsers(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("allPartnerUsers", "http://soap.sforce.com/2006/04/metadata","allPartnerUsers","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setAllPartnerUsers(__typeMapper.readString(__in, _lookupTypeInfo("allPartnerUsers", "http://soap.sforce.com/2006/04/metadata","allPartnerUsers","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldAllPartnerUsers(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("allPartnerUsers", "http://soap.sforce.com/2006/04/metadata","allPartnerUsers","http://www.w3.org/2001/XMLSchema","string",0,1,true), allPartnerUsers, allPartnerUsers__is_set);
}
/**
* element : channelProgramGroup of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean channelProgramGroup__is_set = false;
private java.lang.String[] channelProgramGroup = new java.lang.String[0];
public java.lang.String[] getChannelProgramGroup() {
return channelProgramGroup;
}
public void setChannelProgramGroup(java.lang.String[] channelProgramGroup) {
this.channelProgramGroup = channelProgramGroup;
channelProgramGroup__is_set = true;
}
protected void setChannelProgramGroup(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("channelProgramGroup", "http://soap.sforce.com/2006/04/metadata","channelProgramGroup","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setChannelProgramGroup((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("channelProgramGroup", "http://soap.sforce.com/2006/04/metadata","channelProgramGroup","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldChannelProgramGroup(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("channelProgramGroup", "http://soap.sforce.com/2006/04/metadata","channelProgramGroup","http://www.w3.org/2001/XMLSchema","string",0,-1,true), channelProgramGroup, channelProgramGroup__is_set);
}
/**
* element : channelProgramGroups of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean channelProgramGroups__is_set = false;
private java.lang.String[] channelProgramGroups = new java.lang.String[0];
public java.lang.String[] getChannelProgramGroups() {
return channelProgramGroups;
}
public void setChannelProgramGroups(java.lang.String[] channelProgramGroups) {
this.channelProgramGroups = channelProgramGroups;
channelProgramGroups__is_set = true;
}
protected void setChannelProgramGroups(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("channelProgramGroups", "http://soap.sforce.com/2006/04/metadata","channelProgramGroups","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setChannelProgramGroups((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("channelProgramGroups", "http://soap.sforce.com/2006/04/metadata","channelProgramGroups","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldChannelProgramGroups(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("channelProgramGroups", "http://soap.sforce.com/2006/04/metadata","channelProgramGroups","http://www.w3.org/2001/XMLSchema","string",0,-1,true), channelProgramGroups, channelProgramGroups__is_set);
}
/**
* element : group of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean group__is_set = false;
private java.lang.String[] group = new java.lang.String[0];
public java.lang.String[] getGroup() {
return group;
}
public void setGroup(java.lang.String[] group) {
this.group = group;
group__is_set = true;
}
protected void setGroup(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("group", "http://soap.sforce.com/2006/04/metadata","group","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setGroup((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("group", "http://soap.sforce.com/2006/04/metadata","group","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldGroup(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("group", "http://soap.sforce.com/2006/04/metadata","group","http://www.w3.org/2001/XMLSchema","string",0,-1,true), group, group__is_set);
}
/**
* element : groups of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean groups__is_set = false;
private java.lang.String[] groups = new java.lang.String[0];
public java.lang.String[] getGroups() {
return groups;
}
public void setGroups(java.lang.String[] groups) {
this.groups = groups;
groups__is_set = true;
}
protected void setGroups(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("groups", "http://soap.sforce.com/2006/04/metadata","groups","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setGroups((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("groups", "http://soap.sforce.com/2006/04/metadata","groups","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldGroups(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("groups", "http://soap.sforce.com/2006/04/metadata","groups","http://www.w3.org/2001/XMLSchema","string",0,-1,true), groups, groups__is_set);
}
/**
* element : guestUser of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean guestUser__is_set = false;
private java.lang.String[] guestUser = new java.lang.String[0];
public java.lang.String[] getGuestUser() {
return guestUser;
}
public void setGuestUser(java.lang.String[] guestUser) {
this.guestUser = guestUser;
guestUser__is_set = true;
}
protected void setGuestUser(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("guestUser", "http://soap.sforce.com/2006/04/metadata","guestUser","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setGuestUser((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("guestUser", "http://soap.sforce.com/2006/04/metadata","guestUser","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldGuestUser(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("guestUser", "http://soap.sforce.com/2006/04/metadata","guestUser","http://www.w3.org/2001/XMLSchema","string",0,-1,true), guestUser, guestUser__is_set);
}
/**
* element : managerSubordinates of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean managerSubordinates__is_set = false;
private java.lang.String[] managerSubordinates = new java.lang.String[0];
public java.lang.String[] getManagerSubordinates() {
return managerSubordinates;
}
public void setManagerSubordinates(java.lang.String[] managerSubordinates) {
this.managerSubordinates = managerSubordinates;
managerSubordinates__is_set = true;
}
protected void setManagerSubordinates(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("managerSubordinates", "http://soap.sforce.com/2006/04/metadata","managerSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setManagerSubordinates((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("managerSubordinates", "http://soap.sforce.com/2006/04/metadata","managerSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldManagerSubordinates(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("managerSubordinates", "http://soap.sforce.com/2006/04/metadata","managerSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true), managerSubordinates, managerSubordinates__is_set);
}
/**
* element : managers of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean managers__is_set = false;
private java.lang.String[] managers = new java.lang.String[0];
public java.lang.String[] getManagers() {
return managers;
}
public void setManagers(java.lang.String[] managers) {
this.managers = managers;
managers__is_set = true;
}
protected void setManagers(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("managers", "http://soap.sforce.com/2006/04/metadata","managers","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setManagers((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("managers", "http://soap.sforce.com/2006/04/metadata","managers","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldManagers(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("managers", "http://soap.sforce.com/2006/04/metadata","managers","http://www.w3.org/2001/XMLSchema","string",0,-1,true), managers, managers__is_set);
}
/**
* element : portalRole of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean portalRole__is_set = false;
private java.lang.String[] portalRole = new java.lang.String[0];
public java.lang.String[] getPortalRole() {
return portalRole;
}
public void setPortalRole(java.lang.String[] portalRole) {
this.portalRole = portalRole;
portalRole__is_set = true;
}
protected void setPortalRole(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("portalRole", "http://soap.sforce.com/2006/04/metadata","portalRole","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setPortalRole((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("portalRole", "http://soap.sforce.com/2006/04/metadata","portalRole","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldPortalRole(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("portalRole", "http://soap.sforce.com/2006/04/metadata","portalRole","http://www.w3.org/2001/XMLSchema","string",0,-1,true), portalRole, portalRole__is_set);
}
/**
* element : portalRoleAndSubordinates of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean portalRoleAndSubordinates__is_set = false;
private java.lang.String[] portalRoleAndSubordinates = new java.lang.String[0];
public java.lang.String[] getPortalRoleAndSubordinates() {
return portalRoleAndSubordinates;
}
public void setPortalRoleAndSubordinates(java.lang.String[] portalRoleAndSubordinates) {
this.portalRoleAndSubordinates = portalRoleAndSubordinates;
portalRoleAndSubordinates__is_set = true;
}
protected void setPortalRoleAndSubordinates(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("portalRoleAndSubordinates", "http://soap.sforce.com/2006/04/metadata","portalRoleAndSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setPortalRoleAndSubordinates((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("portalRoleAndSubordinates", "http://soap.sforce.com/2006/04/metadata","portalRoleAndSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldPortalRoleAndSubordinates(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("portalRoleAndSubordinates", "http://soap.sforce.com/2006/04/metadata","portalRoleAndSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true), portalRoleAndSubordinates, portalRoleAndSubordinates__is_set);
}
/**
* element : queue of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean queue__is_set = false;
private java.lang.String[] queue = new java.lang.String[0];
public java.lang.String[] getQueue() {
return queue;
}
public void setQueue(java.lang.String[] queue) {
this.queue = queue;
queue__is_set = true;
}
protected void setQueue(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("queue", "http://soap.sforce.com/2006/04/metadata","queue","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setQueue((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("queue", "http://soap.sforce.com/2006/04/metadata","queue","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldQueue(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("queue", "http://soap.sforce.com/2006/04/metadata","queue","http://www.w3.org/2001/XMLSchema","string",0,-1,true), queue, queue__is_set);
}
/**
* element : role of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean role__is_set = false;
private java.lang.String[] role = new java.lang.String[0];
public java.lang.String[] getRole() {
return role;
}
public void setRole(java.lang.String[] role) {
this.role = role;
role__is_set = true;
}
protected void setRole(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("role", "http://soap.sforce.com/2006/04/metadata","role","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setRole((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("role", "http://soap.sforce.com/2006/04/metadata","role","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldRole(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("role", "http://soap.sforce.com/2006/04/metadata","role","http://www.w3.org/2001/XMLSchema","string",0,-1,true), role, role__is_set);
}
/**
* element : roleAndSubordinates of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean roleAndSubordinates__is_set = false;
private java.lang.String[] roleAndSubordinates = new java.lang.String[0];
public java.lang.String[] getRoleAndSubordinates() {
return roleAndSubordinates;
}
public void setRoleAndSubordinates(java.lang.String[] roleAndSubordinates) {
this.roleAndSubordinates = roleAndSubordinates;
roleAndSubordinates__is_set = true;
}
protected void setRoleAndSubordinates(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("roleAndSubordinates", "http://soap.sforce.com/2006/04/metadata","roleAndSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setRoleAndSubordinates((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("roleAndSubordinates", "http://soap.sforce.com/2006/04/metadata","roleAndSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldRoleAndSubordinates(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("roleAndSubordinates", "http://soap.sforce.com/2006/04/metadata","roleAndSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true), roleAndSubordinates, roleAndSubordinates__is_set);
}
/**
* element : roleAndSubordinatesInternal of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean roleAndSubordinatesInternal__is_set = false;
private java.lang.String[] roleAndSubordinatesInternal = new java.lang.String[0];
public java.lang.String[] getRoleAndSubordinatesInternal() {
return roleAndSubordinatesInternal;
}
public void setRoleAndSubordinatesInternal(java.lang.String[] roleAndSubordinatesInternal) {
this.roleAndSubordinatesInternal = roleAndSubordinatesInternal;
roleAndSubordinatesInternal__is_set = true;
}
protected void setRoleAndSubordinatesInternal(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("roleAndSubordinatesInternal", "http://soap.sforce.com/2006/04/metadata","roleAndSubordinatesInternal","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setRoleAndSubordinatesInternal((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("roleAndSubordinatesInternal", "http://soap.sforce.com/2006/04/metadata","roleAndSubordinatesInternal","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldRoleAndSubordinatesInternal(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("roleAndSubordinatesInternal", "http://soap.sforce.com/2006/04/metadata","roleAndSubordinatesInternal","http://www.w3.org/2001/XMLSchema","string",0,-1,true), roleAndSubordinatesInternal, roleAndSubordinatesInternal__is_set);
}
/**
* element : roles of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean roles__is_set = false;
private java.lang.String[] roles = new java.lang.String[0];
public java.lang.String[] getRoles() {
return roles;
}
public void setRoles(java.lang.String[] roles) {
this.roles = roles;
roles__is_set = true;
}
protected void setRoles(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("roles", "http://soap.sforce.com/2006/04/metadata","roles","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setRoles((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("roles", "http://soap.sforce.com/2006/04/metadata","roles","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldRoles(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("roles", "http://soap.sforce.com/2006/04/metadata","roles","http://www.w3.org/2001/XMLSchema","string",0,-1,true), roles, roles__is_set);
}
/**
* element : rolesAndSubordinates of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean rolesAndSubordinates__is_set = false;
private java.lang.String[] rolesAndSubordinates = new java.lang.String[0];
public java.lang.String[] getRolesAndSubordinates() {
return rolesAndSubordinates;
}
public void setRolesAndSubordinates(java.lang.String[] rolesAndSubordinates) {
this.rolesAndSubordinates = rolesAndSubordinates;
rolesAndSubordinates__is_set = true;
}
protected void setRolesAndSubordinates(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("rolesAndSubordinates", "http://soap.sforce.com/2006/04/metadata","rolesAndSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setRolesAndSubordinates((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("rolesAndSubordinates", "http://soap.sforce.com/2006/04/metadata","rolesAndSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldRolesAndSubordinates(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("rolesAndSubordinates", "http://soap.sforce.com/2006/04/metadata","rolesAndSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true), rolesAndSubordinates, rolesAndSubordinates__is_set);
}
/**
* element : territories of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean territories__is_set = false;
private java.lang.String[] territories = new java.lang.String[0];
public java.lang.String[] getTerritories() {
return territories;
}
public void setTerritories(java.lang.String[] territories) {
this.territories = territories;
territories__is_set = true;
}
protected void setTerritories(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("territories", "http://soap.sforce.com/2006/04/metadata","territories","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setTerritories((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("territories", "http://soap.sforce.com/2006/04/metadata","territories","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldTerritories(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("territories", "http://soap.sforce.com/2006/04/metadata","territories","http://www.w3.org/2001/XMLSchema","string",0,-1,true), territories, territories__is_set);
}
/**
* element : territoriesAndSubordinates of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean territoriesAndSubordinates__is_set = false;
private java.lang.String[] territoriesAndSubordinates = new java.lang.String[0];
public java.lang.String[] getTerritoriesAndSubordinates() {
return territoriesAndSubordinates;
}
public void setTerritoriesAndSubordinates(java.lang.String[] territoriesAndSubordinates) {
this.territoriesAndSubordinates = territoriesAndSubordinates;
territoriesAndSubordinates__is_set = true;
}
protected void setTerritoriesAndSubordinates(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("territoriesAndSubordinates", "http://soap.sforce.com/2006/04/metadata","territoriesAndSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setTerritoriesAndSubordinates((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("territoriesAndSubordinates", "http://soap.sforce.com/2006/04/metadata","territoriesAndSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldTerritoriesAndSubordinates(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("territoriesAndSubordinates", "http://soap.sforce.com/2006/04/metadata","territoriesAndSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true), territoriesAndSubordinates, territoriesAndSubordinates__is_set);
}
/**
* element : territory of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean territory__is_set = false;
private java.lang.String[] territory = new java.lang.String[0];
public java.lang.String[] getTerritory() {
return territory;
}
public void setTerritory(java.lang.String[] territory) {
this.territory = territory;
territory__is_set = true;
}
protected void setTerritory(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("territory", "http://soap.sforce.com/2006/04/metadata","territory","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setTerritory((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("territory", "http://soap.sforce.com/2006/04/metadata","territory","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldTerritory(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("territory", "http://soap.sforce.com/2006/04/metadata","territory","http://www.w3.org/2001/XMLSchema","string",0,-1,true), territory, territory__is_set);
}
/**
* element : territoryAndSubordinates of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String[]
*/
private boolean territoryAndSubordinates__is_set = false;
private java.lang.String[] territoryAndSubordinates = new java.lang.String[0];
public java.lang.String[] getTerritoryAndSubordinates() {
return territoryAndSubordinates;
}
public void setTerritoryAndSubordinates(java.lang.String[] territoryAndSubordinates) {
this.territoryAndSubordinates = territoryAndSubordinates;
territoryAndSubordinates__is_set = true;
}
protected void setTerritoryAndSubordinates(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("territoryAndSubordinates", "http://soap.sforce.com/2006/04/metadata","territoryAndSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true))) {
setTerritoryAndSubordinates((java.lang.String[])__typeMapper.readObject(__in, _lookupTypeInfo("territoryAndSubordinates", "http://soap.sforce.com/2006/04/metadata","territoryAndSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true), java.lang.String[].class));
}
}
private void writeFieldTerritoryAndSubordinates(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("territoryAndSubordinates", "http://soap.sforce.com/2006/04/metadata","territoryAndSubordinates","http://www.w3.org/2001/XMLSchema","string",0,-1,true), territoryAndSubordinates, territoryAndSubordinates__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("[SharedTo ");
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 {
writeFieldAllCustomerPortalUsers(__out, __typeMapper);
writeFieldAllInternalUsers(__out, __typeMapper);
writeFieldAllPartnerUsers(__out, __typeMapper);
writeFieldChannelProgramGroup(__out, __typeMapper);
writeFieldChannelProgramGroups(__out, __typeMapper);
writeFieldGroup(__out, __typeMapper);
writeFieldGroups(__out, __typeMapper);
writeFieldGuestUser(__out, __typeMapper);
writeFieldManagerSubordinates(__out, __typeMapper);
writeFieldManagers(__out, __typeMapper);
writeFieldPortalRole(__out, __typeMapper);
writeFieldPortalRoleAndSubordinates(__out, __typeMapper);
writeFieldQueue(__out, __typeMapper);
writeFieldRole(__out, __typeMapper);
writeFieldRoleAndSubordinates(__out, __typeMapper);
writeFieldRoleAndSubordinatesInternal(__out, __typeMapper);
writeFieldRoles(__out, __typeMapper);
writeFieldRolesAndSubordinates(__out, __typeMapper);
writeFieldTerritories(__out, __typeMapper);
writeFieldTerritoriesAndSubordinates(__out, __typeMapper);
writeFieldTerritory(__out, __typeMapper);
writeFieldTerritoryAndSubordinates(__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 {
setAllCustomerPortalUsers(__in, __typeMapper);
setAllInternalUsers(__in, __typeMapper);
setAllPartnerUsers(__in, __typeMapper);
setChannelProgramGroup(__in, __typeMapper);
setChannelProgramGroups(__in, __typeMapper);
setGroup(__in, __typeMapper);
setGroups(__in, __typeMapper);
setGuestUser(__in, __typeMapper);
setManagerSubordinates(__in, __typeMapper);
setManagers(__in, __typeMapper);
setPortalRole(__in, __typeMapper);
setPortalRoleAndSubordinates(__in, __typeMapper);
setQueue(__in, __typeMapper);
setRole(__in, __typeMapper);
setRoleAndSubordinates(__in, __typeMapper);
setRoleAndSubordinatesInternal(__in, __typeMapper);
setRoles(__in, __typeMapper);
setRolesAndSubordinates(__in, __typeMapper);
setTerritories(__in, __typeMapper);
setTerritoriesAndSubordinates(__in, __typeMapper);
setTerritory(__in, __typeMapper);
setTerritoryAndSubordinates(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "allCustomerPortalUsers", allCustomerPortalUsers);
toStringHelper(sb, "allInternalUsers", allInternalUsers);
toStringHelper(sb, "allPartnerUsers", allPartnerUsers);
toStringHelper(sb, "channelProgramGroup", channelProgramGroup);
toStringHelper(sb, "channelProgramGroups", channelProgramGroups);
toStringHelper(sb, "group", group);
toStringHelper(sb, "groups", groups);
toStringHelper(sb, "guestUser", guestUser);
toStringHelper(sb, "managerSubordinates", managerSubordinates);
toStringHelper(sb, "managers", managers);
toStringHelper(sb, "portalRole", portalRole);
toStringHelper(sb, "portalRoleAndSubordinates", portalRoleAndSubordinates);
toStringHelper(sb, "queue", queue);
toStringHelper(sb, "role", role);
toStringHelper(sb, "roleAndSubordinates", roleAndSubordinates);
toStringHelper(sb, "roleAndSubordinatesInternal", roleAndSubordinatesInternal);
toStringHelper(sb, "roles", roles);
toStringHelper(sb, "rolesAndSubordinates", rolesAndSubordinates);
toStringHelper(sb, "territories", territories);
toStringHelper(sb, "territoriesAndSubordinates", territoriesAndSubordinates);
toStringHelper(sb, "territory", territory);
toStringHelper(sb, "territoryAndSubordinates", territoryAndSubordinates);
}
}