474 lines
25 KiB
Java
474 lines
25 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 UIObjectRelationConfig extends com.sforce.soap.tooling.metadata.Metadata {
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public UIObjectRelationConfig() {}
|
|
|
|
/* 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 : UIObjectRelationFieldConfigs of type {urn:metadata.tooling.soap.sforce.com}UIObjectRelationFieldConfig
|
|
* java type: com.sforce.soap.tooling.metadata.UIObjectRelationFieldConfig[]
|
|
*/
|
|
private boolean UIObjectRelationFieldConfigs__is_set = false;
|
|
|
|
private com.sforce.soap.tooling.metadata.UIObjectRelationFieldConfig[] UIObjectRelationFieldConfigs = new com.sforce.soap.tooling.metadata.UIObjectRelationFieldConfig[0];
|
|
|
|
public com.sforce.soap.tooling.metadata.UIObjectRelationFieldConfig[] getUIObjectRelationFieldConfigs() {
|
|
return UIObjectRelationFieldConfigs;
|
|
}
|
|
|
|
public void setUIObjectRelationFieldConfigs(com.sforce.soap.tooling.metadata.UIObjectRelationFieldConfig[] UIObjectRelationFieldConfigs) {
|
|
this.UIObjectRelationFieldConfigs = UIObjectRelationFieldConfigs;
|
|
UIObjectRelationFieldConfigs__is_set = true;
|
|
}
|
|
|
|
protected void setUIObjectRelationFieldConfigs(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("UIObjectRelationFieldConfigs", "urn:metadata.tooling.soap.sforce.com","UIObjectRelationFieldConfigs","urn:metadata.tooling.soap.sforce.com","UIObjectRelationFieldConfig",0,-1,true))) {
|
|
setUIObjectRelationFieldConfigs((com.sforce.soap.tooling.metadata.UIObjectRelationFieldConfig[])__typeMapper.readObject(__in, _lookupTypeInfo("UIObjectRelationFieldConfigs", "urn:metadata.tooling.soap.sforce.com","UIObjectRelationFieldConfigs","urn:metadata.tooling.soap.sforce.com","UIObjectRelationFieldConfig",0,-1,true), com.sforce.soap.tooling.metadata.UIObjectRelationFieldConfig[].class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldUIObjectRelationFieldConfigs(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("UIObjectRelationFieldConfigs", "urn:metadata.tooling.soap.sforce.com","UIObjectRelationFieldConfigs","urn:metadata.tooling.soap.sforce.com","UIObjectRelationFieldConfig",0,-1,true), UIObjectRelationFieldConfigs, UIObjectRelationFieldConfigs__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : contextObject of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean contextObject__is_set = false;
|
|
|
|
private java.lang.String contextObject;
|
|
|
|
public java.lang.String getContextObject() {
|
|
return contextObject;
|
|
}
|
|
|
|
public void setContextObject(java.lang.String contextObject) {
|
|
this.contextObject = contextObject;
|
|
contextObject__is_set = true;
|
|
}
|
|
|
|
protected void setContextObject(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("contextObject", "urn:metadata.tooling.soap.sforce.com","contextObject","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
|
setContextObject(__typeMapper.readString(__in, _lookupTypeInfo("contextObject", "urn:metadata.tooling.soap.sforce.com","contextObject","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldContextObject(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("contextObject", "urn:metadata.tooling.soap.sforce.com","contextObject","http://www.w3.org/2001/XMLSchema","string",1,1,true), contextObject, contextObject__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : contextObjectRecordType of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean contextObjectRecordType__is_set = false;
|
|
|
|
private java.lang.String contextObjectRecordType;
|
|
|
|
public java.lang.String getContextObjectRecordType() {
|
|
return contextObjectRecordType;
|
|
}
|
|
|
|
public void setContextObjectRecordType(java.lang.String contextObjectRecordType) {
|
|
this.contextObjectRecordType = contextObjectRecordType;
|
|
contextObjectRecordType__is_set = true;
|
|
}
|
|
|
|
protected void setContextObjectRecordType(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("contextObjectRecordType", "urn:metadata.tooling.soap.sforce.com","contextObjectRecordType","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setContextObjectRecordType(__typeMapper.readString(__in, _lookupTypeInfo("contextObjectRecordType", "urn:metadata.tooling.soap.sforce.com","contextObjectRecordType","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldContextObjectRecordType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("contextObjectRecordType", "urn:metadata.tooling.soap.sforce.com","contextObjectRecordType","http://www.w3.org/2001/XMLSchema","string",0,1,true), contextObjectRecordType, contextObjectRecordType__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : directRelationshipField of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean directRelationshipField__is_set = false;
|
|
|
|
private java.lang.String directRelationshipField;
|
|
|
|
public java.lang.String getDirectRelationshipField() {
|
|
return directRelationshipField;
|
|
}
|
|
|
|
public void setDirectRelationshipField(java.lang.String directRelationshipField) {
|
|
this.directRelationshipField = directRelationshipField;
|
|
directRelationshipField__is_set = true;
|
|
}
|
|
|
|
protected void setDirectRelationshipField(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("directRelationshipField", "urn:metadata.tooling.soap.sforce.com","directRelationshipField","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setDirectRelationshipField(__typeMapper.readString(__in, _lookupTypeInfo("directRelationshipField", "urn:metadata.tooling.soap.sforce.com","directRelationshipField","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldDirectRelationshipField(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("directRelationshipField", "urn:metadata.tooling.soap.sforce.com","directRelationshipField","http://www.w3.org/2001/XMLSchema","string",0,1,true), directRelationshipField, directRelationshipField__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : indirectObjectContextField of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean indirectObjectContextField__is_set = false;
|
|
|
|
private java.lang.String indirectObjectContextField;
|
|
|
|
public java.lang.String getIndirectObjectContextField() {
|
|
return indirectObjectContextField;
|
|
}
|
|
|
|
public void setIndirectObjectContextField(java.lang.String indirectObjectContextField) {
|
|
this.indirectObjectContextField = indirectObjectContextField;
|
|
indirectObjectContextField__is_set = true;
|
|
}
|
|
|
|
protected void setIndirectObjectContextField(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("indirectObjectContextField", "urn:metadata.tooling.soap.sforce.com","indirectObjectContextField","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setIndirectObjectContextField(__typeMapper.readString(__in, _lookupTypeInfo("indirectObjectContextField", "urn:metadata.tooling.soap.sforce.com","indirectObjectContextField","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldIndirectObjectContextField(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("indirectObjectContextField", "urn:metadata.tooling.soap.sforce.com","indirectObjectContextField","http://www.w3.org/2001/XMLSchema","string",0,1,true), indirectObjectContextField, indirectObjectContextField__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : indirectObjectRelatedField of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean indirectObjectRelatedField__is_set = false;
|
|
|
|
private java.lang.String indirectObjectRelatedField;
|
|
|
|
public java.lang.String getIndirectObjectRelatedField() {
|
|
return indirectObjectRelatedField;
|
|
}
|
|
|
|
public void setIndirectObjectRelatedField(java.lang.String indirectObjectRelatedField) {
|
|
this.indirectObjectRelatedField = indirectObjectRelatedField;
|
|
indirectObjectRelatedField__is_set = true;
|
|
}
|
|
|
|
protected void setIndirectObjectRelatedField(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("indirectObjectRelatedField", "urn:metadata.tooling.soap.sforce.com","indirectObjectRelatedField","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setIndirectObjectRelatedField(__typeMapper.readString(__in, _lookupTypeInfo("indirectObjectRelatedField", "urn:metadata.tooling.soap.sforce.com","indirectObjectRelatedField","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldIndirectObjectRelatedField(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("indirectObjectRelatedField", "urn:metadata.tooling.soap.sforce.com","indirectObjectRelatedField","http://www.w3.org/2001/XMLSchema","string",0,1,true), indirectObjectRelatedField, indirectObjectRelatedField__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : indirectRelationshipObject of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean indirectRelationshipObject__is_set = false;
|
|
|
|
private java.lang.String indirectRelationshipObject;
|
|
|
|
public java.lang.String getIndirectRelationshipObject() {
|
|
return indirectRelationshipObject;
|
|
}
|
|
|
|
public void setIndirectRelationshipObject(java.lang.String indirectRelationshipObject) {
|
|
this.indirectRelationshipObject = indirectRelationshipObject;
|
|
indirectRelationshipObject__is_set = true;
|
|
}
|
|
|
|
protected void setIndirectRelationshipObject(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("indirectRelationshipObject", "urn:metadata.tooling.soap.sforce.com","indirectRelationshipObject","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setIndirectRelationshipObject(__typeMapper.readString(__in, _lookupTypeInfo("indirectRelationshipObject", "urn:metadata.tooling.soap.sforce.com","indirectRelationshipObject","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldIndirectRelationshipObject(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("indirectRelationshipObject", "urn:metadata.tooling.soap.sforce.com","indirectRelationshipObject","http://www.w3.org/2001/XMLSchema","string",0,1,true), indirectRelationshipObject, indirectRelationshipObject__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : isActive of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: boolean
|
|
*/
|
|
private boolean isActive__is_set = false;
|
|
|
|
private boolean isActive;
|
|
|
|
public boolean getIsActive() {
|
|
return isActive;
|
|
}
|
|
|
|
public boolean isIsActive() {
|
|
return isActive;
|
|
}
|
|
|
|
public void setIsActive(boolean isActive) {
|
|
this.isActive = isActive;
|
|
isActive__is_set = true;
|
|
}
|
|
|
|
protected void setIsActive(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("isActive", "urn:metadata.tooling.soap.sforce.com","isActive","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setIsActive(__typeMapper.readBoolean(__in, _lookupTypeInfo("isActive", "urn:metadata.tooling.soap.sforce.com","isActive","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldIsActive(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("isActive", "urn:metadata.tooling.soap.sforce.com","isActive","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isActive, isActive__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", "urn:metadata.tooling.soap.sforce.com","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
|
setMasterLabel(__typeMapper.readString(__in, _lookupTypeInfo("masterLabel", "urn:metadata.tooling.soap.sforce.com","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", "urn:metadata.tooling.soap.sforce.com","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true), masterLabel, masterLabel__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : relatedObject of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean relatedObject__is_set = false;
|
|
|
|
private java.lang.String relatedObject;
|
|
|
|
public java.lang.String getRelatedObject() {
|
|
return relatedObject;
|
|
}
|
|
|
|
public void setRelatedObject(java.lang.String relatedObject) {
|
|
this.relatedObject = relatedObject;
|
|
relatedObject__is_set = true;
|
|
}
|
|
|
|
protected void setRelatedObject(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("relatedObject", "urn:metadata.tooling.soap.sforce.com","relatedObject","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
|
|
setRelatedObject(__typeMapper.readString(__in, _lookupTypeInfo("relatedObject", "urn:metadata.tooling.soap.sforce.com","relatedObject","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldRelatedObject(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("relatedObject", "urn:metadata.tooling.soap.sforce.com","relatedObject","http://www.w3.org/2001/XMLSchema","string",1,1,true), relatedObject, relatedObject__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : relatedObjectRecordType of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean relatedObjectRecordType__is_set = false;
|
|
|
|
private java.lang.String relatedObjectRecordType;
|
|
|
|
public java.lang.String getRelatedObjectRecordType() {
|
|
return relatedObjectRecordType;
|
|
}
|
|
|
|
public void setRelatedObjectRecordType(java.lang.String relatedObjectRecordType) {
|
|
this.relatedObjectRecordType = relatedObjectRecordType;
|
|
relatedObjectRecordType__is_set = true;
|
|
}
|
|
|
|
protected void setRelatedObjectRecordType(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("relatedObjectRecordType", "urn:metadata.tooling.soap.sforce.com","relatedObjectRecordType","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setRelatedObjectRecordType(__typeMapper.readString(__in, _lookupTypeInfo("relatedObjectRecordType", "urn:metadata.tooling.soap.sforce.com","relatedObjectRecordType","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldRelatedObjectRecordType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("relatedObjectRecordType", "urn:metadata.tooling.soap.sforce.com","relatedObjectRecordType","http://www.w3.org/2001/XMLSchema","string",0,1,true), relatedObjectRecordType, relatedObjectRecordType__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : relationshipType of type {urn:tooling.soap.sforce.com}ObjectRelationshipType
|
|
* java type: com.sforce.soap.tooling.ObjectRelationshipType
|
|
*/
|
|
private boolean relationshipType__is_set = false;
|
|
|
|
private com.sforce.soap.tooling.ObjectRelationshipType relationshipType;
|
|
|
|
public com.sforce.soap.tooling.ObjectRelationshipType getRelationshipType() {
|
|
return relationshipType;
|
|
}
|
|
|
|
public void setRelationshipType(com.sforce.soap.tooling.ObjectRelationshipType relationshipType) {
|
|
this.relationshipType = relationshipType;
|
|
relationshipType__is_set = true;
|
|
}
|
|
|
|
protected void setRelationshipType(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("relationshipType", "urn:metadata.tooling.soap.sforce.com","relationshipType","urn:tooling.soap.sforce.com","ObjectRelationshipType",1,1,true))) {
|
|
setRelationshipType((com.sforce.soap.tooling.ObjectRelationshipType)__typeMapper.readObject(__in, _lookupTypeInfo("relationshipType", "urn:metadata.tooling.soap.sforce.com","relationshipType","urn:tooling.soap.sforce.com","ObjectRelationshipType",1,1,true), com.sforce.soap.tooling.ObjectRelationshipType.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldRelationshipType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("relationshipType", "urn:metadata.tooling.soap.sforce.com","relationshipType","urn:tooling.soap.sforce.com","ObjectRelationshipType",1,1,true), relationshipType, relationshipType__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", "UIObjectRelationConfig");
|
|
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("[UIObjectRelationConfig ");
|
|
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 {
|
|
writeFieldUIObjectRelationFieldConfigs(__out, __typeMapper);
|
|
writeFieldContextObject(__out, __typeMapper);
|
|
writeFieldContextObjectRecordType(__out, __typeMapper);
|
|
writeFieldDirectRelationshipField(__out, __typeMapper);
|
|
writeFieldIndirectObjectContextField(__out, __typeMapper);
|
|
writeFieldIndirectObjectRelatedField(__out, __typeMapper);
|
|
writeFieldIndirectRelationshipObject(__out, __typeMapper);
|
|
writeFieldIsActive(__out, __typeMapper);
|
|
writeFieldMasterLabel(__out, __typeMapper);
|
|
writeFieldRelatedObject(__out, __typeMapper);
|
|
writeFieldRelatedObjectRecordType(__out, __typeMapper);
|
|
writeFieldRelationshipType(__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 {
|
|
setUIObjectRelationFieldConfigs(__in, __typeMapper);
|
|
setContextObject(__in, __typeMapper);
|
|
setContextObjectRecordType(__in, __typeMapper);
|
|
setDirectRelationshipField(__in, __typeMapper);
|
|
setIndirectObjectContextField(__in, __typeMapper);
|
|
setIndirectObjectRelatedField(__in, __typeMapper);
|
|
setIndirectRelationshipObject(__in, __typeMapper);
|
|
setIsActive(__in, __typeMapper);
|
|
setMasterLabel(__in, __typeMapper);
|
|
setRelatedObject(__in, __typeMapper);
|
|
setRelatedObjectRecordType(__in, __typeMapper);
|
|
setRelationshipType(__in, __typeMapper);
|
|
}
|
|
|
|
private void toString1(StringBuilder sb) {
|
|
toStringHelper(sb, "UIObjectRelationFieldConfigs", UIObjectRelationFieldConfigs);
|
|
toStringHelper(sb, "contextObject", contextObject);
|
|
toStringHelper(sb, "contextObjectRecordType", contextObjectRecordType);
|
|
toStringHelper(sb, "directRelationshipField", directRelationshipField);
|
|
toStringHelper(sb, "indirectObjectContextField", indirectObjectContextField);
|
|
toStringHelper(sb, "indirectObjectRelatedField", indirectObjectRelatedField);
|
|
toStringHelper(sb, "indirectRelationshipObject", indirectRelationshipObject);
|
|
toStringHelper(sb, "isActive", isActive);
|
|
toStringHelper(sb, "masterLabel", masterLabel);
|
|
toStringHelper(sb, "relatedObject", relatedObject);
|
|
toStringHelper(sb, "relatedObjectRecordType", relatedObjectRecordType);
|
|
toStringHelper(sb, "relationshipType", relationshipType);
|
|
}
|
|
|
|
|
|
}
|