610 lines
32 KiB
Java
610 lines
32 KiB
Java
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 AppointmentSchedulingPolicy extends com.sforce.soap.metadata.Metadata {
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public AppointmentSchedulingPolicy() {}
|
|
|
|
/* Cache the typeInfo instead of declaring static fields throughout*/
|
|
private transient java.util.Map<String, com.sforce.ws.bind.TypeInfo> typeInfoCache = new java.util.HashMap<String, com.sforce.ws.bind.TypeInfo>();
|
|
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 : appointmentAssignmentPolicy of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean appointmentAssignmentPolicy__is_set = false;
|
|
|
|
private java.lang.String appointmentAssignmentPolicy;
|
|
|
|
public java.lang.String getAppointmentAssignmentPolicy() {
|
|
return appointmentAssignmentPolicy;
|
|
}
|
|
|
|
public void setAppointmentAssignmentPolicy(java.lang.String appointmentAssignmentPolicy) {
|
|
this.appointmentAssignmentPolicy = appointmentAssignmentPolicy;
|
|
appointmentAssignmentPolicy__is_set = true;
|
|
}
|
|
|
|
protected void setAppointmentAssignmentPolicy(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("appointmentAssignmentPolicy", "http://soap.sforce.com/2006/04/metadata","appointmentAssignmentPolicy","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setAppointmentAssignmentPolicy(__typeMapper.readString(__in, _lookupTypeInfo("appointmentAssignmentPolicy", "http://soap.sforce.com/2006/04/metadata","appointmentAssignmentPolicy","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldAppointmentAssignmentPolicy(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("appointmentAssignmentPolicy", "http://soap.sforce.com/2006/04/metadata","appointmentAssignmentPolicy","http://www.w3.org/2001/XMLSchema","string",0,1,true), appointmentAssignmentPolicy, appointmentAssignmentPolicy__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : appointmentStartTimeInterval of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean appointmentStartTimeInterval__is_set = false;
|
|
|
|
private java.lang.String appointmentStartTimeInterval;
|
|
|
|
public java.lang.String getAppointmentStartTimeInterval() {
|
|
return appointmentStartTimeInterval;
|
|
}
|
|
|
|
public void setAppointmentStartTimeInterval(java.lang.String appointmentStartTimeInterval) {
|
|
this.appointmentStartTimeInterval = appointmentStartTimeInterval;
|
|
appointmentStartTimeInterval__is_set = true;
|
|
}
|
|
|
|
protected void setAppointmentStartTimeInterval(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("appointmentStartTimeInterval", "http://soap.sforce.com/2006/04/metadata","appointmentStartTimeInterval","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
|
setAppointmentStartTimeInterval(__typeMapper.readString(__in, _lookupTypeInfo("appointmentStartTimeInterval", "http://soap.sforce.com/2006/04/metadata","appointmentStartTimeInterval","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldAppointmentStartTimeInterval(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("appointmentStartTimeInterval", "http://soap.sforce.com/2006/04/metadata","appointmentStartTimeInterval","http://www.w3.org/2001/XMLSchema","string",1,1,true), appointmentStartTimeInterval, appointmentStartTimeInterval__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : extCalEventHandler of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean extCalEventHandler__is_set = false;
|
|
|
|
private java.lang.String extCalEventHandler;
|
|
|
|
public java.lang.String getExtCalEventHandler() {
|
|
return extCalEventHandler;
|
|
}
|
|
|
|
public void setExtCalEventHandler(java.lang.String extCalEventHandler) {
|
|
this.extCalEventHandler = extCalEventHandler;
|
|
extCalEventHandler__is_set = true;
|
|
}
|
|
|
|
protected void setExtCalEventHandler(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("extCalEventHandler", "http://soap.sforce.com/2006/04/metadata","extCalEventHandler","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setExtCalEventHandler(__typeMapper.readString(__in, _lookupTypeInfo("extCalEventHandler", "http://soap.sforce.com/2006/04/metadata","extCalEventHandler","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldExtCalEventHandler(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("extCalEventHandler", "http://soap.sforce.com/2006/04/metadata","extCalEventHandler","http://www.w3.org/2001/XMLSchema","string",0,1,true), extCalEventHandler, extCalEventHandler__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : isSvcTerrOpHoursWithShiftsUsed of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean isSvcTerrOpHoursWithShiftsUsed__is_set = false;
|
|
|
|
private boolean isSvcTerrOpHoursWithShiftsUsed;
|
|
|
|
public boolean getIsSvcTerrOpHoursWithShiftsUsed() {
|
|
return isSvcTerrOpHoursWithShiftsUsed;
|
|
}
|
|
|
|
public boolean isIsSvcTerrOpHoursWithShiftsUsed() {
|
|
return isSvcTerrOpHoursWithShiftsUsed;
|
|
}
|
|
|
|
public void setIsSvcTerrOpHoursWithShiftsUsed(boolean isSvcTerrOpHoursWithShiftsUsed) {
|
|
this.isSvcTerrOpHoursWithShiftsUsed = isSvcTerrOpHoursWithShiftsUsed;
|
|
isSvcTerrOpHoursWithShiftsUsed__is_set = true;
|
|
}
|
|
|
|
protected void setIsSvcTerrOpHoursWithShiftsUsed(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("isSvcTerrOpHoursWithShiftsUsed", "http://soap.sforce.com/2006/04/metadata","isSvcTerrOpHoursWithShiftsUsed","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setIsSvcTerrOpHoursWithShiftsUsed(__typeMapper.readBoolean(__in, _lookupTypeInfo("isSvcTerrOpHoursWithShiftsUsed", "http://soap.sforce.com/2006/04/metadata","isSvcTerrOpHoursWithShiftsUsed","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldIsSvcTerrOpHoursWithShiftsUsed(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("isSvcTerrOpHoursWithShiftsUsed", "http://soap.sforce.com/2006/04/metadata","isSvcTerrOpHoursWithShiftsUsed","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isSvcTerrOpHoursWithShiftsUsed, isSvcTerrOpHoursWithShiftsUsed__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : isSvcTerritoryMemberShiftUsed of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean isSvcTerritoryMemberShiftUsed__is_set = false;
|
|
|
|
private boolean isSvcTerritoryMemberShiftUsed;
|
|
|
|
public boolean getIsSvcTerritoryMemberShiftUsed() {
|
|
return isSvcTerritoryMemberShiftUsed;
|
|
}
|
|
|
|
public boolean isIsSvcTerritoryMemberShiftUsed() {
|
|
return isSvcTerritoryMemberShiftUsed;
|
|
}
|
|
|
|
public void setIsSvcTerritoryMemberShiftUsed(boolean isSvcTerritoryMemberShiftUsed) {
|
|
this.isSvcTerritoryMemberShiftUsed = isSvcTerritoryMemberShiftUsed;
|
|
isSvcTerritoryMemberShiftUsed__is_set = true;
|
|
}
|
|
|
|
protected void setIsSvcTerritoryMemberShiftUsed(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("isSvcTerritoryMemberShiftUsed", "http://soap.sforce.com/2006/04/metadata","isSvcTerritoryMemberShiftUsed","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setIsSvcTerritoryMemberShiftUsed(__typeMapper.readBoolean(__in, _lookupTypeInfo("isSvcTerritoryMemberShiftUsed", "http://soap.sforce.com/2006/04/metadata","isSvcTerritoryMemberShiftUsed","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldIsSvcTerritoryMemberShiftUsed(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("isSvcTerritoryMemberShiftUsed", "http://soap.sforce.com/2006/04/metadata","isSvcTerritoryMemberShiftUsed","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isSvcTerritoryMemberShiftUsed, isSvcTerritoryMemberShiftUsed__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : masterLabel of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean masterLabel__is_set = false;
|
|
|
|
private java.lang.String masterLabel;
|
|
|
|
public java.lang.String getMasterLabel() {
|
|
return masterLabel;
|
|
}
|
|
|
|
public void setMasterLabel(java.lang.String masterLabel) {
|
|
this.masterLabel = masterLabel;
|
|
masterLabel__is_set = true;
|
|
}
|
|
|
|
protected void setMasterLabel(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("masterLabel", "http://soap.sforce.com/2006/04/metadata","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
|
setMasterLabel(__typeMapper.readString(__in, _lookupTypeInfo("masterLabel", "http://soap.sforce.com/2006/04/metadata","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldMasterLabel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("masterLabel", "http://soap.sforce.com/2006/04/metadata","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true), masterLabel, masterLabel__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : shouldCheckExternalCalendar of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean shouldCheckExternalCalendar__is_set = false;
|
|
|
|
private boolean shouldCheckExternalCalendar;
|
|
|
|
public boolean getShouldCheckExternalCalendar() {
|
|
return shouldCheckExternalCalendar;
|
|
}
|
|
|
|
public boolean isShouldCheckExternalCalendar() {
|
|
return shouldCheckExternalCalendar;
|
|
}
|
|
|
|
public void setShouldCheckExternalCalendar(boolean shouldCheckExternalCalendar) {
|
|
this.shouldCheckExternalCalendar = shouldCheckExternalCalendar;
|
|
shouldCheckExternalCalendar__is_set = true;
|
|
}
|
|
|
|
protected void setShouldCheckExternalCalendar(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("shouldCheckExternalCalendar", "http://soap.sforce.com/2006/04/metadata","shouldCheckExternalCalendar","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
|
|
setShouldCheckExternalCalendar(__typeMapper.readBoolean(__in, _lookupTypeInfo("shouldCheckExternalCalendar", "http://soap.sforce.com/2006/04/metadata","shouldCheckExternalCalendar","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldShouldCheckExternalCalendar(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("shouldCheckExternalCalendar", "http://soap.sforce.com/2006/04/metadata","shouldCheckExternalCalendar","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), shouldCheckExternalCalendar, shouldCheckExternalCalendar__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : shouldConsiderCalendarEvents of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean shouldConsiderCalendarEvents__is_set = false;
|
|
|
|
private boolean shouldConsiderCalendarEvents;
|
|
|
|
public boolean getShouldConsiderCalendarEvents() {
|
|
return shouldConsiderCalendarEvents;
|
|
}
|
|
|
|
public boolean isShouldConsiderCalendarEvents() {
|
|
return shouldConsiderCalendarEvents;
|
|
}
|
|
|
|
public void setShouldConsiderCalendarEvents(boolean shouldConsiderCalendarEvents) {
|
|
this.shouldConsiderCalendarEvents = shouldConsiderCalendarEvents;
|
|
shouldConsiderCalendarEvents__is_set = true;
|
|
}
|
|
|
|
protected void setShouldConsiderCalendarEvents(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("shouldConsiderCalendarEvents", "http://soap.sforce.com/2006/04/metadata","shouldConsiderCalendarEvents","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
|
|
setShouldConsiderCalendarEvents(__typeMapper.readBoolean(__in, _lookupTypeInfo("shouldConsiderCalendarEvents", "http://soap.sforce.com/2006/04/metadata","shouldConsiderCalendarEvents","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldShouldConsiderCalendarEvents(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("shouldConsiderCalendarEvents", "http://soap.sforce.com/2006/04/metadata","shouldConsiderCalendarEvents","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), shouldConsiderCalendarEvents, shouldConsiderCalendarEvents__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : shouldEnforceExcludedResource of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean shouldEnforceExcludedResource__is_set = false;
|
|
|
|
private boolean shouldEnforceExcludedResource;
|
|
|
|
public boolean getShouldEnforceExcludedResource() {
|
|
return shouldEnforceExcludedResource;
|
|
}
|
|
|
|
public boolean isShouldEnforceExcludedResource() {
|
|
return shouldEnforceExcludedResource;
|
|
}
|
|
|
|
public void setShouldEnforceExcludedResource(boolean shouldEnforceExcludedResource) {
|
|
this.shouldEnforceExcludedResource = shouldEnforceExcludedResource;
|
|
shouldEnforceExcludedResource__is_set = true;
|
|
}
|
|
|
|
protected void setShouldEnforceExcludedResource(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("shouldEnforceExcludedResource", "http://soap.sforce.com/2006/04/metadata","shouldEnforceExcludedResource","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
|
|
setShouldEnforceExcludedResource(__typeMapper.readBoolean(__in, _lookupTypeInfo("shouldEnforceExcludedResource", "http://soap.sforce.com/2006/04/metadata","shouldEnforceExcludedResource","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldShouldEnforceExcludedResource(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("shouldEnforceExcludedResource", "http://soap.sforce.com/2006/04/metadata","shouldEnforceExcludedResource","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), shouldEnforceExcludedResource, shouldEnforceExcludedResource__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : shouldEnforceRequiredResource of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean shouldEnforceRequiredResource__is_set = false;
|
|
|
|
private boolean shouldEnforceRequiredResource;
|
|
|
|
public boolean getShouldEnforceRequiredResource() {
|
|
return shouldEnforceRequiredResource;
|
|
}
|
|
|
|
public boolean isShouldEnforceRequiredResource() {
|
|
return shouldEnforceRequiredResource;
|
|
}
|
|
|
|
public void setShouldEnforceRequiredResource(boolean shouldEnforceRequiredResource) {
|
|
this.shouldEnforceRequiredResource = shouldEnforceRequiredResource;
|
|
shouldEnforceRequiredResource__is_set = true;
|
|
}
|
|
|
|
protected void setShouldEnforceRequiredResource(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("shouldEnforceRequiredResource", "http://soap.sforce.com/2006/04/metadata","shouldEnforceRequiredResource","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
|
|
setShouldEnforceRequiredResource(__typeMapper.readBoolean(__in, _lookupTypeInfo("shouldEnforceRequiredResource", "http://soap.sforce.com/2006/04/metadata","shouldEnforceRequiredResource","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldShouldEnforceRequiredResource(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("shouldEnforceRequiredResource", "http://soap.sforce.com/2006/04/metadata","shouldEnforceRequiredResource","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), shouldEnforceRequiredResource, shouldEnforceRequiredResource__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : shouldMatchSkill of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean shouldMatchSkill__is_set = false;
|
|
|
|
private boolean shouldMatchSkill;
|
|
|
|
public boolean getShouldMatchSkill() {
|
|
return shouldMatchSkill;
|
|
}
|
|
|
|
public boolean isShouldMatchSkill() {
|
|
return shouldMatchSkill;
|
|
}
|
|
|
|
public void setShouldMatchSkill(boolean shouldMatchSkill) {
|
|
this.shouldMatchSkill = shouldMatchSkill;
|
|
shouldMatchSkill__is_set = true;
|
|
}
|
|
|
|
protected void setShouldMatchSkill(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("shouldMatchSkill", "http://soap.sforce.com/2006/04/metadata","shouldMatchSkill","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
|
|
setShouldMatchSkill(__typeMapper.readBoolean(__in, _lookupTypeInfo("shouldMatchSkill", "http://soap.sforce.com/2006/04/metadata","shouldMatchSkill","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldShouldMatchSkill(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("shouldMatchSkill", "http://soap.sforce.com/2006/04/metadata","shouldMatchSkill","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), shouldMatchSkill, shouldMatchSkill__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : shouldMatchSkillLevel of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean shouldMatchSkillLevel__is_set = false;
|
|
|
|
private boolean shouldMatchSkillLevel;
|
|
|
|
public boolean getShouldMatchSkillLevel() {
|
|
return shouldMatchSkillLevel;
|
|
}
|
|
|
|
public boolean isShouldMatchSkillLevel() {
|
|
return shouldMatchSkillLevel;
|
|
}
|
|
|
|
public void setShouldMatchSkillLevel(boolean shouldMatchSkillLevel) {
|
|
this.shouldMatchSkillLevel = shouldMatchSkillLevel;
|
|
shouldMatchSkillLevel__is_set = true;
|
|
}
|
|
|
|
protected void setShouldMatchSkillLevel(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("shouldMatchSkillLevel", "http://soap.sforce.com/2006/04/metadata","shouldMatchSkillLevel","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
|
|
setShouldMatchSkillLevel(__typeMapper.readBoolean(__in, _lookupTypeInfo("shouldMatchSkillLevel", "http://soap.sforce.com/2006/04/metadata","shouldMatchSkillLevel","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldShouldMatchSkillLevel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("shouldMatchSkillLevel", "http://soap.sforce.com/2006/04/metadata","shouldMatchSkillLevel","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), shouldMatchSkillLevel, shouldMatchSkillLevel__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : shouldRespectVisitingHours of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean shouldRespectVisitingHours__is_set = false;
|
|
|
|
private boolean shouldRespectVisitingHours;
|
|
|
|
public boolean getShouldRespectVisitingHours() {
|
|
return shouldRespectVisitingHours;
|
|
}
|
|
|
|
public boolean isShouldRespectVisitingHours() {
|
|
return shouldRespectVisitingHours;
|
|
}
|
|
|
|
public void setShouldRespectVisitingHours(boolean shouldRespectVisitingHours) {
|
|
this.shouldRespectVisitingHours = shouldRespectVisitingHours;
|
|
shouldRespectVisitingHours__is_set = true;
|
|
}
|
|
|
|
protected void setShouldRespectVisitingHours(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("shouldRespectVisitingHours", "http://soap.sforce.com/2006/04/metadata","shouldRespectVisitingHours","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
|
|
setShouldRespectVisitingHours(__typeMapper.readBoolean(__in, _lookupTypeInfo("shouldRespectVisitingHours", "http://soap.sforce.com/2006/04/metadata","shouldRespectVisitingHours","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldShouldRespectVisitingHours(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("shouldRespectVisitingHours", "http://soap.sforce.com/2006/04/metadata","shouldRespectVisitingHours","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), shouldRespectVisitingHours, shouldRespectVisitingHours__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : shouldUsePrimaryMembers of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean shouldUsePrimaryMembers__is_set = false;
|
|
|
|
private boolean shouldUsePrimaryMembers;
|
|
|
|
public boolean getShouldUsePrimaryMembers() {
|
|
return shouldUsePrimaryMembers;
|
|
}
|
|
|
|
public boolean isShouldUsePrimaryMembers() {
|
|
return shouldUsePrimaryMembers;
|
|
}
|
|
|
|
public void setShouldUsePrimaryMembers(boolean shouldUsePrimaryMembers) {
|
|
this.shouldUsePrimaryMembers = shouldUsePrimaryMembers;
|
|
shouldUsePrimaryMembers__is_set = true;
|
|
}
|
|
|
|
protected void setShouldUsePrimaryMembers(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("shouldUsePrimaryMembers", "http://soap.sforce.com/2006/04/metadata","shouldUsePrimaryMembers","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
|
|
setShouldUsePrimaryMembers(__typeMapper.readBoolean(__in, _lookupTypeInfo("shouldUsePrimaryMembers", "http://soap.sforce.com/2006/04/metadata","shouldUsePrimaryMembers","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldShouldUsePrimaryMembers(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("shouldUsePrimaryMembers", "http://soap.sforce.com/2006/04/metadata","shouldUsePrimaryMembers","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), shouldUsePrimaryMembers, shouldUsePrimaryMembers__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : shouldUseSecondaryMembers of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean shouldUseSecondaryMembers__is_set = false;
|
|
|
|
private boolean shouldUseSecondaryMembers;
|
|
|
|
public boolean getShouldUseSecondaryMembers() {
|
|
return shouldUseSecondaryMembers;
|
|
}
|
|
|
|
public boolean isShouldUseSecondaryMembers() {
|
|
return shouldUseSecondaryMembers;
|
|
}
|
|
|
|
public void setShouldUseSecondaryMembers(boolean shouldUseSecondaryMembers) {
|
|
this.shouldUseSecondaryMembers = shouldUseSecondaryMembers;
|
|
shouldUseSecondaryMembers__is_set = true;
|
|
}
|
|
|
|
protected void setShouldUseSecondaryMembers(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("shouldUseSecondaryMembers", "http://soap.sforce.com/2006/04/metadata","shouldUseSecondaryMembers","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
|
|
setShouldUseSecondaryMembers(__typeMapper.readBoolean(__in, _lookupTypeInfo("shouldUseSecondaryMembers", "http://soap.sforce.com/2006/04/metadata","shouldUseSecondaryMembers","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldShouldUseSecondaryMembers(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("shouldUseSecondaryMembers", "http://soap.sforce.com/2006/04/metadata","shouldUseSecondaryMembers","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), shouldUseSecondaryMembers, shouldUseSecondaryMembers__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", "AppointmentSchedulingPolicy");
|
|
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("[AppointmentSchedulingPolicy ");
|
|
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 {
|
|
writeFieldAppointmentAssignmentPolicy(__out, __typeMapper);
|
|
writeFieldAppointmentStartTimeInterval(__out, __typeMapper);
|
|
writeFieldExtCalEventHandler(__out, __typeMapper);
|
|
writeFieldIsSvcTerrOpHoursWithShiftsUsed(__out, __typeMapper);
|
|
writeFieldIsSvcTerritoryMemberShiftUsed(__out, __typeMapper);
|
|
writeFieldMasterLabel(__out, __typeMapper);
|
|
writeFieldShouldCheckExternalCalendar(__out, __typeMapper);
|
|
writeFieldShouldConsiderCalendarEvents(__out, __typeMapper);
|
|
writeFieldShouldEnforceExcludedResource(__out, __typeMapper);
|
|
writeFieldShouldEnforceRequiredResource(__out, __typeMapper);
|
|
writeFieldShouldMatchSkill(__out, __typeMapper);
|
|
writeFieldShouldMatchSkillLevel(__out, __typeMapper);
|
|
writeFieldShouldRespectVisitingHours(__out, __typeMapper);
|
|
writeFieldShouldUsePrimaryMembers(__out, __typeMapper);
|
|
writeFieldShouldUseSecondaryMembers(__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 {
|
|
setAppointmentAssignmentPolicy(__in, __typeMapper);
|
|
setAppointmentStartTimeInterval(__in, __typeMapper);
|
|
setExtCalEventHandler(__in, __typeMapper);
|
|
setIsSvcTerrOpHoursWithShiftsUsed(__in, __typeMapper);
|
|
setIsSvcTerritoryMemberShiftUsed(__in, __typeMapper);
|
|
setMasterLabel(__in, __typeMapper);
|
|
setShouldCheckExternalCalendar(__in, __typeMapper);
|
|
setShouldConsiderCalendarEvents(__in, __typeMapper);
|
|
setShouldEnforceExcludedResource(__in, __typeMapper);
|
|
setShouldEnforceRequiredResource(__in, __typeMapper);
|
|
setShouldMatchSkill(__in, __typeMapper);
|
|
setShouldMatchSkillLevel(__in, __typeMapper);
|
|
setShouldRespectVisitingHours(__in, __typeMapper);
|
|
setShouldUsePrimaryMembers(__in, __typeMapper);
|
|
setShouldUseSecondaryMembers(__in, __typeMapper);
|
|
}
|
|
|
|
private void toString1(StringBuilder sb) {
|
|
toStringHelper(sb, "appointmentAssignmentPolicy", appointmentAssignmentPolicy);
|
|
toStringHelper(sb, "appointmentStartTimeInterval", appointmentStartTimeInterval);
|
|
toStringHelper(sb, "extCalEventHandler", extCalEventHandler);
|
|
toStringHelper(sb, "isSvcTerrOpHoursWithShiftsUsed", isSvcTerrOpHoursWithShiftsUsed);
|
|
toStringHelper(sb, "isSvcTerritoryMemberShiftUsed", isSvcTerritoryMemberShiftUsed);
|
|
toStringHelper(sb, "masterLabel", masterLabel);
|
|
toStringHelper(sb, "shouldCheckExternalCalendar", shouldCheckExternalCalendar);
|
|
toStringHelper(sb, "shouldConsiderCalendarEvents", shouldConsiderCalendarEvents);
|
|
toStringHelper(sb, "shouldEnforceExcludedResource", shouldEnforceExcludedResource);
|
|
toStringHelper(sb, "shouldEnforceRequiredResource", shouldEnforceRequiredResource);
|
|
toStringHelper(sb, "shouldMatchSkill", shouldMatchSkill);
|
|
toStringHelper(sb, "shouldMatchSkillLevel", shouldMatchSkillLevel);
|
|
toStringHelper(sb, "shouldRespectVisitingHours", shouldRespectVisitingHours);
|
|
toStringHelper(sb, "shouldUsePrimaryMembers", shouldUsePrimaryMembers);
|
|
toStringHelper(sb, "shouldUseSecondaryMembers", shouldUseSecondaryMembers);
|
|
}
|
|
|
|
|
|
}
|