502 lines
25 KiB
Java
502 lines
25 KiB
Java
|
|
package com.sforce.soap.tooling.sobject;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* This is a generated class for the SObject Enterprise API.
|
||
|
|
* Do not edit this file, as your changes will be lost.
|
||
|
|
*/
|
||
|
|
public class SearchLayout extends com.sforce.soap.tooling.sobject.SObject {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Constructor
|
||
|
|
*/
|
||
|
|
public SearchLayout() {}
|
||
|
|
|
||
|
|
/* 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 : ButtonsDisplayed of type {urn:tooling.soap.sforce.com}SearchLayoutButtonsDisplayed
|
||
|
|
* java type: com.sforce.soap.tooling.SearchLayoutButtonsDisplayed
|
||
|
|
*/
|
||
|
|
private boolean ButtonsDisplayed__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.tooling.SearchLayoutButtonsDisplayed ButtonsDisplayed;
|
||
|
|
|
||
|
|
public com.sforce.soap.tooling.SearchLayoutButtonsDisplayed getButtonsDisplayed() {
|
||
|
|
return ButtonsDisplayed;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setButtonsDisplayed(com.sforce.soap.tooling.SearchLayoutButtonsDisplayed ButtonsDisplayed) {
|
||
|
|
this.ButtonsDisplayed = ButtonsDisplayed;
|
||
|
|
ButtonsDisplayed__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setButtonsDisplayed(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("ButtonsDisplayed", "urn:sobject.tooling.soap.sforce.com","ButtonsDisplayed","urn:tooling.soap.sforce.com","SearchLayoutButtonsDisplayed",0,1,true))) {
|
||
|
|
setButtonsDisplayed((com.sforce.soap.tooling.SearchLayoutButtonsDisplayed)__typeMapper.readObject(__in, _lookupTypeInfo("ButtonsDisplayed", "urn:sobject.tooling.soap.sforce.com","ButtonsDisplayed","urn:tooling.soap.sforce.com","SearchLayoutButtonsDisplayed",0,1,true), com.sforce.soap.tooling.SearchLayoutButtonsDisplayed.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldButtonsDisplayed(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("ButtonsDisplayed", "urn:sobject.tooling.soap.sforce.com","ButtonsDisplayed","urn:tooling.soap.sforce.com","SearchLayoutButtonsDisplayed",0,1,true), ButtonsDisplayed, ButtonsDisplayed__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : DurableId of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean DurableId__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String DurableId;
|
||
|
|
|
||
|
|
public java.lang.String getDurableId() {
|
||
|
|
return DurableId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setDurableId(java.lang.String DurableId) {
|
||
|
|
this.DurableId = DurableId;
|
||
|
|
DurableId__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setDurableId(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("DurableId", "urn:sobject.tooling.soap.sforce.com","DurableId","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setDurableId(__typeMapper.readString(__in, _lookupTypeInfo("DurableId", "urn:sobject.tooling.soap.sforce.com","DurableId","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldDurableId(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("DurableId", "urn:sobject.tooling.soap.sforce.com","DurableId","http://www.w3.org/2001/XMLSchema","string",0,1,true), DurableId, DurableId__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : EntityDefinition of type {urn:sobject.tooling.soap.sforce.com}EntityDefinition
|
||
|
|
* java type: com.sforce.soap.tooling.sobject.EntityDefinition
|
||
|
|
*/
|
||
|
|
private boolean EntityDefinition__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.tooling.sobject.EntityDefinition EntityDefinition;
|
||
|
|
|
||
|
|
public com.sforce.soap.tooling.sobject.EntityDefinition getEntityDefinition() {
|
||
|
|
return EntityDefinition;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEntityDefinition(com.sforce.soap.tooling.sobject.EntityDefinition EntityDefinition) {
|
||
|
|
this.EntityDefinition = EntityDefinition;
|
||
|
|
EntityDefinition__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setEntityDefinition(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("EntityDefinition", "urn:sobject.tooling.soap.sforce.com","EntityDefinition","urn:sobject.tooling.soap.sforce.com","EntityDefinition",0,1,true))) {
|
||
|
|
setEntityDefinition((com.sforce.soap.tooling.sobject.EntityDefinition)__typeMapper.readObject(__in, _lookupTypeInfo("EntityDefinition", "urn:sobject.tooling.soap.sforce.com","EntityDefinition","urn:sobject.tooling.soap.sforce.com","EntityDefinition",0,1,true), com.sforce.soap.tooling.sobject.EntityDefinition.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldEntityDefinition(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("EntityDefinition", "urn:sobject.tooling.soap.sforce.com","EntityDefinition","urn:sobject.tooling.soap.sforce.com","EntityDefinition",0,1,true), EntityDefinition, EntityDefinition__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : EntityDefinitionId of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean EntityDefinitionId__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String EntityDefinitionId;
|
||
|
|
|
||
|
|
public java.lang.String getEntityDefinitionId() {
|
||
|
|
return EntityDefinitionId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEntityDefinitionId(java.lang.String EntityDefinitionId) {
|
||
|
|
this.EntityDefinitionId = EntityDefinitionId;
|
||
|
|
EntityDefinitionId__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setEntityDefinitionId(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("EntityDefinitionId", "urn:sobject.tooling.soap.sforce.com","EntityDefinitionId","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setEntityDefinitionId(__typeMapper.readString(__in, _lookupTypeInfo("EntityDefinitionId", "urn:sobject.tooling.soap.sforce.com","EntityDefinitionId","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldEntityDefinitionId(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("EntityDefinitionId", "urn:sobject.tooling.soap.sforce.com","EntityDefinitionId","http://www.w3.org/2001/XMLSchema","string",0,1,true), EntityDefinitionId, EntityDefinitionId__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : FieldsDisplayed of type {urn:tooling.soap.sforce.com}SearchLayoutFieldsDisplayed
|
||
|
|
* java type: com.sforce.soap.tooling.SearchLayoutFieldsDisplayed
|
||
|
|
*/
|
||
|
|
private boolean FieldsDisplayed__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.tooling.SearchLayoutFieldsDisplayed FieldsDisplayed;
|
||
|
|
|
||
|
|
public com.sforce.soap.tooling.SearchLayoutFieldsDisplayed getFieldsDisplayed() {
|
||
|
|
return FieldsDisplayed;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setFieldsDisplayed(com.sforce.soap.tooling.SearchLayoutFieldsDisplayed FieldsDisplayed) {
|
||
|
|
this.FieldsDisplayed = FieldsDisplayed;
|
||
|
|
FieldsDisplayed__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setFieldsDisplayed(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("FieldsDisplayed", "urn:sobject.tooling.soap.sforce.com","FieldsDisplayed","urn:tooling.soap.sforce.com","SearchLayoutFieldsDisplayed",0,1,true))) {
|
||
|
|
setFieldsDisplayed((com.sforce.soap.tooling.SearchLayoutFieldsDisplayed)__typeMapper.readObject(__in, _lookupTypeInfo("FieldsDisplayed", "urn:sobject.tooling.soap.sforce.com","FieldsDisplayed","urn:tooling.soap.sforce.com","SearchLayoutFieldsDisplayed",0,1,true), com.sforce.soap.tooling.SearchLayoutFieldsDisplayed.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldFieldsDisplayed(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("FieldsDisplayed", "urn:sobject.tooling.soap.sforce.com","FieldsDisplayed","urn:tooling.soap.sforce.com","SearchLayoutFieldsDisplayed",0,1,true), FieldsDisplayed, FieldsDisplayed__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:sobject.tooling.soap.sforce.com","Label","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setLabel(__typeMapper.readString(__in, _lookupTypeInfo("Label", "urn:sobject.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:sobject.tooling.soap.sforce.com","Label","http://www.w3.org/2001/XMLSchema","string",0,1,true), Label, Label__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : LastModifiedBy of type {urn:sobject.tooling.soap.sforce.com}User
|
||
|
|
* java type: com.sforce.soap.tooling.sobject.User
|
||
|
|
*/
|
||
|
|
private boolean LastModifiedBy__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.tooling.sobject.User LastModifiedBy;
|
||
|
|
|
||
|
|
public com.sforce.soap.tooling.sobject.User getLastModifiedBy() {
|
||
|
|
return LastModifiedBy;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setLastModifiedBy(com.sforce.soap.tooling.sobject.User LastModifiedBy) {
|
||
|
|
this.LastModifiedBy = LastModifiedBy;
|
||
|
|
LastModifiedBy__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setLastModifiedBy(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("LastModifiedBy", "urn:sobject.tooling.soap.sforce.com","LastModifiedBy","urn:sobject.tooling.soap.sforce.com","User",0,1,true))) {
|
||
|
|
setLastModifiedBy((com.sforce.soap.tooling.sobject.User)__typeMapper.readObject(__in, _lookupTypeInfo("LastModifiedBy", "urn:sobject.tooling.soap.sforce.com","LastModifiedBy","urn:sobject.tooling.soap.sforce.com","User",0,1,true), com.sforce.soap.tooling.sobject.User.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldLastModifiedBy(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("LastModifiedBy", "urn:sobject.tooling.soap.sforce.com","LastModifiedBy","urn:sobject.tooling.soap.sforce.com","User",0,1,true), LastModifiedBy, LastModifiedBy__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : LastModifiedById of type {urn:tooling.soap.sforce.com}ID
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean LastModifiedById__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String LastModifiedById;
|
||
|
|
|
||
|
|
public java.lang.String getLastModifiedById() {
|
||
|
|
return LastModifiedById;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setLastModifiedById(java.lang.String LastModifiedById) {
|
||
|
|
this.LastModifiedById = LastModifiedById;
|
||
|
|
LastModifiedById__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setLastModifiedById(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("LastModifiedById", "urn:sobject.tooling.soap.sforce.com","LastModifiedById","urn:tooling.soap.sforce.com","ID",0,1,true))) {
|
||
|
|
setLastModifiedById(__typeMapper.readString(__in, _lookupTypeInfo("LastModifiedById", "urn:sobject.tooling.soap.sforce.com","LastModifiedById","urn:tooling.soap.sforce.com","ID",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldLastModifiedById(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("LastModifiedById", "urn:sobject.tooling.soap.sforce.com","LastModifiedById","urn:tooling.soap.sforce.com","ID",0,1,true), LastModifiedById, LastModifiedById__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : LastModifiedDate of type {http://www.w3.org/2001/XMLSchema}dateTime
|
||
|
|
* java type: java.util.Calendar
|
||
|
|
*/
|
||
|
|
private boolean LastModifiedDate__is_set = false;
|
||
|
|
|
||
|
|
private java.util.Calendar LastModifiedDate;
|
||
|
|
|
||
|
|
public java.util.Calendar getLastModifiedDate() {
|
||
|
|
return LastModifiedDate;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setLastModifiedDate(java.util.Calendar LastModifiedDate) {
|
||
|
|
this.LastModifiedDate = LastModifiedDate;
|
||
|
|
LastModifiedDate__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setLastModifiedDate(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("LastModifiedDate", "urn:sobject.tooling.soap.sforce.com","LastModifiedDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true))) {
|
||
|
|
setLastModifiedDate((java.util.Calendar)__typeMapper.readObject(__in, _lookupTypeInfo("LastModifiedDate", "urn:sobject.tooling.soap.sforce.com","LastModifiedDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true), java.util.Calendar.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldLastModifiedDate(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("LastModifiedDate", "urn:sobject.tooling.soap.sforce.com","LastModifiedDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true), LastModifiedDate, LastModifiedDate__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : LayoutType of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean LayoutType__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String LayoutType;
|
||
|
|
|
||
|
|
public java.lang.String getLayoutType() {
|
||
|
|
return LayoutType;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setLayoutType(java.lang.String LayoutType) {
|
||
|
|
this.LayoutType = LayoutType;
|
||
|
|
LayoutType__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setLayoutType(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("LayoutType", "urn:sobject.tooling.soap.sforce.com","LayoutType","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setLayoutType(__typeMapper.readString(__in, _lookupTypeInfo("LayoutType", "urn:sobject.tooling.soap.sforce.com","LayoutType","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldLayoutType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("LayoutType", "urn:sobject.tooling.soap.sforce.com","LayoutType","http://www.w3.org/2001/XMLSchema","string",0,1,true), LayoutType, LayoutType__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : ListLayout of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean ListLayout__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String ListLayout;
|
||
|
|
|
||
|
|
public java.lang.String getListLayout() {
|
||
|
|
return ListLayout;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setListLayout(java.lang.String ListLayout) {
|
||
|
|
this.ListLayout = ListLayout;
|
||
|
|
ListLayout__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setListLayout(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("ListLayout", "urn:sobject.tooling.soap.sforce.com","ListLayout","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setListLayout(__typeMapper.readString(__in, _lookupTypeInfo("ListLayout", "urn:sobject.tooling.soap.sforce.com","ListLayout","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldListLayout(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("ListLayout", "urn:sobject.tooling.soap.sforce.com","ListLayout","http://www.w3.org/2001/XMLSchema","string",0,1,true), ListLayout, ListLayout__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : Profile of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean Profile__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String Profile;
|
||
|
|
|
||
|
|
public java.lang.String getProfile() {
|
||
|
|
return Profile;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setProfile(java.lang.String Profile) {
|
||
|
|
this.Profile = Profile;
|
||
|
|
Profile__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setProfile(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("Profile", "urn:sobject.tooling.soap.sforce.com","Profile","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setProfile(__typeMapper.readString(__in, _lookupTypeInfo("Profile", "urn:sobject.tooling.soap.sforce.com","Profile","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldProfile(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("Profile", "urn:sobject.tooling.soap.sforce.com","Profile","http://www.w3.org/2001/XMLSchema","string",0,1,true), Profile, Profile__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : ProfileName of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean ProfileName__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String ProfileName;
|
||
|
|
|
||
|
|
public java.lang.String getProfileName() {
|
||
|
|
return ProfileName;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setProfileName(java.lang.String ProfileName) {
|
||
|
|
this.ProfileName = ProfileName;
|
||
|
|
ProfileName__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setProfileName(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("ProfileName", "urn:sobject.tooling.soap.sforce.com","ProfileName","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setProfileName(__typeMapper.readString(__in, _lookupTypeInfo("ProfileName", "urn:sobject.tooling.soap.sforce.com","ProfileName","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldProfileName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("ProfileName", "urn:sobject.tooling.soap.sforce.com","ProfileName","http://www.w3.org/2001/XMLSchema","string",0,1,true), ProfileName, ProfileName__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:sobject.tooling.soap.sforce.com", "SearchLayout");
|
||
|
|
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("[SearchLayout ");
|
||
|
|
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 {
|
||
|
|
writeFieldButtonsDisplayed(__out, __typeMapper);
|
||
|
|
writeFieldDurableId(__out, __typeMapper);
|
||
|
|
writeFieldEntityDefinition(__out, __typeMapper);
|
||
|
|
writeFieldEntityDefinitionId(__out, __typeMapper);
|
||
|
|
writeFieldFieldsDisplayed(__out, __typeMapper);
|
||
|
|
writeFieldLabel(__out, __typeMapper);
|
||
|
|
writeFieldLastModifiedBy(__out, __typeMapper);
|
||
|
|
writeFieldLastModifiedById(__out, __typeMapper);
|
||
|
|
writeFieldLastModifiedDate(__out, __typeMapper);
|
||
|
|
writeFieldLayoutType(__out, __typeMapper);
|
||
|
|
writeFieldListLayout(__out, __typeMapper);
|
||
|
|
writeFieldProfile(__out, __typeMapper);
|
||
|
|
writeFieldProfileName(__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 {
|
||
|
|
setButtonsDisplayed(__in, __typeMapper);
|
||
|
|
setDurableId(__in, __typeMapper);
|
||
|
|
setEntityDefinition(__in, __typeMapper);
|
||
|
|
setEntityDefinitionId(__in, __typeMapper);
|
||
|
|
setFieldsDisplayed(__in, __typeMapper);
|
||
|
|
setLabel(__in, __typeMapper);
|
||
|
|
setLastModifiedBy(__in, __typeMapper);
|
||
|
|
setLastModifiedById(__in, __typeMapper);
|
||
|
|
setLastModifiedDate(__in, __typeMapper);
|
||
|
|
setLayoutType(__in, __typeMapper);
|
||
|
|
setListLayout(__in, __typeMapper);
|
||
|
|
setProfile(__in, __typeMapper);
|
||
|
|
setProfileName(__in, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
private void toString1(StringBuilder sb) {
|
||
|
|
toStringHelper(sb, "ButtonsDisplayed", ButtonsDisplayed);
|
||
|
|
toStringHelper(sb, "DurableId", DurableId);
|
||
|
|
toStringHelper(sb, "EntityDefinition", EntityDefinition);
|
||
|
|
toStringHelper(sb, "EntityDefinitionId", EntityDefinitionId);
|
||
|
|
toStringHelper(sb, "FieldsDisplayed", FieldsDisplayed);
|
||
|
|
toStringHelper(sb, "Label", Label);
|
||
|
|
toStringHelper(sb, "LastModifiedBy", LastModifiedBy);
|
||
|
|
toStringHelper(sb, "LastModifiedById", LastModifiedById);
|
||
|
|
toStringHelper(sb, "LastModifiedDate", LastModifiedDate);
|
||
|
|
toStringHelper(sb, "LayoutType", LayoutType);
|
||
|
|
toStringHelper(sb, "ListLayout", ListLayout);
|
||
|
|
toStringHelper(sb, "Profile", Profile);
|
||
|
|
toStringHelper(sb, "ProfileName", ProfileName);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|