com.sforce.soap.metadata.BusinessHoursEntry 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 BusinessHoursEntry extends com.sforce.soap.metadata.Metadata {
/**
* Constructor
*/
public BusinessHoursEntry() {}
/* 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 : active of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean active__is_set = false;
private boolean active;
public boolean getActive() {
return active;
}
public boolean isActive() {
return active;
}
public void setActive(boolean active) {
this.active = active;
active__is_set = true;
}
protected void setActive(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("active", "http://soap.sforce.com/2006/04/metadata","active","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setActive(__typeMapper.readBoolean(__in, _lookupTypeInfo("active", "http://soap.sforce.com/2006/04/metadata","active","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldActive(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("active", "http://soap.sforce.com/2006/04/metadata","active","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), active, active__is_set);
}
/**
* element : default of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean _default__is_set = false;
private boolean _default;
public boolean getDefault() {
return _default;
}
public boolean isDefault() {
return _default;
}
public void setDefault(boolean _default) {
this._default = _default;
_default__is_set = true;
}
protected void setDefault(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("_default", "http://soap.sforce.com/2006/04/metadata","default","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
setDefault(__typeMapper.readBoolean(__in, _lookupTypeInfo("_default", "http://soap.sforce.com/2006/04/metadata","default","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
}
}
private void writeFieldDefault(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("_default", "http://soap.sforce.com/2006/04/metadata","default","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), _default, _default__is_set);
}
/**
* element : fridayEndTime of type {http://www.w3.org/2001/XMLSchema}time
* java type: com.sforce.ws.types.Time
*/
private boolean fridayEndTime__is_set = false;
private com.sforce.ws.types.Time fridayEndTime;
public com.sforce.ws.types.Time getFridayEndTime() {
return fridayEndTime;
}
public void setFridayEndTime(com.sforce.ws.types.Time fridayEndTime) {
this.fridayEndTime = fridayEndTime;
fridayEndTime__is_set = true;
}
protected void setFridayEndTime(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("fridayEndTime", "http://soap.sforce.com/2006/04/metadata","fridayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true))) {
setFridayEndTime((com.sforce.ws.types.Time)__typeMapper.readObject(__in, _lookupTypeInfo("fridayEndTime", "http://soap.sforce.com/2006/04/metadata","fridayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), com.sforce.ws.types.Time.class));
}
}
private void writeFieldFridayEndTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("fridayEndTime", "http://soap.sforce.com/2006/04/metadata","fridayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), fridayEndTime, fridayEndTime__is_set);
}
/**
* element : fridayStartTime of type {http://www.w3.org/2001/XMLSchema}time
* java type: com.sforce.ws.types.Time
*/
private boolean fridayStartTime__is_set = false;
private com.sforce.ws.types.Time fridayStartTime;
public com.sforce.ws.types.Time getFridayStartTime() {
return fridayStartTime;
}
public void setFridayStartTime(com.sforce.ws.types.Time fridayStartTime) {
this.fridayStartTime = fridayStartTime;
fridayStartTime__is_set = true;
}
protected void setFridayStartTime(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("fridayStartTime", "http://soap.sforce.com/2006/04/metadata","fridayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true))) {
setFridayStartTime((com.sforce.ws.types.Time)__typeMapper.readObject(__in, _lookupTypeInfo("fridayStartTime", "http://soap.sforce.com/2006/04/metadata","fridayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), com.sforce.ws.types.Time.class));
}
}
private void writeFieldFridayStartTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("fridayStartTime", "http://soap.sforce.com/2006/04/metadata","fridayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), fridayStartTime, fridayStartTime__is_set);
}
/**
* element : mondayEndTime of type {http://www.w3.org/2001/XMLSchema}time
* java type: com.sforce.ws.types.Time
*/
private boolean mondayEndTime__is_set = false;
private com.sforce.ws.types.Time mondayEndTime;
public com.sforce.ws.types.Time getMondayEndTime() {
return mondayEndTime;
}
public void setMondayEndTime(com.sforce.ws.types.Time mondayEndTime) {
this.mondayEndTime = mondayEndTime;
mondayEndTime__is_set = true;
}
protected void setMondayEndTime(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("mondayEndTime", "http://soap.sforce.com/2006/04/metadata","mondayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true))) {
setMondayEndTime((com.sforce.ws.types.Time)__typeMapper.readObject(__in, _lookupTypeInfo("mondayEndTime", "http://soap.sforce.com/2006/04/metadata","mondayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), com.sforce.ws.types.Time.class));
}
}
private void writeFieldMondayEndTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("mondayEndTime", "http://soap.sforce.com/2006/04/metadata","mondayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), mondayEndTime, mondayEndTime__is_set);
}
/**
* element : mondayStartTime of type {http://www.w3.org/2001/XMLSchema}time
* java type: com.sforce.ws.types.Time
*/
private boolean mondayStartTime__is_set = false;
private com.sforce.ws.types.Time mondayStartTime;
public com.sforce.ws.types.Time getMondayStartTime() {
return mondayStartTime;
}
public void setMondayStartTime(com.sforce.ws.types.Time mondayStartTime) {
this.mondayStartTime = mondayStartTime;
mondayStartTime__is_set = true;
}
protected void setMondayStartTime(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("mondayStartTime", "http://soap.sforce.com/2006/04/metadata","mondayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true))) {
setMondayStartTime((com.sforce.ws.types.Time)__typeMapper.readObject(__in, _lookupTypeInfo("mondayStartTime", "http://soap.sforce.com/2006/04/metadata","mondayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), com.sforce.ws.types.Time.class));
}
}
private void writeFieldMondayStartTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("mondayStartTime", "http://soap.sforce.com/2006/04/metadata","mondayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), mondayStartTime, mondayStartTime__is_set);
}
/**
* element : name of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean name__is_set = false;
private java.lang.String name;
public java.lang.String getName() {
return name;
}
public void setName(java.lang.String name) {
this.name = name;
name__is_set = true;
}
protected void setName(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("name", "http://soap.sforce.com/2006/04/metadata","name","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setName(__typeMapper.readString(__in, _lookupTypeInfo("name", "http://soap.sforce.com/2006/04/metadata","name","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("name", "http://soap.sforce.com/2006/04/metadata","name","http://www.w3.org/2001/XMLSchema","string",0,1,true), name, name__is_set);
}
/**
* element : saturdayEndTime of type {http://www.w3.org/2001/XMLSchema}time
* java type: com.sforce.ws.types.Time
*/
private boolean saturdayEndTime__is_set = false;
private com.sforce.ws.types.Time saturdayEndTime;
public com.sforce.ws.types.Time getSaturdayEndTime() {
return saturdayEndTime;
}
public void setSaturdayEndTime(com.sforce.ws.types.Time saturdayEndTime) {
this.saturdayEndTime = saturdayEndTime;
saturdayEndTime__is_set = true;
}
protected void setSaturdayEndTime(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("saturdayEndTime", "http://soap.sforce.com/2006/04/metadata","saturdayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true))) {
setSaturdayEndTime((com.sforce.ws.types.Time)__typeMapper.readObject(__in, _lookupTypeInfo("saturdayEndTime", "http://soap.sforce.com/2006/04/metadata","saturdayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), com.sforce.ws.types.Time.class));
}
}
private void writeFieldSaturdayEndTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("saturdayEndTime", "http://soap.sforce.com/2006/04/metadata","saturdayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), saturdayEndTime, saturdayEndTime__is_set);
}
/**
* element : saturdayStartTime of type {http://www.w3.org/2001/XMLSchema}time
* java type: com.sforce.ws.types.Time
*/
private boolean saturdayStartTime__is_set = false;
private com.sforce.ws.types.Time saturdayStartTime;
public com.sforce.ws.types.Time getSaturdayStartTime() {
return saturdayStartTime;
}
public void setSaturdayStartTime(com.sforce.ws.types.Time saturdayStartTime) {
this.saturdayStartTime = saturdayStartTime;
saturdayStartTime__is_set = true;
}
protected void setSaturdayStartTime(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("saturdayStartTime", "http://soap.sforce.com/2006/04/metadata","saturdayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true))) {
setSaturdayStartTime((com.sforce.ws.types.Time)__typeMapper.readObject(__in, _lookupTypeInfo("saturdayStartTime", "http://soap.sforce.com/2006/04/metadata","saturdayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), com.sforce.ws.types.Time.class));
}
}
private void writeFieldSaturdayStartTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("saturdayStartTime", "http://soap.sforce.com/2006/04/metadata","saturdayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), saturdayStartTime, saturdayStartTime__is_set);
}
/**
* element : sundayEndTime of type {http://www.w3.org/2001/XMLSchema}time
* java type: com.sforce.ws.types.Time
*/
private boolean sundayEndTime__is_set = false;
private com.sforce.ws.types.Time sundayEndTime;
public com.sforce.ws.types.Time getSundayEndTime() {
return sundayEndTime;
}
public void setSundayEndTime(com.sforce.ws.types.Time sundayEndTime) {
this.sundayEndTime = sundayEndTime;
sundayEndTime__is_set = true;
}
protected void setSundayEndTime(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("sundayEndTime", "http://soap.sforce.com/2006/04/metadata","sundayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true))) {
setSundayEndTime((com.sforce.ws.types.Time)__typeMapper.readObject(__in, _lookupTypeInfo("sundayEndTime", "http://soap.sforce.com/2006/04/metadata","sundayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), com.sforce.ws.types.Time.class));
}
}
private void writeFieldSundayEndTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("sundayEndTime", "http://soap.sforce.com/2006/04/metadata","sundayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), sundayEndTime, sundayEndTime__is_set);
}
/**
* element : sundayStartTime of type {http://www.w3.org/2001/XMLSchema}time
* java type: com.sforce.ws.types.Time
*/
private boolean sundayStartTime__is_set = false;
private com.sforce.ws.types.Time sundayStartTime;
public com.sforce.ws.types.Time getSundayStartTime() {
return sundayStartTime;
}
public void setSundayStartTime(com.sforce.ws.types.Time sundayStartTime) {
this.sundayStartTime = sundayStartTime;
sundayStartTime__is_set = true;
}
protected void setSundayStartTime(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("sundayStartTime", "http://soap.sforce.com/2006/04/metadata","sundayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true))) {
setSundayStartTime((com.sforce.ws.types.Time)__typeMapper.readObject(__in, _lookupTypeInfo("sundayStartTime", "http://soap.sforce.com/2006/04/metadata","sundayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), com.sforce.ws.types.Time.class));
}
}
private void writeFieldSundayStartTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("sundayStartTime", "http://soap.sforce.com/2006/04/metadata","sundayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), sundayStartTime, sundayStartTime__is_set);
}
/**
* element : thursdayEndTime of type {http://www.w3.org/2001/XMLSchema}time
* java type: com.sforce.ws.types.Time
*/
private boolean thursdayEndTime__is_set = false;
private com.sforce.ws.types.Time thursdayEndTime;
public com.sforce.ws.types.Time getThursdayEndTime() {
return thursdayEndTime;
}
public void setThursdayEndTime(com.sforce.ws.types.Time thursdayEndTime) {
this.thursdayEndTime = thursdayEndTime;
thursdayEndTime__is_set = true;
}
protected void setThursdayEndTime(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("thursdayEndTime", "http://soap.sforce.com/2006/04/metadata","thursdayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true))) {
setThursdayEndTime((com.sforce.ws.types.Time)__typeMapper.readObject(__in, _lookupTypeInfo("thursdayEndTime", "http://soap.sforce.com/2006/04/metadata","thursdayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), com.sforce.ws.types.Time.class));
}
}
private void writeFieldThursdayEndTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("thursdayEndTime", "http://soap.sforce.com/2006/04/metadata","thursdayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), thursdayEndTime, thursdayEndTime__is_set);
}
/**
* element : thursdayStartTime of type {http://www.w3.org/2001/XMLSchema}time
* java type: com.sforce.ws.types.Time
*/
private boolean thursdayStartTime__is_set = false;
private com.sforce.ws.types.Time thursdayStartTime;
public com.sforce.ws.types.Time getThursdayStartTime() {
return thursdayStartTime;
}
public void setThursdayStartTime(com.sforce.ws.types.Time thursdayStartTime) {
this.thursdayStartTime = thursdayStartTime;
thursdayStartTime__is_set = true;
}
protected void setThursdayStartTime(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("thursdayStartTime", "http://soap.sforce.com/2006/04/metadata","thursdayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true))) {
setThursdayStartTime((com.sforce.ws.types.Time)__typeMapper.readObject(__in, _lookupTypeInfo("thursdayStartTime", "http://soap.sforce.com/2006/04/metadata","thursdayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), com.sforce.ws.types.Time.class));
}
}
private void writeFieldThursdayStartTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("thursdayStartTime", "http://soap.sforce.com/2006/04/metadata","thursdayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), thursdayStartTime, thursdayStartTime__is_set);
}
/**
* element : timeZoneId of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean timeZoneId__is_set = false;
private java.lang.String timeZoneId;
public java.lang.String getTimeZoneId() {
return timeZoneId;
}
public void setTimeZoneId(java.lang.String timeZoneId) {
this.timeZoneId = timeZoneId;
timeZoneId__is_set = true;
}
protected void setTimeZoneId(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("timeZoneId", "http://soap.sforce.com/2006/04/metadata","timeZoneId","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setTimeZoneId(__typeMapper.readString(__in, _lookupTypeInfo("timeZoneId", "http://soap.sforce.com/2006/04/metadata","timeZoneId","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldTimeZoneId(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("timeZoneId", "http://soap.sforce.com/2006/04/metadata","timeZoneId","http://www.w3.org/2001/XMLSchema","string",0,1,true), timeZoneId, timeZoneId__is_set);
}
/**
* element : tuesdayEndTime of type {http://www.w3.org/2001/XMLSchema}time
* java type: com.sforce.ws.types.Time
*/
private boolean tuesdayEndTime__is_set = false;
private com.sforce.ws.types.Time tuesdayEndTime;
public com.sforce.ws.types.Time getTuesdayEndTime() {
return tuesdayEndTime;
}
public void setTuesdayEndTime(com.sforce.ws.types.Time tuesdayEndTime) {
this.tuesdayEndTime = tuesdayEndTime;
tuesdayEndTime__is_set = true;
}
protected void setTuesdayEndTime(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("tuesdayEndTime", "http://soap.sforce.com/2006/04/metadata","tuesdayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true))) {
setTuesdayEndTime((com.sforce.ws.types.Time)__typeMapper.readObject(__in, _lookupTypeInfo("tuesdayEndTime", "http://soap.sforce.com/2006/04/metadata","tuesdayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), com.sforce.ws.types.Time.class));
}
}
private void writeFieldTuesdayEndTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("tuesdayEndTime", "http://soap.sforce.com/2006/04/metadata","tuesdayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), tuesdayEndTime, tuesdayEndTime__is_set);
}
/**
* element : tuesdayStartTime of type {http://www.w3.org/2001/XMLSchema}time
* java type: com.sforce.ws.types.Time
*/
private boolean tuesdayStartTime__is_set = false;
private com.sforce.ws.types.Time tuesdayStartTime;
public com.sforce.ws.types.Time getTuesdayStartTime() {
return tuesdayStartTime;
}
public void setTuesdayStartTime(com.sforce.ws.types.Time tuesdayStartTime) {
this.tuesdayStartTime = tuesdayStartTime;
tuesdayStartTime__is_set = true;
}
protected void setTuesdayStartTime(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("tuesdayStartTime", "http://soap.sforce.com/2006/04/metadata","tuesdayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true))) {
setTuesdayStartTime((com.sforce.ws.types.Time)__typeMapper.readObject(__in, _lookupTypeInfo("tuesdayStartTime", "http://soap.sforce.com/2006/04/metadata","tuesdayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), com.sforce.ws.types.Time.class));
}
}
private void writeFieldTuesdayStartTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("tuesdayStartTime", "http://soap.sforce.com/2006/04/metadata","tuesdayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), tuesdayStartTime, tuesdayStartTime__is_set);
}
/**
* element : wednesdayEndTime of type {http://www.w3.org/2001/XMLSchema}time
* java type: com.sforce.ws.types.Time
*/
private boolean wednesdayEndTime__is_set = false;
private com.sforce.ws.types.Time wednesdayEndTime;
public com.sforce.ws.types.Time getWednesdayEndTime() {
return wednesdayEndTime;
}
public void setWednesdayEndTime(com.sforce.ws.types.Time wednesdayEndTime) {
this.wednesdayEndTime = wednesdayEndTime;
wednesdayEndTime__is_set = true;
}
protected void setWednesdayEndTime(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("wednesdayEndTime", "http://soap.sforce.com/2006/04/metadata","wednesdayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true))) {
setWednesdayEndTime((com.sforce.ws.types.Time)__typeMapper.readObject(__in, _lookupTypeInfo("wednesdayEndTime", "http://soap.sforce.com/2006/04/metadata","wednesdayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), com.sforce.ws.types.Time.class));
}
}
private void writeFieldWednesdayEndTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("wednesdayEndTime", "http://soap.sforce.com/2006/04/metadata","wednesdayEndTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), wednesdayEndTime, wednesdayEndTime__is_set);
}
/**
* element : wednesdayStartTime of type {http://www.w3.org/2001/XMLSchema}time
* java type: com.sforce.ws.types.Time
*/
private boolean wednesdayStartTime__is_set = false;
private com.sforce.ws.types.Time wednesdayStartTime;
public com.sforce.ws.types.Time getWednesdayStartTime() {
return wednesdayStartTime;
}
public void setWednesdayStartTime(com.sforce.ws.types.Time wednesdayStartTime) {
this.wednesdayStartTime = wednesdayStartTime;
wednesdayStartTime__is_set = true;
}
protected void setWednesdayStartTime(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("wednesdayStartTime", "http://soap.sforce.com/2006/04/metadata","wednesdayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true))) {
setWednesdayStartTime((com.sforce.ws.types.Time)__typeMapper.readObject(__in, _lookupTypeInfo("wednesdayStartTime", "http://soap.sforce.com/2006/04/metadata","wednesdayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), com.sforce.ws.types.Time.class));
}
}
private void writeFieldWednesdayStartTime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("wednesdayStartTime", "http://soap.sforce.com/2006/04/metadata","wednesdayStartTime","http://www.w3.org/2001/XMLSchema","time",0,1,true), wednesdayStartTime, wednesdayStartTime__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", "BusinessHoursEntry");
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("[BusinessHoursEntry ");
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 {
writeFieldActive(__out, __typeMapper);
writeFieldDefault(__out, __typeMapper);
writeFieldFridayEndTime(__out, __typeMapper);
writeFieldFridayStartTime(__out, __typeMapper);
writeFieldMondayEndTime(__out, __typeMapper);
writeFieldMondayStartTime(__out, __typeMapper);
writeFieldName(__out, __typeMapper);
writeFieldSaturdayEndTime(__out, __typeMapper);
writeFieldSaturdayStartTime(__out, __typeMapper);
writeFieldSundayEndTime(__out, __typeMapper);
writeFieldSundayStartTime(__out, __typeMapper);
writeFieldThursdayEndTime(__out, __typeMapper);
writeFieldThursdayStartTime(__out, __typeMapper);
writeFieldTimeZoneId(__out, __typeMapper);
writeFieldTuesdayEndTime(__out, __typeMapper);
writeFieldTuesdayStartTime(__out, __typeMapper);
writeFieldWednesdayEndTime(__out, __typeMapper);
writeFieldWednesdayStartTime(__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 {
setActive(__in, __typeMapper);
setDefault(__in, __typeMapper);
setFridayEndTime(__in, __typeMapper);
setFridayStartTime(__in, __typeMapper);
setMondayEndTime(__in, __typeMapper);
setMondayStartTime(__in, __typeMapper);
setName(__in, __typeMapper);
setSaturdayEndTime(__in, __typeMapper);
setSaturdayStartTime(__in, __typeMapper);
setSundayEndTime(__in, __typeMapper);
setSundayStartTime(__in, __typeMapper);
setThursdayEndTime(__in, __typeMapper);
setThursdayStartTime(__in, __typeMapper);
setTimeZoneId(__in, __typeMapper);
setTuesdayEndTime(__in, __typeMapper);
setTuesdayStartTime(__in, __typeMapper);
setWednesdayEndTime(__in, __typeMapper);
setWednesdayStartTime(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "active", active);
toStringHelper(sb, "_default", _default);
toStringHelper(sb, "fridayEndTime", fridayEndTime);
toStringHelper(sb, "fridayStartTime", fridayStartTime);
toStringHelper(sb, "mondayEndTime", mondayEndTime);
toStringHelper(sb, "mondayStartTime", mondayStartTime);
toStringHelper(sb, "name", name);
toStringHelper(sb, "saturdayEndTime", saturdayEndTime);
toStringHelper(sb, "saturdayStartTime", saturdayStartTime);
toStringHelper(sb, "sundayEndTime", sundayEndTime);
toStringHelper(sb, "sundayStartTime", sundayStartTime);
toStringHelper(sb, "thursdayEndTime", thursdayEndTime);
toStringHelper(sb, "thursdayStartTime", thursdayStartTime);
toStringHelper(sb, "timeZoneId", timeZoneId);
toStringHelper(sb, "tuesdayEndTime", tuesdayEndTime);
toStringHelper(sb, "tuesdayStartTime", tuesdayStartTime);
toStringHelper(sb, "wednesdayEndTime", wednesdayEndTime);
toStringHelper(sb, "wednesdayStartTime", wednesdayStartTime);
}
}