338 lines
16 KiB
Java
338 lines
16 KiB
Java
|
|
package com.sforce.soap.metadata;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* This is a generated class for the SObject Enterprise API.
|
||
|
|
* Do not edit this file, as your changes will be lost.
|
||
|
|
*/
|
||
|
|
public class DashboardComponentContent implements com.sforce.ws.bind.XMLizable {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Constructor
|
||
|
|
*/
|
||
|
|
public DashboardComponentContent() {}
|
||
|
|
|
||
|
|
/* 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 : additionalInfo of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean additionalInfo__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String additionalInfo;
|
||
|
|
|
||
|
|
public java.lang.String getAdditionalInfo() {
|
||
|
|
return additionalInfo;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setAdditionalInfo(java.lang.String additionalInfo) {
|
||
|
|
this.additionalInfo = additionalInfo;
|
||
|
|
additionalInfo__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setAdditionalInfo(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("additionalInfo", "http://soap.sforce.com/2006/04/metadata","additionalInfo","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setAdditionalInfo(__typeMapper.readString(__in, _lookupTypeInfo("additionalInfo", "http://soap.sforce.com/2006/04/metadata","additionalInfo","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldAdditionalInfo(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("additionalInfo", "http://soap.sforce.com/2006/04/metadata","additionalInfo","http://www.w3.org/2001/XMLSchema","string",0,1,true), additionalInfo, additionalInfo__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : altText of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean altText__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String altText;
|
||
|
|
|
||
|
|
public java.lang.String getAltText() {
|
||
|
|
return altText;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setAltText(java.lang.String altText) {
|
||
|
|
this.altText = altText;
|
||
|
|
altText__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setAltText(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("altText", "http://soap.sforce.com/2006/04/metadata","altText","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setAltText(__typeMapper.readString(__in, _lookupTypeInfo("altText", "http://soap.sforce.com/2006/04/metadata","altText","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldAltText(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("altText", "http://soap.sforce.com/2006/04/metadata","altText","http://www.w3.org/2001/XMLSchema","string",0,1,true), altText, altText__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : fileName of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean fileName__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String fileName;
|
||
|
|
|
||
|
|
public java.lang.String getFileName() {
|
||
|
|
return fileName;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setFileName(java.lang.String fileName) {
|
||
|
|
this.fileName = fileName;
|
||
|
|
fileName__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setFileName(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("fileName", "http://soap.sforce.com/2006/04/metadata","fileName","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setFileName(__typeMapper.readString(__in, _lookupTypeInfo("fileName", "http://soap.sforce.com/2006/04/metadata","fileName","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldFileName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("fileName", "http://soap.sforce.com/2006/04/metadata","fileName","http://www.w3.org/2001/XMLSchema","string",0,1,true), fileName, fileName__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : fit of type {http://soap.sforce.com/2006/04/metadata}Fit
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean fit__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String fit;
|
||
|
|
|
||
|
|
public java.lang.String getFit() {
|
||
|
|
return fit;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setFit(java.lang.String fit) {
|
||
|
|
this.fit = fit;
|
||
|
|
fit__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setFit(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("fit", "http://soap.sforce.com/2006/04/metadata","fit","http://soap.sforce.com/2006/04/metadata","Fit",0,1,true))) {
|
||
|
|
setFit(__typeMapper.readString(__in, _lookupTypeInfo("fit", "http://soap.sforce.com/2006/04/metadata","fit","http://soap.sforce.com/2006/04/metadata","Fit",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldFit(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("fit", "http://soap.sforce.com/2006/04/metadata","fit","http://soap.sforce.com/2006/04/metadata","Fit",0,1,true), fit, fit__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : horizontalAlignment of type {http://soap.sforce.com/2006/04/metadata}HorizontalAlignment
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean horizontalAlignment__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String horizontalAlignment;
|
||
|
|
|
||
|
|
public java.lang.String getHorizontalAlignment() {
|
||
|
|
return horizontalAlignment;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setHorizontalAlignment(java.lang.String horizontalAlignment) {
|
||
|
|
this.horizontalAlignment = horizontalAlignment;
|
||
|
|
horizontalAlignment__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setHorizontalAlignment(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("horizontalAlignment", "http://soap.sforce.com/2006/04/metadata","horizontalAlignment","http://soap.sforce.com/2006/04/metadata","HorizontalAlignment",0,1,true))) {
|
||
|
|
setHorizontalAlignment(__typeMapper.readString(__in, _lookupTypeInfo("horizontalAlignment", "http://soap.sforce.com/2006/04/metadata","horizontalAlignment","http://soap.sforce.com/2006/04/metadata","HorizontalAlignment",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldHorizontalAlignment(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("horizontalAlignment", "http://soap.sforce.com/2006/04/metadata","horizontalAlignment","http://soap.sforce.com/2006/04/metadata","HorizontalAlignment",0,1,true), horizontalAlignment, horizontalAlignment__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : richTextContent of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean richTextContent__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String richTextContent;
|
||
|
|
|
||
|
|
public java.lang.String getRichTextContent() {
|
||
|
|
return richTextContent;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setRichTextContent(java.lang.String richTextContent) {
|
||
|
|
this.richTextContent = richTextContent;
|
||
|
|
richTextContent__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setRichTextContent(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("richTextContent", "http://soap.sforce.com/2006/04/metadata","richTextContent","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setRichTextContent(__typeMapper.readString(__in, _lookupTypeInfo("richTextContent", "http://soap.sforce.com/2006/04/metadata","richTextContent","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldRichTextContent(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("richTextContent", "http://soap.sforce.com/2006/04/metadata","richTextContent","http://www.w3.org/2001/XMLSchema","string",0,1,true), richTextContent, richTextContent__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : tooltip of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean tooltip__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String tooltip;
|
||
|
|
|
||
|
|
public java.lang.String getTooltip() {
|
||
|
|
return tooltip;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setTooltip(java.lang.String tooltip) {
|
||
|
|
this.tooltip = tooltip;
|
||
|
|
tooltip__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setTooltip(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("tooltip", "http://soap.sforce.com/2006/04/metadata","tooltip","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setTooltip(__typeMapper.readString(__in, _lookupTypeInfo("tooltip", "http://soap.sforce.com/2006/04/metadata","tooltip","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldTooltip(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("tooltip", "http://soap.sforce.com/2006/04/metadata","tooltip","http://www.w3.org/2001/XMLSchema","string",0,1,true), tooltip, tooltip__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : verticalAlignment of type {http://soap.sforce.com/2006/04/metadata}VerticalAlignment
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean verticalAlignment__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String verticalAlignment;
|
||
|
|
|
||
|
|
public java.lang.String getVerticalAlignment() {
|
||
|
|
return verticalAlignment;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setVerticalAlignment(java.lang.String verticalAlignment) {
|
||
|
|
this.verticalAlignment = verticalAlignment;
|
||
|
|
verticalAlignment__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setVerticalAlignment(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("verticalAlignment", "http://soap.sforce.com/2006/04/metadata","verticalAlignment","http://soap.sforce.com/2006/04/metadata","VerticalAlignment",0,1,true))) {
|
||
|
|
setVerticalAlignment(__typeMapper.readString(__in, _lookupTypeInfo("verticalAlignment", "http://soap.sforce.com/2006/04/metadata","verticalAlignment","http://soap.sforce.com/2006/04/metadata","VerticalAlignment",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldVerticalAlignment(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("verticalAlignment", "http://soap.sforce.com/2006/04/metadata","verticalAlignment","http://soap.sforce.com/2006/04/metadata","VerticalAlignment",0,1,true), verticalAlignment, verticalAlignment__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());
|
||
|
|
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 {
|
||
|
|
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 {
|
||
|
|
loadFields1(__in, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public String toString() {
|
||
|
|
java.lang.StringBuilder sb = new java.lang.StringBuilder();
|
||
|
|
sb.append("[DashboardComponentContent ");
|
||
|
|
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 {
|
||
|
|
writeFieldAdditionalInfo(__out, __typeMapper);
|
||
|
|
writeFieldAltText(__out, __typeMapper);
|
||
|
|
writeFieldFileName(__out, __typeMapper);
|
||
|
|
writeFieldFit(__out, __typeMapper);
|
||
|
|
writeFieldHorizontalAlignment(__out, __typeMapper);
|
||
|
|
writeFieldRichTextContent(__out, __typeMapper);
|
||
|
|
writeFieldTooltip(__out, __typeMapper);
|
||
|
|
writeFieldVerticalAlignment(__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 {
|
||
|
|
setAdditionalInfo(__in, __typeMapper);
|
||
|
|
setAltText(__in, __typeMapper);
|
||
|
|
setFileName(__in, __typeMapper);
|
||
|
|
setFit(__in, __typeMapper);
|
||
|
|
setHorizontalAlignment(__in, __typeMapper);
|
||
|
|
setRichTextContent(__in, __typeMapper);
|
||
|
|
setTooltip(__in, __typeMapper);
|
||
|
|
setVerticalAlignment(__in, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
private void toString1(StringBuilder sb) {
|
||
|
|
toStringHelper(sb, "additionalInfo", additionalInfo);
|
||
|
|
toStringHelper(sb, "altText", altText);
|
||
|
|
toStringHelper(sb, "fileName", fileName);
|
||
|
|
toStringHelper(sb, "fit", fit);
|
||
|
|
toStringHelper(sb, "horizontalAlignment", horizontalAlignment);
|
||
|
|
toStringHelper(sb, "richTextContent", richTextContent);
|
||
|
|
toStringHelper(sb, "tooltip", tooltip);
|
||
|
|
toStringHelper(sb, "verticalAlignment", verticalAlignment);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|