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 WaveXmdMeasure implements com.sforce.ws.bind.XMLizable { /** * Constructor */ public WaveXmdMeasure() {} /* 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 : conditionalFormatting of type {http://soap.sforce.com/2006/04/metadata}WaveXmdFormattingProperty * java type: com.sforce.soap.metadata.WaveXmdFormattingProperty[] */ private boolean conditionalFormatting__is_set = false; private com.sforce.soap.metadata.WaveXmdFormattingProperty[] conditionalFormatting = new com.sforce.soap.metadata.WaveXmdFormattingProperty[0]; public com.sforce.soap.metadata.WaveXmdFormattingProperty[] getConditionalFormatting() { return conditionalFormatting; } public void setConditionalFormatting(com.sforce.soap.metadata.WaveXmdFormattingProperty[] conditionalFormatting) { this.conditionalFormatting = conditionalFormatting; conditionalFormatting__is_set = true; } protected void setConditionalFormatting(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("conditionalFormatting", "http://soap.sforce.com/2006/04/metadata","conditionalFormatting","http://soap.sforce.com/2006/04/metadata","WaveXmdFormattingProperty",0,-1,true))) { setConditionalFormatting((com.sforce.soap.metadata.WaveXmdFormattingProperty[])__typeMapper.readObject(__in, _lookupTypeInfo("conditionalFormatting", "http://soap.sforce.com/2006/04/metadata","conditionalFormatting","http://soap.sforce.com/2006/04/metadata","WaveXmdFormattingProperty",0,-1,true), com.sforce.soap.metadata.WaveXmdFormattingProperty[].class)); } } private void writeFieldConditionalFormatting(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("conditionalFormatting", "http://soap.sforce.com/2006/04/metadata","conditionalFormatting","http://soap.sforce.com/2006/04/metadata","WaveXmdFormattingProperty",0,-1,true), conditionalFormatting, conditionalFormatting__is_set); } /** * element : currencies of type {http://soap.sforce.com/2006/04/metadata}WaveXmdMeasure * java type: com.sforce.soap.metadata.WaveXmdMeasure[] */ private boolean currencies__is_set = false; private com.sforce.soap.metadata.WaveXmdMeasure[] currencies = new com.sforce.soap.metadata.WaveXmdMeasure[0]; public com.sforce.soap.metadata.WaveXmdMeasure[] getCurrencies() { return currencies; } public void setCurrencies(com.sforce.soap.metadata.WaveXmdMeasure[] currencies) { this.currencies = currencies; currencies__is_set = true; } protected void setCurrencies(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("currencies", "http://soap.sforce.com/2006/04/metadata","currencies","http://soap.sforce.com/2006/04/metadata","WaveXmdMeasure",0,-1,true))) { setCurrencies((com.sforce.soap.metadata.WaveXmdMeasure[])__typeMapper.readObject(__in, _lookupTypeInfo("currencies", "http://soap.sforce.com/2006/04/metadata","currencies","http://soap.sforce.com/2006/04/metadata","WaveXmdMeasure",0,-1,true), com.sforce.soap.metadata.WaveXmdMeasure[].class)); } } private void writeFieldCurrencies(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("currencies", "http://soap.sforce.com/2006/04/metadata","currencies","http://soap.sforce.com/2006/04/metadata","WaveXmdMeasure",0,-1,true), currencies, currencies__is_set); } /** * element : currencyCode of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean currencyCode__is_set = false; private java.lang.String currencyCode; public java.lang.String getCurrencyCode() { return currencyCode; } public void setCurrencyCode(java.lang.String currencyCode) { this.currencyCode = currencyCode; currencyCode__is_set = true; } protected void setCurrencyCode(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("currencyCode", "http://soap.sforce.com/2006/04/metadata","currencyCode","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setCurrencyCode(__typeMapper.readString(__in, _lookupTypeInfo("currencyCode", "http://soap.sforce.com/2006/04/metadata","currencyCode","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldCurrencyCode(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("currencyCode", "http://soap.sforce.com/2006/04/metadata","currencyCode","http://www.w3.org/2001/XMLSchema","string",0,1,true), currencyCode, currencyCode__is_set); } /** * element : dateFormat of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean dateFormat__is_set = false; private java.lang.String dateFormat; public java.lang.String getDateFormat() { return dateFormat; } public void setDateFormat(java.lang.String dateFormat) { this.dateFormat = dateFormat; dateFormat__is_set = true; } protected void setDateFormat(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("dateFormat", "http://soap.sforce.com/2006/04/metadata","dateFormat","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setDateFormat(__typeMapper.readString(__in, _lookupTypeInfo("dateFormat", "http://soap.sforce.com/2006/04/metadata","dateFormat","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldDateFormat(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("dateFormat", "http://soap.sforce.com/2006/04/metadata","dateFormat","http://www.w3.org/2001/XMLSchema","string",0,1,true), dateFormat, dateFormat__is_set); } /** * element : description of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean description__is_set = false; private java.lang.String description; public java.lang.String getDescription() { return description; } public void setDescription(java.lang.String description) { this.description = description; description__is_set = true; } protected void setDescription(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("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setDescription(__typeMapper.readString(__in, _lookupTypeInfo("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldDescription(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("description", "http://soap.sforce.com/2006/04/metadata","description","http://www.w3.org/2001/XMLSchema","string",0,1,true), description, description__is_set); } /** * element : field of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean field__is_set = false; private java.lang.String field; public java.lang.String getField() { return field; } public void setField(java.lang.String field) { this.field = field; field__is_set = true; } protected void setField(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("field", "http://soap.sforce.com/2006/04/metadata","field","http://www.w3.org/2001/XMLSchema","string",1,1,true))) { setField(__typeMapper.readString(__in, _lookupTypeInfo("field", "http://soap.sforce.com/2006/04/metadata","field","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class)); } } private void writeFieldField(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("field", "http://soap.sforce.com/2006/04/metadata","field","http://www.w3.org/2001/XMLSchema","string",1,1,true), field, field__is_set); } /** * element : formatCustomFormat of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean formatCustomFormat__is_set = false; private java.lang.String formatCustomFormat; public java.lang.String getFormatCustomFormat() { return formatCustomFormat; } public void setFormatCustomFormat(java.lang.String formatCustomFormat) { this.formatCustomFormat = formatCustomFormat; formatCustomFormat__is_set = true; } protected void setFormatCustomFormat(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("formatCustomFormat", "http://soap.sforce.com/2006/04/metadata","formatCustomFormat","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setFormatCustomFormat(__typeMapper.readString(__in, _lookupTypeInfo("formatCustomFormat", "http://soap.sforce.com/2006/04/metadata","formatCustomFormat","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldFormatCustomFormat(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("formatCustomFormat", "http://soap.sforce.com/2006/04/metadata","formatCustomFormat","http://www.w3.org/2001/XMLSchema","string",0,1,true), formatCustomFormat, formatCustomFormat__is_set); } /** * element : formatDecimalDigits of type {http://www.w3.org/2001/XMLSchema}int * java type: int */ private boolean formatDecimalDigits__is_set = false; private int formatDecimalDigits; public int getFormatDecimalDigits() { return formatDecimalDigits; } public void setFormatDecimalDigits(int formatDecimalDigits) { this.formatDecimalDigits = formatDecimalDigits; formatDecimalDigits__is_set = true; } protected void setFormatDecimalDigits(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("formatDecimalDigits", "http://soap.sforce.com/2006/04/metadata","formatDecimalDigits","http://www.w3.org/2001/XMLSchema","int",0,1,true))) { setFormatDecimalDigits((int)__typeMapper.readInt(__in, _lookupTypeInfo("formatDecimalDigits", "http://soap.sforce.com/2006/04/metadata","formatDecimalDigits","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class)); } } private void writeFieldFormatDecimalDigits(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("formatDecimalDigits", "http://soap.sforce.com/2006/04/metadata","formatDecimalDigits","http://www.w3.org/2001/XMLSchema","int",0,1,true), formatDecimalDigits, formatDecimalDigits__is_set); } /** * element : formatDecimalSeparator of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean formatDecimalSeparator__is_set = false; private java.lang.String formatDecimalSeparator; public java.lang.String getFormatDecimalSeparator() { return formatDecimalSeparator; } public void setFormatDecimalSeparator(java.lang.String formatDecimalSeparator) { this.formatDecimalSeparator = formatDecimalSeparator; formatDecimalSeparator__is_set = true; } protected void setFormatDecimalSeparator(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("formatDecimalSeparator", "http://soap.sforce.com/2006/04/metadata","formatDecimalSeparator","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setFormatDecimalSeparator(__typeMapper.readString(__in, _lookupTypeInfo("formatDecimalSeparator", "http://soap.sforce.com/2006/04/metadata","formatDecimalSeparator","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldFormatDecimalSeparator(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("formatDecimalSeparator", "http://soap.sforce.com/2006/04/metadata","formatDecimalSeparator","http://www.w3.org/2001/XMLSchema","string",0,1,true), formatDecimalSeparator, formatDecimalSeparator__is_set); } /** * element : formatIsNegativeParens of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean formatIsNegativeParens__is_set = false; private boolean formatIsNegativeParens; public boolean getFormatIsNegativeParens() { return formatIsNegativeParens; } public boolean isFormatIsNegativeParens() { return formatIsNegativeParens; } public void setFormatIsNegativeParens(boolean formatIsNegativeParens) { this.formatIsNegativeParens = formatIsNegativeParens; formatIsNegativeParens__is_set = true; } protected void setFormatIsNegativeParens(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("formatIsNegativeParens", "http://soap.sforce.com/2006/04/metadata","formatIsNegativeParens","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setFormatIsNegativeParens(__typeMapper.readBoolean(__in, _lookupTypeInfo("formatIsNegativeParens", "http://soap.sforce.com/2006/04/metadata","formatIsNegativeParens","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldFormatIsNegativeParens(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("formatIsNegativeParens", "http://soap.sforce.com/2006/04/metadata","formatIsNegativeParens","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), formatIsNegativeParens, formatIsNegativeParens__is_set); } /** * element : formatPrefix of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean formatPrefix__is_set = false; private java.lang.String formatPrefix; public java.lang.String getFormatPrefix() { return formatPrefix; } public void setFormatPrefix(java.lang.String formatPrefix) { this.formatPrefix = formatPrefix; formatPrefix__is_set = true; } protected void setFormatPrefix(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("formatPrefix", "http://soap.sforce.com/2006/04/metadata","formatPrefix","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setFormatPrefix(__typeMapper.readString(__in, _lookupTypeInfo("formatPrefix", "http://soap.sforce.com/2006/04/metadata","formatPrefix","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldFormatPrefix(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("formatPrefix", "http://soap.sforce.com/2006/04/metadata","formatPrefix","http://www.w3.org/2001/XMLSchema","string",0,1,true), formatPrefix, formatPrefix__is_set); } /** * element : formatSuffix of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean formatSuffix__is_set = false; private java.lang.String formatSuffix; public java.lang.String getFormatSuffix() { return formatSuffix; } public void setFormatSuffix(java.lang.String formatSuffix) { this.formatSuffix = formatSuffix; formatSuffix__is_set = true; } protected void setFormatSuffix(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("formatSuffix", "http://soap.sforce.com/2006/04/metadata","formatSuffix","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setFormatSuffix(__typeMapper.readString(__in, _lookupTypeInfo("formatSuffix", "http://soap.sforce.com/2006/04/metadata","formatSuffix","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldFormatSuffix(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("formatSuffix", "http://soap.sforce.com/2006/04/metadata","formatSuffix","http://www.w3.org/2001/XMLSchema","string",0,1,true), formatSuffix, formatSuffix__is_set); } /** * element : formatThousandsSeparator of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean formatThousandsSeparator__is_set = false; private java.lang.String formatThousandsSeparator; public java.lang.String getFormatThousandsSeparator() { return formatThousandsSeparator; } public void setFormatThousandsSeparator(java.lang.String formatThousandsSeparator) { this.formatThousandsSeparator = formatThousandsSeparator; formatThousandsSeparator__is_set = true; } protected void setFormatThousandsSeparator(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("formatThousandsSeparator", "http://soap.sforce.com/2006/04/metadata","formatThousandsSeparator","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setFormatThousandsSeparator(__typeMapper.readString(__in, _lookupTypeInfo("formatThousandsSeparator", "http://soap.sforce.com/2006/04/metadata","formatThousandsSeparator","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldFormatThousandsSeparator(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("formatThousandsSeparator", "http://soap.sforce.com/2006/04/metadata","formatThousandsSeparator","http://www.w3.org/2001/XMLSchema","string",0,1,true), formatThousandsSeparator, formatThousandsSeparator__is_set); } /** * element : formatUnit of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean formatUnit__is_set = false; private java.lang.String formatUnit; public java.lang.String getFormatUnit() { return formatUnit; } public void setFormatUnit(java.lang.String formatUnit) { this.formatUnit = formatUnit; formatUnit__is_set = true; } protected void setFormatUnit(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("formatUnit", "http://soap.sforce.com/2006/04/metadata","formatUnit","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setFormatUnit(__typeMapper.readString(__in, _lookupTypeInfo("formatUnit", "http://soap.sforce.com/2006/04/metadata","formatUnit","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldFormatUnit(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("formatUnit", "http://soap.sforce.com/2006/04/metadata","formatUnit","http://www.w3.org/2001/XMLSchema","string",0,1,true), formatUnit, formatUnit__is_set); } /** * element : formatUnitMultiplier of type {http://www.w3.org/2001/XMLSchema}double * java type: double */ private boolean formatUnitMultiplier__is_set = false; private double formatUnitMultiplier; public double getFormatUnitMultiplier() { return formatUnitMultiplier; } public void setFormatUnitMultiplier(double formatUnitMultiplier) { this.formatUnitMultiplier = formatUnitMultiplier; formatUnitMultiplier__is_set = true; } protected void setFormatUnitMultiplier(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("formatUnitMultiplier", "http://soap.sforce.com/2006/04/metadata","formatUnitMultiplier","http://www.w3.org/2001/XMLSchema","double",0,1,true))) { setFormatUnitMultiplier((double)__typeMapper.readDouble(__in, _lookupTypeInfo("formatUnitMultiplier", "http://soap.sforce.com/2006/04/metadata","formatUnitMultiplier","http://www.w3.org/2001/XMLSchema","double",0,1,true), double.class)); } } private void writeFieldFormatUnitMultiplier(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("formatUnitMultiplier", "http://soap.sforce.com/2006/04/metadata","formatUnitMultiplier","http://www.w3.org/2001/XMLSchema","double",0,1,true), formatUnitMultiplier, formatUnitMultiplier__is_set); } /** * element : fullyQualifiedName of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean fullyQualifiedName__is_set = false; private java.lang.String fullyQualifiedName; public java.lang.String getFullyQualifiedName() { return fullyQualifiedName; } public void setFullyQualifiedName(java.lang.String fullyQualifiedName) { this.fullyQualifiedName = fullyQualifiedName; fullyQualifiedName__is_set = true; } protected void setFullyQualifiedName(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("fullyQualifiedName", "http://soap.sforce.com/2006/04/metadata","fullyQualifiedName","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setFullyQualifiedName(__typeMapper.readString(__in, _lookupTypeInfo("fullyQualifiedName", "http://soap.sforce.com/2006/04/metadata","fullyQualifiedName","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldFullyQualifiedName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("fullyQualifiedName", "http://soap.sforce.com/2006/04/metadata","fullyQualifiedName","http://www.w3.org/2001/XMLSchema","string",0,1,true), fullyQualifiedName, fullyQualifiedName__is_set); } /** * element : isDerived of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean isDerived__is_set = false; private boolean isDerived; public boolean getIsDerived() { return isDerived; } public boolean isIsDerived() { return isDerived; } public void setIsDerived(boolean isDerived) { this.isDerived = isDerived; isDerived__is_set = true; } protected void setIsDerived(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("isDerived", "http://soap.sforce.com/2006/04/metadata","isDerived","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) { setIsDerived(__typeMapper.readBoolean(__in, _lookupTypeInfo("isDerived", "http://soap.sforce.com/2006/04/metadata","isDerived","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class)); } } private void writeFieldIsDerived(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("isDerived", "http://soap.sforce.com/2006/04/metadata","isDerived","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), isDerived, isDerived__is_set); } /** * element : isMultiCurrency of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean isMultiCurrency__is_set = false; private boolean isMultiCurrency; public boolean getIsMultiCurrency() { return isMultiCurrency; } public boolean isIsMultiCurrency() { return isMultiCurrency; } public void setIsMultiCurrency(boolean isMultiCurrency) { this.isMultiCurrency = isMultiCurrency; isMultiCurrency__is_set = true; } protected void setIsMultiCurrency(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("isMultiCurrency", "http://soap.sforce.com/2006/04/metadata","isMultiCurrency","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setIsMultiCurrency(__typeMapper.readBoolean(__in, _lookupTypeInfo("isMultiCurrency", "http://soap.sforce.com/2006/04/metadata","isMultiCurrency","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldIsMultiCurrency(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("isMultiCurrency", "http://soap.sforce.com/2006/04/metadata","isMultiCurrency","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isMultiCurrency, isMultiCurrency__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", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setLabel(__typeMapper.readString(__in, _lookupTypeInfo("label", "http://soap.sforce.com/2006/04/metadata","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", "http://soap.sforce.com/2006/04/metadata","label","http://www.w3.org/2001/XMLSchema","string",0,1,true), label, label__is_set); } /** * element : origin of type {http://www.w3.org/2001/XMLSchema}string * java type: java.lang.String */ private boolean origin__is_set = false; private java.lang.String origin; public java.lang.String getOrigin() { return origin; } public void setOrigin(java.lang.String origin) { this.origin = origin; origin__is_set = true; } protected void setOrigin(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("origin", "http://soap.sforce.com/2006/04/metadata","origin","http://www.w3.org/2001/XMLSchema","string",0,1,true))) { setOrigin(__typeMapper.readString(__in, _lookupTypeInfo("origin", "http://soap.sforce.com/2006/04/metadata","origin","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class)); } } private void writeFieldOrigin(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("origin", "http://soap.sforce.com/2006/04/metadata","origin","http://www.w3.org/2001/XMLSchema","string",0,1,true), origin, origin__is_set); } /** * element : showDetailsDefaultFieldIndex of type {http://www.w3.org/2001/XMLSchema}int * java type: int */ private boolean showDetailsDefaultFieldIndex__is_set = false; private int showDetailsDefaultFieldIndex; public int getShowDetailsDefaultFieldIndex() { return showDetailsDefaultFieldIndex; } public void setShowDetailsDefaultFieldIndex(int showDetailsDefaultFieldIndex) { this.showDetailsDefaultFieldIndex = showDetailsDefaultFieldIndex; showDetailsDefaultFieldIndex__is_set = true; } protected void setShowDetailsDefaultFieldIndex(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("showDetailsDefaultFieldIndex", "http://soap.sforce.com/2006/04/metadata","showDetailsDefaultFieldIndex","http://www.w3.org/2001/XMLSchema","int",0,1,true))) { setShowDetailsDefaultFieldIndex((int)__typeMapper.readInt(__in, _lookupTypeInfo("showDetailsDefaultFieldIndex", "http://soap.sforce.com/2006/04/metadata","showDetailsDefaultFieldIndex","http://www.w3.org/2001/XMLSchema","int",0,1,true), int.class)); } } private void writeFieldShowDetailsDefaultFieldIndex(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("showDetailsDefaultFieldIndex", "http://soap.sforce.com/2006/04/metadata","showDetailsDefaultFieldIndex","http://www.w3.org/2001/XMLSchema","int",0,1,true), showDetailsDefaultFieldIndex, showDetailsDefaultFieldIndex__is_set); } /** * element : showInExplorer of type {http://www.w3.org/2001/XMLSchema}boolean * java type: boolean */ private boolean showInExplorer__is_set = false; private boolean showInExplorer; public boolean getShowInExplorer() { return showInExplorer; } public boolean isShowInExplorer() { return showInExplorer; } public void setShowInExplorer(boolean showInExplorer) { this.showInExplorer = showInExplorer; showInExplorer__is_set = true; } protected void setShowInExplorer(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("showInExplorer", "http://soap.sforce.com/2006/04/metadata","showInExplorer","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) { setShowInExplorer(__typeMapper.readBoolean(__in, _lookupTypeInfo("showInExplorer", "http://soap.sforce.com/2006/04/metadata","showInExplorer","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class)); } } private void writeFieldShowInExplorer(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("showInExplorer", "http://soap.sforce.com/2006/04/metadata","showInExplorer","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), showInExplorer, showInExplorer__is_set); } /** * element : sortIndex of type {http://www.w3.org/2001/XMLSchema}int * java type: int */ private boolean sortIndex__is_set = false; private int sortIndex; public int getSortIndex() { return sortIndex; } public void setSortIndex(int sortIndex) { this.sortIndex = sortIndex; sortIndex__is_set = true; } protected void setSortIndex(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("sortIndex", "http://soap.sforce.com/2006/04/metadata","sortIndex","http://www.w3.org/2001/XMLSchema","int",1,1,true))) { setSortIndex((int)__typeMapper.readInt(__in, _lookupTypeInfo("sortIndex", "http://soap.sforce.com/2006/04/metadata","sortIndex","http://www.w3.org/2001/XMLSchema","int",1,1,true), int.class)); } } private void writeFieldSortIndex(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException { __typeMapper.writeObject(__out, _lookupTypeInfo("sortIndex", "http://soap.sforce.com/2006/04/metadata","sortIndex","http://www.w3.org/2001/XMLSchema","int",1,1,true), sortIndex, sortIndex__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("[WaveXmdMeasure "); 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 { writeFieldConditionalFormatting(__out, __typeMapper); writeFieldCurrencies(__out, __typeMapper); writeFieldCurrencyCode(__out, __typeMapper); writeFieldDateFormat(__out, __typeMapper); writeFieldDescription(__out, __typeMapper); writeFieldField(__out, __typeMapper); writeFieldFormatCustomFormat(__out, __typeMapper); writeFieldFormatDecimalDigits(__out, __typeMapper); writeFieldFormatDecimalSeparator(__out, __typeMapper); writeFieldFormatIsNegativeParens(__out, __typeMapper); writeFieldFormatPrefix(__out, __typeMapper); writeFieldFormatSuffix(__out, __typeMapper); writeFieldFormatThousandsSeparator(__out, __typeMapper); writeFieldFormatUnit(__out, __typeMapper); writeFieldFormatUnitMultiplier(__out, __typeMapper); writeFieldFullyQualifiedName(__out, __typeMapper); writeFieldIsDerived(__out, __typeMapper); writeFieldIsMultiCurrency(__out, __typeMapper); writeFieldLabel(__out, __typeMapper); writeFieldOrigin(__out, __typeMapper); writeFieldShowDetailsDefaultFieldIndex(__out, __typeMapper); writeFieldShowInExplorer(__out, __typeMapper); writeFieldSortIndex(__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 { setConditionalFormatting(__in, __typeMapper); setCurrencies(__in, __typeMapper); setCurrencyCode(__in, __typeMapper); setDateFormat(__in, __typeMapper); setDescription(__in, __typeMapper); setField(__in, __typeMapper); setFormatCustomFormat(__in, __typeMapper); setFormatDecimalDigits(__in, __typeMapper); setFormatDecimalSeparator(__in, __typeMapper); setFormatIsNegativeParens(__in, __typeMapper); setFormatPrefix(__in, __typeMapper); setFormatSuffix(__in, __typeMapper); setFormatThousandsSeparator(__in, __typeMapper); setFormatUnit(__in, __typeMapper); setFormatUnitMultiplier(__in, __typeMapper); setFullyQualifiedName(__in, __typeMapper); setIsDerived(__in, __typeMapper); setIsMultiCurrency(__in, __typeMapper); setLabel(__in, __typeMapper); setOrigin(__in, __typeMapper); setShowDetailsDefaultFieldIndex(__in, __typeMapper); setShowInExplorer(__in, __typeMapper); setSortIndex(__in, __typeMapper); } private void toString1(StringBuilder sb) { toStringHelper(sb, "conditionalFormatting", conditionalFormatting); toStringHelper(sb, "currencies", currencies); toStringHelper(sb, "currencyCode", currencyCode); toStringHelper(sb, "dateFormat", dateFormat); toStringHelper(sb, "description", description); toStringHelper(sb, "field", field); toStringHelper(sb, "formatCustomFormat", formatCustomFormat); toStringHelper(sb, "formatDecimalDigits", formatDecimalDigits); toStringHelper(sb, "formatDecimalSeparator", formatDecimalSeparator); toStringHelper(sb, "formatIsNegativeParens", formatIsNegativeParens); toStringHelper(sb, "formatPrefix", formatPrefix); toStringHelper(sb, "formatSuffix", formatSuffix); toStringHelper(sb, "formatThousandsSeparator", formatThousandsSeparator); toStringHelper(sb, "formatUnit", formatUnit); toStringHelper(sb, "formatUnitMultiplier", formatUnitMultiplier); toStringHelper(sb, "fullyQualifiedName", fullyQualifiedName); toStringHelper(sb, "isDerived", isDerived); toStringHelper(sb, "isMultiCurrency", isMultiCurrency); toStringHelper(sb, "label", label); toStringHelper(sb, "origin", origin); toStringHelper(sb, "showDetailsDefaultFieldIndex", showDetailsDefaultFieldIndex); toStringHelper(sb, "showInExplorer", showInExplorer); toStringHelper(sb, "sortIndex", sortIndex); } }