342 lines
16 KiB
Java
342 lines
16 KiB
Java
|
|
package com.sforce.soap.tooling.metadata;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* This is a generated class for the SObject Enterprise API.
|
||
|
|
* Do not edit this file, as your changes will be lost.
|
||
|
|
*/
|
||
|
|
public class FlowScheduledPath extends com.sforce.soap.tooling.metadata.FlowElement {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Constructor
|
||
|
|
*/
|
||
|
|
public FlowScheduledPath() {}
|
||
|
|
|
||
|
|
/* 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 : connector of type {urn:metadata.tooling.soap.sforce.com}FlowConnector
|
||
|
|
* java type: com.sforce.soap.tooling.metadata.FlowConnector
|
||
|
|
*/
|
||
|
|
private boolean connector__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.tooling.metadata.FlowConnector connector;
|
||
|
|
|
||
|
|
public com.sforce.soap.tooling.metadata.FlowConnector getConnector() {
|
||
|
|
return connector;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setConnector(com.sforce.soap.tooling.metadata.FlowConnector connector) {
|
||
|
|
this.connector = connector;
|
||
|
|
connector__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setConnector(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("connector", "urn:metadata.tooling.soap.sforce.com","connector","urn:metadata.tooling.soap.sforce.com","FlowConnector",0,1,true))) {
|
||
|
|
setConnector((com.sforce.soap.tooling.metadata.FlowConnector)__typeMapper.readObject(__in, _lookupTypeInfo("connector", "urn:metadata.tooling.soap.sforce.com","connector","urn:metadata.tooling.soap.sforce.com","FlowConnector",0,1,true), com.sforce.soap.tooling.metadata.FlowConnector.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldConnector(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("connector", "urn:metadata.tooling.soap.sforce.com","connector","urn:metadata.tooling.soap.sforce.com","FlowConnector",0,1,true), connector, connector__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : label of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean label__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String label;
|
||
|
|
|
||
|
|
public java.lang.String getLabel() {
|
||
|
|
return label;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setLabel(java.lang.String label) {
|
||
|
|
this.label = label;
|
||
|
|
label__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setLabel(com.sforce.ws.parser.XmlInputStream __in,
|
||
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
||
|
|
__in.peekTag();
|
||
|
|
if (__typeMapper.isElement(__in, _lookupTypeInfo("label", "urn:metadata.tooling.soap.sforce.com","label","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setLabel(__typeMapper.readString(__in, _lookupTypeInfo("label", "urn:metadata.tooling.soap.sforce.com","label","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldLabel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("label", "urn:metadata.tooling.soap.sforce.com","label","http://www.w3.org/2001/XMLSchema","string",0,1,true), label, label__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : maxBatchSize of type {http://www.w3.org/2001/XMLSchema}int
|
||
|
|
* java type: int
|
||
|
|
*/
|
||
|
|
private boolean maxBatchSize__is_set = false;
|
||
|
|
|
||
|
|
private int maxBatchSize;
|
||
|
|
|
||
|
|
public int getMaxBatchSize() {
|
||
|
|
return maxBatchSize;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setMaxBatchSize(int maxBatchSize) {
|
||
|
|
this.maxBatchSize = maxBatchSize;
|
||
|
|
maxBatchSize__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setMaxBatchSize(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("maxBatchSize", "urn:metadata.tooling.soap.sforce.com","maxBatchSize","http://www.w3.org/2001/XMLSchema","int",0,1,true))) {
|
||
|
|
setMaxBatchSize((int)__typeMapper.readInt(__in, _lookupTypeInfo("maxBatchSize", "urn:metadata.tooling.soap.sforce.com","maxBatchSize","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldMaxBatchSize(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("maxBatchSize", "urn:metadata.tooling.soap.sforce.com","maxBatchSize","http://www.w3.org/2001/XMLSchema","int",0,1,true), maxBatchSize, maxBatchSize__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : offsetNumber of type {http://www.w3.org/2001/XMLSchema}int
|
||
|
|
* java type: int
|
||
|
|
*/
|
||
|
|
private boolean offsetNumber__is_set = false;
|
||
|
|
|
||
|
|
private int offsetNumber;
|
||
|
|
|
||
|
|
public int getOffsetNumber() {
|
||
|
|
return offsetNumber;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setOffsetNumber(int offsetNumber) {
|
||
|
|
this.offsetNumber = offsetNumber;
|
||
|
|
offsetNumber__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setOffsetNumber(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("offsetNumber", "urn:metadata.tooling.soap.sforce.com","offsetNumber","http://www.w3.org/2001/XMLSchema","int",0,1,true))) {
|
||
|
|
setOffsetNumber((int)__typeMapper.readInt(__in, _lookupTypeInfo("offsetNumber", "urn:metadata.tooling.soap.sforce.com","offsetNumber","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldOffsetNumber(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("offsetNumber", "urn:metadata.tooling.soap.sforce.com","offsetNumber","http://www.w3.org/2001/XMLSchema","int",0,1,true), offsetNumber, offsetNumber__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : offsetUnit of type {urn:tooling.soap.sforce.com}FlowScheduledPathOffsetUnit
|
||
|
|
* java type: com.sforce.soap.tooling.FlowScheduledPathOffsetUnit
|
||
|
|
*/
|
||
|
|
private boolean offsetUnit__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.tooling.FlowScheduledPathOffsetUnit offsetUnit;
|
||
|
|
|
||
|
|
public com.sforce.soap.tooling.FlowScheduledPathOffsetUnit getOffsetUnit() {
|
||
|
|
return offsetUnit;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setOffsetUnit(com.sforce.soap.tooling.FlowScheduledPathOffsetUnit offsetUnit) {
|
||
|
|
this.offsetUnit = offsetUnit;
|
||
|
|
offsetUnit__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setOffsetUnit(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("offsetUnit", "urn:metadata.tooling.soap.sforce.com","offsetUnit","urn:tooling.soap.sforce.com","FlowScheduledPathOffsetUnit",0,1,true))) {
|
||
|
|
setOffsetUnit((com.sforce.soap.tooling.FlowScheduledPathOffsetUnit)__typeMapper.readObject(__in, _lookupTypeInfo("offsetUnit", "urn:metadata.tooling.soap.sforce.com","offsetUnit","urn:tooling.soap.sforce.com","FlowScheduledPathOffsetUnit",0,1,true), com.sforce.soap.tooling.FlowScheduledPathOffsetUnit.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldOffsetUnit(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("offsetUnit", "urn:metadata.tooling.soap.sforce.com","offsetUnit","urn:tooling.soap.sforce.com","FlowScheduledPathOffsetUnit",0,1,true), offsetUnit, offsetUnit__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : pathType of type {urn:tooling.soap.sforce.com}FlowScheduledPathType
|
||
|
|
* java type: com.sforce.soap.tooling.FlowScheduledPathType
|
||
|
|
*/
|
||
|
|
private boolean pathType__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.tooling.FlowScheduledPathType pathType;
|
||
|
|
|
||
|
|
public com.sforce.soap.tooling.FlowScheduledPathType getPathType() {
|
||
|
|
return pathType;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setPathType(com.sforce.soap.tooling.FlowScheduledPathType pathType) {
|
||
|
|
this.pathType = pathType;
|
||
|
|
pathType__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setPathType(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("pathType", "urn:metadata.tooling.soap.sforce.com","pathType","urn:tooling.soap.sforce.com","FlowScheduledPathType",0,1,true))) {
|
||
|
|
setPathType((com.sforce.soap.tooling.FlowScheduledPathType)__typeMapper.readObject(__in, _lookupTypeInfo("pathType", "urn:metadata.tooling.soap.sforce.com","pathType","urn:tooling.soap.sforce.com","FlowScheduledPathType",0,1,true), com.sforce.soap.tooling.FlowScheduledPathType.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldPathType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("pathType", "urn:metadata.tooling.soap.sforce.com","pathType","urn:tooling.soap.sforce.com","FlowScheduledPathType",0,1,true), pathType, pathType__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : recordField of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean recordField__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String recordField;
|
||
|
|
|
||
|
|
public java.lang.String getRecordField() {
|
||
|
|
return recordField;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setRecordField(java.lang.String recordField) {
|
||
|
|
this.recordField = recordField;
|
||
|
|
recordField__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setRecordField(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("recordField", "urn:metadata.tooling.soap.sforce.com","recordField","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setRecordField(__typeMapper.readString(__in, _lookupTypeInfo("recordField", "urn:metadata.tooling.soap.sforce.com","recordField","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldRecordField(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("recordField", "urn:metadata.tooling.soap.sforce.com","recordField","http://www.w3.org/2001/XMLSchema","string",0,1,true), recordField, recordField__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : timeSource of type {urn:tooling.soap.sforce.com}FlowScheduledPathTimeSource
|
||
|
|
* java type: com.sforce.soap.tooling.FlowScheduledPathTimeSource
|
||
|
|
*/
|
||
|
|
private boolean timeSource__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.tooling.FlowScheduledPathTimeSource timeSource;
|
||
|
|
|
||
|
|
public com.sforce.soap.tooling.FlowScheduledPathTimeSource getTimeSource() {
|
||
|
|
return timeSource;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setTimeSource(com.sforce.soap.tooling.FlowScheduledPathTimeSource timeSource) {
|
||
|
|
this.timeSource = timeSource;
|
||
|
|
timeSource__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setTimeSource(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("timeSource", "urn:metadata.tooling.soap.sforce.com","timeSource","urn:tooling.soap.sforce.com","FlowScheduledPathTimeSource",0,1,true))) {
|
||
|
|
setTimeSource((com.sforce.soap.tooling.FlowScheduledPathTimeSource)__typeMapper.readObject(__in, _lookupTypeInfo("timeSource", "urn:metadata.tooling.soap.sforce.com","timeSource","urn:tooling.soap.sforce.com","FlowScheduledPathTimeSource",0,1,true), com.sforce.soap.tooling.FlowScheduledPathTimeSource.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldTimeSource(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("timeSource", "urn:metadata.tooling.soap.sforce.com","timeSource","urn:tooling.soap.sforce.com","FlowScheduledPathTimeSource",0,1,true), timeSource, timeSource__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, "urn:metadata.tooling.soap.sforce.com", "FlowScheduledPath");
|
||
|
|
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("[FlowScheduledPath ");
|
||
|
|
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 {
|
||
|
|
writeFieldConnector(__out, __typeMapper);
|
||
|
|
writeFieldLabel(__out, __typeMapper);
|
||
|
|
writeFieldMaxBatchSize(__out, __typeMapper);
|
||
|
|
writeFieldOffsetNumber(__out, __typeMapper);
|
||
|
|
writeFieldOffsetUnit(__out, __typeMapper);
|
||
|
|
writeFieldPathType(__out, __typeMapper);
|
||
|
|
writeFieldRecordField(__out, __typeMapper);
|
||
|
|
writeFieldTimeSource(__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 {
|
||
|
|
setConnector(__in, __typeMapper);
|
||
|
|
setLabel(__in, __typeMapper);
|
||
|
|
setMaxBatchSize(__in, __typeMapper);
|
||
|
|
setOffsetNumber(__in, __typeMapper);
|
||
|
|
setOffsetUnit(__in, __typeMapper);
|
||
|
|
setPathType(__in, __typeMapper);
|
||
|
|
setRecordField(__in, __typeMapper);
|
||
|
|
setTimeSource(__in, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
private void toString1(StringBuilder sb) {
|
||
|
|
toStringHelper(sb, "connector", connector);
|
||
|
|
toStringHelper(sb, "label", label);
|
||
|
|
toStringHelper(sb, "maxBatchSize", maxBatchSize);
|
||
|
|
toStringHelper(sb, "offsetNumber", offsetNumber);
|
||
|
|
toStringHelper(sb, "offsetUnit", offsetUnit);
|
||
|
|
toStringHelper(sb, "pathType", pathType);
|
||
|
|
toStringHelper(sb, "recordField", recordField);
|
||
|
|
toStringHelper(sb, "timeSource", timeSource);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|