All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sforce.soap.metadata.ReportChart Maven / Gradle / Ivy

There is a newer version: 62.0.0
Show newest version
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 ReportChart implements com.sforce.ws.bind.XMLizable {

    /**
     * Constructor
     */
    public ReportChart() {}

    /* 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 : backgroundColor1 of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean backgroundColor1__is_set = false;

    private java.lang.String backgroundColor1;

    public java.lang.String getBackgroundColor1() {
      return backgroundColor1;
    }

    public void setBackgroundColor1(java.lang.String backgroundColor1) {
      this.backgroundColor1 = backgroundColor1;
      backgroundColor1__is_set = true;
    }

    protected void setBackgroundColor1(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("backgroundColor1", "http://soap.sforce.com/2006/04/metadata","backgroundColor1","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setBackgroundColor1(__typeMapper.readString(__in, _lookupTypeInfo("backgroundColor1", "http://soap.sforce.com/2006/04/metadata","backgroundColor1","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
      }
    }

    private void writeFieldBackgroundColor1(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("backgroundColor1", "http://soap.sforce.com/2006/04/metadata","backgroundColor1","http://www.w3.org/2001/XMLSchema","string",0,1,true), backgroundColor1, backgroundColor1__is_set);
    }

    /**
     * element : backgroundColor2 of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean backgroundColor2__is_set = false;

    private java.lang.String backgroundColor2;

    public java.lang.String getBackgroundColor2() {
      return backgroundColor2;
    }

    public void setBackgroundColor2(java.lang.String backgroundColor2) {
      this.backgroundColor2 = backgroundColor2;
      backgroundColor2__is_set = true;
    }

    protected void setBackgroundColor2(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("backgroundColor2", "http://soap.sforce.com/2006/04/metadata","backgroundColor2","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setBackgroundColor2(__typeMapper.readString(__in, _lookupTypeInfo("backgroundColor2", "http://soap.sforce.com/2006/04/metadata","backgroundColor2","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
      }
    }

    private void writeFieldBackgroundColor2(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("backgroundColor2", "http://soap.sforce.com/2006/04/metadata","backgroundColor2","http://www.w3.org/2001/XMLSchema","string",0,1,true), backgroundColor2, backgroundColor2__is_set);
    }

    /**
     * element : backgroundFadeDir of type {http://soap.sforce.com/2006/04/metadata}ChartBackgroundDirection
     * java type: com.sforce.soap.metadata.ChartBackgroundDirection
     */
    private boolean backgroundFadeDir__is_set = false;

    private com.sforce.soap.metadata.ChartBackgroundDirection backgroundFadeDir;

    public com.sforce.soap.metadata.ChartBackgroundDirection getBackgroundFadeDir() {
      return backgroundFadeDir;
    }

    public void setBackgroundFadeDir(com.sforce.soap.metadata.ChartBackgroundDirection backgroundFadeDir) {
      this.backgroundFadeDir = backgroundFadeDir;
      backgroundFadeDir__is_set = true;
    }

    protected void setBackgroundFadeDir(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("backgroundFadeDir", "http://soap.sforce.com/2006/04/metadata","backgroundFadeDir","http://soap.sforce.com/2006/04/metadata","ChartBackgroundDirection",0,1,true))) {
        setBackgroundFadeDir((com.sforce.soap.metadata.ChartBackgroundDirection)__typeMapper.readObject(__in, _lookupTypeInfo("backgroundFadeDir", "http://soap.sforce.com/2006/04/metadata","backgroundFadeDir","http://soap.sforce.com/2006/04/metadata","ChartBackgroundDirection",0,1,true), com.sforce.soap.metadata.ChartBackgroundDirection.class));
      }
    }

    private void writeFieldBackgroundFadeDir(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("backgroundFadeDir", "http://soap.sforce.com/2006/04/metadata","backgroundFadeDir","http://soap.sforce.com/2006/04/metadata","ChartBackgroundDirection",0,1,true), backgroundFadeDir, backgroundFadeDir__is_set);
    }

    /**
     * element : chartSummaries of type {http://soap.sforce.com/2006/04/metadata}ChartSummary
     * java type: com.sforce.soap.metadata.ChartSummary[]
     */
    private boolean chartSummaries__is_set = false;

    private com.sforce.soap.metadata.ChartSummary[] chartSummaries = new com.sforce.soap.metadata.ChartSummary[0];

    public com.sforce.soap.metadata.ChartSummary[] getChartSummaries() {
      return chartSummaries;
    }

    public void setChartSummaries(com.sforce.soap.metadata.ChartSummary[] chartSummaries) {
      this.chartSummaries = chartSummaries;
      chartSummaries__is_set = true;
    }

    protected void setChartSummaries(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("chartSummaries", "http://soap.sforce.com/2006/04/metadata","chartSummaries","http://soap.sforce.com/2006/04/metadata","ChartSummary",0,-1,true))) {
        setChartSummaries((com.sforce.soap.metadata.ChartSummary[])__typeMapper.readObject(__in, _lookupTypeInfo("chartSummaries", "http://soap.sforce.com/2006/04/metadata","chartSummaries","http://soap.sforce.com/2006/04/metadata","ChartSummary",0,-1,true), com.sforce.soap.metadata.ChartSummary[].class));
      }
    }

    private void writeFieldChartSummaries(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("chartSummaries", "http://soap.sforce.com/2006/04/metadata","chartSummaries","http://soap.sforce.com/2006/04/metadata","ChartSummary",0,-1,true), chartSummaries, chartSummaries__is_set);
    }

    /**
     * element : chartType of type {http://soap.sforce.com/2006/04/metadata}ChartType
     * java type: com.sforce.soap.metadata.ChartType
     */
    private boolean chartType__is_set = false;

    private com.sforce.soap.metadata.ChartType chartType;

    public com.sforce.soap.metadata.ChartType getChartType() {
      return chartType;
    }

    public void setChartType(com.sforce.soap.metadata.ChartType chartType) {
      this.chartType = chartType;
      chartType__is_set = true;
    }

    protected void setChartType(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("chartType", "http://soap.sforce.com/2006/04/metadata","chartType","http://soap.sforce.com/2006/04/metadata","ChartType",1,1,true))) {
        setChartType((com.sforce.soap.metadata.ChartType)__typeMapper.readObject(__in, _lookupTypeInfo("chartType", "http://soap.sforce.com/2006/04/metadata","chartType","http://soap.sforce.com/2006/04/metadata","ChartType",1,1,true), com.sforce.soap.metadata.ChartType.class));
      }
    }

    private void writeFieldChartType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("chartType", "http://soap.sforce.com/2006/04/metadata","chartType","http://soap.sforce.com/2006/04/metadata","ChartType",1,1,true), chartType, chartType__is_set);
    }

    /**
     * element : enableHoverLabels of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean enableHoverLabels__is_set = false;

    private boolean enableHoverLabels;

    public boolean getEnableHoverLabels() {
      return enableHoverLabels;
    }

    public boolean isEnableHoverLabels() {
      return enableHoverLabels;
    }

    public void setEnableHoverLabels(boolean enableHoverLabels) {
      this.enableHoverLabels = enableHoverLabels;
      enableHoverLabels__is_set = true;
    }

    protected void setEnableHoverLabels(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("enableHoverLabels", "http://soap.sforce.com/2006/04/metadata","enableHoverLabels","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
        setEnableHoverLabels(__typeMapper.readBoolean(__in, _lookupTypeInfo("enableHoverLabels", "http://soap.sforce.com/2006/04/metadata","enableHoverLabels","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
      }
    }

    private void writeFieldEnableHoverLabels(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("enableHoverLabels", "http://soap.sforce.com/2006/04/metadata","enableHoverLabels","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), enableHoverLabels, enableHoverLabels__is_set);
    }

    /**
     * element : expandOthers of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean expandOthers__is_set = false;

    private boolean expandOthers;

    public boolean getExpandOthers() {
      return expandOthers;
    }

    public boolean isExpandOthers() {
      return expandOthers;
    }

    public void setExpandOthers(boolean expandOthers) {
      this.expandOthers = expandOthers;
      expandOthers__is_set = true;
    }

    protected void setExpandOthers(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("expandOthers", "http://soap.sforce.com/2006/04/metadata","expandOthers","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
        setExpandOthers(__typeMapper.readBoolean(__in, _lookupTypeInfo("expandOthers", "http://soap.sforce.com/2006/04/metadata","expandOthers","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
      }
    }

    private void writeFieldExpandOthers(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("expandOthers", "http://soap.sforce.com/2006/04/metadata","expandOthers","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), expandOthers, expandOthers__is_set);
    }

    /**
     * element : groupingColumn of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean groupingColumn__is_set = false;

    private java.lang.String groupingColumn;

    public java.lang.String getGroupingColumn() {
      return groupingColumn;
    }

    public void setGroupingColumn(java.lang.String groupingColumn) {
      this.groupingColumn = groupingColumn;
      groupingColumn__is_set = true;
    }

    protected void setGroupingColumn(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("groupingColumn", "http://soap.sforce.com/2006/04/metadata","groupingColumn","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setGroupingColumn(__typeMapper.readString(__in, _lookupTypeInfo("groupingColumn", "http://soap.sforce.com/2006/04/metadata","groupingColumn","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
      }
    }

    private void writeFieldGroupingColumn(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("groupingColumn", "http://soap.sforce.com/2006/04/metadata","groupingColumn","http://www.w3.org/2001/XMLSchema","string",0,1,true), groupingColumn, groupingColumn__is_set);
    }

    /**
     * element : legendPosition of type {http://soap.sforce.com/2006/04/metadata}ChartLegendPosition
     * java type: com.sforce.soap.metadata.ChartLegendPosition
     */
    private boolean legendPosition__is_set = false;

    private com.sforce.soap.metadata.ChartLegendPosition legendPosition;

    public com.sforce.soap.metadata.ChartLegendPosition getLegendPosition() {
      return legendPosition;
    }

    public void setLegendPosition(com.sforce.soap.metadata.ChartLegendPosition legendPosition) {
      this.legendPosition = legendPosition;
      legendPosition__is_set = true;
    }

    protected void setLegendPosition(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("legendPosition", "http://soap.sforce.com/2006/04/metadata","legendPosition","http://soap.sforce.com/2006/04/metadata","ChartLegendPosition",0,1,true))) {
        setLegendPosition((com.sforce.soap.metadata.ChartLegendPosition)__typeMapper.readObject(__in, _lookupTypeInfo("legendPosition", "http://soap.sforce.com/2006/04/metadata","legendPosition","http://soap.sforce.com/2006/04/metadata","ChartLegendPosition",0,1,true), com.sforce.soap.metadata.ChartLegendPosition.class));
      }
    }

    private void writeFieldLegendPosition(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("legendPosition", "http://soap.sforce.com/2006/04/metadata","legendPosition","http://soap.sforce.com/2006/04/metadata","ChartLegendPosition",0,1,true), legendPosition, legendPosition__is_set);
    }

    /**
     * element : location of type {http://soap.sforce.com/2006/04/metadata}ChartPosition
     * java type: com.sforce.soap.metadata.ChartPosition
     */
    private boolean location__is_set = false;

    private com.sforce.soap.metadata.ChartPosition location;

    public com.sforce.soap.metadata.ChartPosition getLocation() {
      return location;
    }

    public void setLocation(com.sforce.soap.metadata.ChartPosition location) {
      this.location = location;
      location__is_set = true;
    }

    protected void setLocation(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("location", "http://soap.sforce.com/2006/04/metadata","location","http://soap.sforce.com/2006/04/metadata","ChartPosition",0,1,true))) {
        setLocation((com.sforce.soap.metadata.ChartPosition)__typeMapper.readObject(__in, _lookupTypeInfo("location", "http://soap.sforce.com/2006/04/metadata","location","http://soap.sforce.com/2006/04/metadata","ChartPosition",0,1,true), com.sforce.soap.metadata.ChartPosition.class));
      }
    }

    private void writeFieldLocation(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("location", "http://soap.sforce.com/2006/04/metadata","location","http://soap.sforce.com/2006/04/metadata","ChartPosition",0,1,true), location, location__is_set);
    }

    /**
     * element : secondaryGroupingColumn of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean secondaryGroupingColumn__is_set = false;

    private java.lang.String secondaryGroupingColumn;

    public java.lang.String getSecondaryGroupingColumn() {
      return secondaryGroupingColumn;
    }

    public void setSecondaryGroupingColumn(java.lang.String secondaryGroupingColumn) {
      this.secondaryGroupingColumn = secondaryGroupingColumn;
      secondaryGroupingColumn__is_set = true;
    }

    protected void setSecondaryGroupingColumn(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("secondaryGroupingColumn", "http://soap.sforce.com/2006/04/metadata","secondaryGroupingColumn","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setSecondaryGroupingColumn(__typeMapper.readString(__in, _lookupTypeInfo("secondaryGroupingColumn", "http://soap.sforce.com/2006/04/metadata","secondaryGroupingColumn","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
      }
    }

    private void writeFieldSecondaryGroupingColumn(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("secondaryGroupingColumn", "http://soap.sforce.com/2006/04/metadata","secondaryGroupingColumn","http://www.w3.org/2001/XMLSchema","string",0,1,true), secondaryGroupingColumn, secondaryGroupingColumn__is_set);
    }

    /**
     * element : showAxisLabels of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean showAxisLabels__is_set = false;

    private boolean showAxisLabels;

    public boolean getShowAxisLabels() {
      return showAxisLabels;
    }

    public boolean isShowAxisLabels() {
      return showAxisLabels;
    }

    public void setShowAxisLabels(boolean showAxisLabels) {
      this.showAxisLabels = showAxisLabels;
      showAxisLabels__is_set = true;
    }

    protected void setShowAxisLabels(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("showAxisLabels", "http://soap.sforce.com/2006/04/metadata","showAxisLabels","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
        setShowAxisLabels(__typeMapper.readBoolean(__in, _lookupTypeInfo("showAxisLabels", "http://soap.sforce.com/2006/04/metadata","showAxisLabels","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
      }
    }

    private void writeFieldShowAxisLabels(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("showAxisLabels", "http://soap.sforce.com/2006/04/metadata","showAxisLabels","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), showAxisLabels, showAxisLabels__is_set);
    }

    /**
     * element : showPercentage of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean showPercentage__is_set = false;

    private boolean showPercentage;

    public boolean getShowPercentage() {
      return showPercentage;
    }

    public boolean isShowPercentage() {
      return showPercentage;
    }

    public void setShowPercentage(boolean showPercentage) {
      this.showPercentage = showPercentage;
      showPercentage__is_set = true;
    }

    protected void setShowPercentage(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("showPercentage", "http://soap.sforce.com/2006/04/metadata","showPercentage","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
        setShowPercentage(__typeMapper.readBoolean(__in, _lookupTypeInfo("showPercentage", "http://soap.sforce.com/2006/04/metadata","showPercentage","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
      }
    }

    private void writeFieldShowPercentage(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("showPercentage", "http://soap.sforce.com/2006/04/metadata","showPercentage","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), showPercentage, showPercentage__is_set);
    }

    /**
     * element : showTotal of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean showTotal__is_set = false;

    private boolean showTotal;

    public boolean getShowTotal() {
      return showTotal;
    }

    public boolean isShowTotal() {
      return showTotal;
    }

    public void setShowTotal(boolean showTotal) {
      this.showTotal = showTotal;
      showTotal__is_set = true;
    }

    protected void setShowTotal(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("showTotal", "http://soap.sforce.com/2006/04/metadata","showTotal","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
        setShowTotal(__typeMapper.readBoolean(__in, _lookupTypeInfo("showTotal", "http://soap.sforce.com/2006/04/metadata","showTotal","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
      }
    }

    private void writeFieldShowTotal(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("showTotal", "http://soap.sforce.com/2006/04/metadata","showTotal","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), showTotal, showTotal__is_set);
    }

    /**
     * element : showValues of type {http://www.w3.org/2001/XMLSchema}boolean
     * java type: boolean
     */
    private boolean showValues__is_set = false;

    private boolean showValues;

    public boolean getShowValues() {
      return showValues;
    }

    public boolean isShowValues() {
      return showValues;
    }

    public void setShowValues(boolean showValues) {
      this.showValues = showValues;
      showValues__is_set = true;
    }

    protected void setShowValues(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("showValues", "http://soap.sforce.com/2006/04/metadata","showValues","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
        setShowValues(__typeMapper.readBoolean(__in, _lookupTypeInfo("showValues", "http://soap.sforce.com/2006/04/metadata","showValues","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
      }
    }

    private void writeFieldShowValues(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("showValues", "http://soap.sforce.com/2006/04/metadata","showValues","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), showValues, showValues__is_set);
    }

    /**
     * element : size of type {http://soap.sforce.com/2006/04/metadata}ReportChartSize
     * java type: com.sforce.soap.metadata.ReportChartSize
     */
    private boolean size__is_set = false;

    private com.sforce.soap.metadata.ReportChartSize size;

    public com.sforce.soap.metadata.ReportChartSize getSize() {
      return size;
    }

    public void setSize(com.sforce.soap.metadata.ReportChartSize size) {
      this.size = size;
      size__is_set = true;
    }

    protected void setSize(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("size", "http://soap.sforce.com/2006/04/metadata","size","http://soap.sforce.com/2006/04/metadata","ReportChartSize",0,1,true))) {
        setSize((com.sforce.soap.metadata.ReportChartSize)__typeMapper.readObject(__in, _lookupTypeInfo("size", "http://soap.sforce.com/2006/04/metadata","size","http://soap.sforce.com/2006/04/metadata","ReportChartSize",0,1,true), com.sforce.soap.metadata.ReportChartSize.class));
      }
    }

    private void writeFieldSize(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("size", "http://soap.sforce.com/2006/04/metadata","size","http://soap.sforce.com/2006/04/metadata","ReportChartSize",0,1,true), size, size__is_set);
    }

    /**
     * element : summaryAxisManualRangeEnd of type {http://www.w3.org/2001/XMLSchema}double
     * java type: double
     */
    private boolean summaryAxisManualRangeEnd__is_set = false;

    private double summaryAxisManualRangeEnd;

    public double getSummaryAxisManualRangeEnd() {
      return summaryAxisManualRangeEnd;
    }

    public void setSummaryAxisManualRangeEnd(double summaryAxisManualRangeEnd) {
      this.summaryAxisManualRangeEnd = summaryAxisManualRangeEnd;
      summaryAxisManualRangeEnd__is_set = true;
    }

    protected void setSummaryAxisManualRangeEnd(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("summaryAxisManualRangeEnd", "http://soap.sforce.com/2006/04/metadata","summaryAxisManualRangeEnd","http://www.w3.org/2001/XMLSchema","double",0,1,true))) {
        setSummaryAxisManualRangeEnd((double)__typeMapper.readDouble(__in, _lookupTypeInfo("summaryAxisManualRangeEnd", "http://soap.sforce.com/2006/04/metadata","summaryAxisManualRangeEnd","http://www.w3.org/2001/XMLSchema","double",0,1,true), double.class));
      }
    }

    private void writeFieldSummaryAxisManualRangeEnd(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("summaryAxisManualRangeEnd", "http://soap.sforce.com/2006/04/metadata","summaryAxisManualRangeEnd","http://www.w3.org/2001/XMLSchema","double",0,1,true), summaryAxisManualRangeEnd, summaryAxisManualRangeEnd__is_set);
    }

    /**
     * element : summaryAxisManualRangeStart of type {http://www.w3.org/2001/XMLSchema}double
     * java type: double
     */
    private boolean summaryAxisManualRangeStart__is_set = false;

    private double summaryAxisManualRangeStart;

    public double getSummaryAxisManualRangeStart() {
      return summaryAxisManualRangeStart;
    }

    public void setSummaryAxisManualRangeStart(double summaryAxisManualRangeStart) {
      this.summaryAxisManualRangeStart = summaryAxisManualRangeStart;
      summaryAxisManualRangeStart__is_set = true;
    }

    protected void setSummaryAxisManualRangeStart(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("summaryAxisManualRangeStart", "http://soap.sforce.com/2006/04/metadata","summaryAxisManualRangeStart","http://www.w3.org/2001/XMLSchema","double",0,1,true))) {
        setSummaryAxisManualRangeStart((double)__typeMapper.readDouble(__in, _lookupTypeInfo("summaryAxisManualRangeStart", "http://soap.sforce.com/2006/04/metadata","summaryAxisManualRangeStart","http://www.w3.org/2001/XMLSchema","double",0,1,true), double.class));
      }
    }

    private void writeFieldSummaryAxisManualRangeStart(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("summaryAxisManualRangeStart", "http://soap.sforce.com/2006/04/metadata","summaryAxisManualRangeStart","http://www.w3.org/2001/XMLSchema","double",0,1,true), summaryAxisManualRangeStart, summaryAxisManualRangeStart__is_set);
    }

    /**
     * element : summaryAxisRange of type {http://soap.sforce.com/2006/04/metadata}ChartRangeType
     * java type: com.sforce.soap.metadata.ChartRangeType
     */
    private boolean summaryAxisRange__is_set = false;

    private com.sforce.soap.metadata.ChartRangeType summaryAxisRange;

    public com.sforce.soap.metadata.ChartRangeType getSummaryAxisRange() {
      return summaryAxisRange;
    }

    public void setSummaryAxisRange(com.sforce.soap.metadata.ChartRangeType summaryAxisRange) {
      this.summaryAxisRange = summaryAxisRange;
      summaryAxisRange__is_set = true;
    }

    protected void setSummaryAxisRange(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("summaryAxisRange", "http://soap.sforce.com/2006/04/metadata","summaryAxisRange","http://soap.sforce.com/2006/04/metadata","ChartRangeType",0,1,true))) {
        setSummaryAxisRange((com.sforce.soap.metadata.ChartRangeType)__typeMapper.readObject(__in, _lookupTypeInfo("summaryAxisRange", "http://soap.sforce.com/2006/04/metadata","summaryAxisRange","http://soap.sforce.com/2006/04/metadata","ChartRangeType",0,1,true), com.sforce.soap.metadata.ChartRangeType.class));
      }
    }

    private void writeFieldSummaryAxisRange(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("summaryAxisRange", "http://soap.sforce.com/2006/04/metadata","summaryAxisRange","http://soap.sforce.com/2006/04/metadata","ChartRangeType",0,1,true), summaryAxisRange, summaryAxisRange__is_set);
    }

    /**
     * element : textColor of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean textColor__is_set = false;

    private java.lang.String textColor;

    public java.lang.String getTextColor() {
      return textColor;
    }

    public void setTextColor(java.lang.String textColor) {
      this.textColor = textColor;
      textColor__is_set = true;
    }

    protected void setTextColor(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("textColor", "http://soap.sforce.com/2006/04/metadata","textColor","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setTextColor(__typeMapper.readString(__in, _lookupTypeInfo("textColor", "http://soap.sforce.com/2006/04/metadata","textColor","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
      }
    }

    private void writeFieldTextColor(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("textColor", "http://soap.sforce.com/2006/04/metadata","textColor","http://www.w3.org/2001/XMLSchema","string",0,1,true), textColor, textColor__is_set);
    }

    /**
     * element : textSize of type {http://www.w3.org/2001/XMLSchema}int
     * java type: int
     */
    private boolean textSize__is_set = false;

    private int textSize;

    public int getTextSize() {
      return textSize;
    }

    public void setTextSize(int textSize) {
      this.textSize = textSize;
      textSize__is_set = true;
    }

    protected void setTextSize(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("textSize", "http://soap.sforce.com/2006/04/metadata","textSize","http://www.w3.org/2001/XMLSchema","int",0,1,true))) {
        setTextSize((int)__typeMapper.readInt(__in, _lookupTypeInfo("textSize", "http://soap.sforce.com/2006/04/metadata","textSize","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class));
      }
    }

    private void writeFieldTextSize(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("textSize", "http://soap.sforce.com/2006/04/metadata","textSize","http://www.w3.org/2001/XMLSchema","int",0,1,true), textSize, textSize__is_set);
    }

    /**
     * element : title of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean title__is_set = false;

    private java.lang.String title;

    public java.lang.String getTitle() {
      return title;
    }

    public void setTitle(java.lang.String title) {
      this.title = title;
      title__is_set = true;
    }

    protected void setTitle(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("title", "http://soap.sforce.com/2006/04/metadata","title","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setTitle(__typeMapper.readString(__in, _lookupTypeInfo("title", "http://soap.sforce.com/2006/04/metadata","title","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
      }
    }

    private void writeFieldTitle(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("title", "http://soap.sforce.com/2006/04/metadata","title","http://www.w3.org/2001/XMLSchema","string",0,1,true), title, title__is_set);
    }

    /**
     * element : titleColor of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private boolean titleColor__is_set = false;

    private java.lang.String titleColor;

    public java.lang.String getTitleColor() {
      return titleColor;
    }

    public void setTitleColor(java.lang.String titleColor) {
      this.titleColor = titleColor;
      titleColor__is_set = true;
    }

    protected void setTitleColor(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("titleColor", "http://soap.sforce.com/2006/04/metadata","titleColor","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
        setTitleColor(__typeMapper.readString(__in, _lookupTypeInfo("titleColor", "http://soap.sforce.com/2006/04/metadata","titleColor","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
      }
    }

    private void writeFieldTitleColor(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("titleColor", "http://soap.sforce.com/2006/04/metadata","titleColor","http://www.w3.org/2001/XMLSchema","string",0,1,true), titleColor, titleColor__is_set);
    }

    /**
     * element : titleSize of type {http://www.w3.org/2001/XMLSchema}int
     * java type: int
     */
    private boolean titleSize__is_set = false;

    private int titleSize;

    public int getTitleSize() {
      return titleSize;
    }

    public void setTitleSize(int titleSize) {
      this.titleSize = titleSize;
      titleSize__is_set = true;
    }

    protected void setTitleSize(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("titleSize", "http://soap.sforce.com/2006/04/metadata","titleSize","http://www.w3.org/2001/XMLSchema","int",0,1,true))) {
        setTitleSize((int)__typeMapper.readInt(__in, _lookupTypeInfo("titleSize", "http://soap.sforce.com/2006/04/metadata","titleSize","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class));
      }
    }

    private void writeFieldTitleSize(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
      __typeMapper.writeObject(__out, _lookupTypeInfo("titleSize", "http://soap.sforce.com/2006/04/metadata","titleSize","http://www.w3.org/2001/XMLSchema","int",0,1,true), titleSize, titleSize__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("[ReportChart ");
      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 {
      writeFieldBackgroundColor1(__out, __typeMapper);
      writeFieldBackgroundColor2(__out, __typeMapper);
      writeFieldBackgroundFadeDir(__out, __typeMapper);
      writeFieldChartSummaries(__out, __typeMapper);
      writeFieldChartType(__out, __typeMapper);
      writeFieldEnableHoverLabels(__out, __typeMapper);
      writeFieldExpandOthers(__out, __typeMapper);
      writeFieldGroupingColumn(__out, __typeMapper);
      writeFieldLegendPosition(__out, __typeMapper);
      writeFieldLocation(__out, __typeMapper);
      writeFieldSecondaryGroupingColumn(__out, __typeMapper);
      writeFieldShowAxisLabels(__out, __typeMapper);
      writeFieldShowPercentage(__out, __typeMapper);
      writeFieldShowTotal(__out, __typeMapper);
      writeFieldShowValues(__out, __typeMapper);
      writeFieldSize(__out, __typeMapper);
      writeFieldSummaryAxisManualRangeEnd(__out, __typeMapper);
      writeFieldSummaryAxisManualRangeStart(__out, __typeMapper);
      writeFieldSummaryAxisRange(__out, __typeMapper);
      writeFieldTextColor(__out, __typeMapper);
      writeFieldTextSize(__out, __typeMapper);
      writeFieldTitle(__out, __typeMapper);
      writeFieldTitleColor(__out, __typeMapper);
      writeFieldTitleSize(__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 {
      setBackgroundColor1(__in, __typeMapper);
      setBackgroundColor2(__in, __typeMapper);
      setBackgroundFadeDir(__in, __typeMapper);
      setChartSummaries(__in, __typeMapper);
      setChartType(__in, __typeMapper);
      setEnableHoverLabels(__in, __typeMapper);
      setExpandOthers(__in, __typeMapper);
      setGroupingColumn(__in, __typeMapper);
      setLegendPosition(__in, __typeMapper);
      setLocation(__in, __typeMapper);
      setSecondaryGroupingColumn(__in, __typeMapper);
      setShowAxisLabels(__in, __typeMapper);
      setShowPercentage(__in, __typeMapper);
      setShowTotal(__in, __typeMapper);
      setShowValues(__in, __typeMapper);
      setSize(__in, __typeMapper);
      setSummaryAxisManualRangeEnd(__in, __typeMapper);
      setSummaryAxisManualRangeStart(__in, __typeMapper);
      setSummaryAxisRange(__in, __typeMapper);
      setTextColor(__in, __typeMapper);
      setTextSize(__in, __typeMapper);
      setTitle(__in, __typeMapper);
      setTitleColor(__in, __typeMapper);
      setTitleSize(__in, __typeMapper);
    }

    private void toString1(StringBuilder sb) {
      toStringHelper(sb, "backgroundColor1", backgroundColor1);
      toStringHelper(sb, "backgroundColor2", backgroundColor2);
      toStringHelper(sb, "backgroundFadeDir", backgroundFadeDir);
      toStringHelper(sb, "chartSummaries", chartSummaries);
      toStringHelper(sb, "chartType", chartType);
      toStringHelper(sb, "enableHoverLabels", enableHoverLabels);
      toStringHelper(sb, "expandOthers", expandOthers);
      toStringHelper(sb, "groupingColumn", groupingColumn);
      toStringHelper(sb, "legendPosition", legendPosition);
      toStringHelper(sb, "location", location);
      toStringHelper(sb, "secondaryGroupingColumn", secondaryGroupingColumn);
      toStringHelper(sb, "showAxisLabels", showAxisLabels);
      toStringHelper(sb, "showPercentage", showPercentage);
      toStringHelper(sb, "showTotal", showTotal);
      toStringHelper(sb, "showValues", showValues);
      toStringHelper(sb, "size", size);
      toStringHelper(sb, "summaryAxisManualRangeEnd", summaryAxisManualRangeEnd);
      toStringHelper(sb, "summaryAxisManualRangeStart", summaryAxisManualRangeStart);
      toStringHelper(sb, "summaryAxisRange", summaryAxisRange);
      toStringHelper(sb, "textColor", textColor);
      toStringHelper(sb, "textSize", textSize);
      toStringHelper(sb, "title", title);
      toStringHelper(sb, "titleColor", titleColor);
      toStringHelper(sb, "titleSize", titleSize);
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy