public class ConstantOperand extends FunctionArgumentOperand
Java class for ConstantOperand complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ConstantOperand">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}FunctionArgumentOperand">
<sequence>
<element name="type" type="{https://adwords.google.com/api/adwords/cm/v201809}ConstantOperand.ConstantType" minOccurs="0"/>
<element name="unit" type="{https://adwords.google.com/api/adwords/cm/v201809}ConstantOperand.Unit" minOccurs="0"/>
<element name="longValue" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="booleanValue" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="doubleValue" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="stringValue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
booleanValue |
protected Double |
doubleValue |
protected Long |
longValue |
protected String |
stringValue |
protected ConstantOperandConstantType |
type |
protected ConstantOperandUnit |
unit |
functionArgumentOperandType| Constructor and Description |
|---|
ConstantOperand() |
| Modifier and Type | Method and Description |
|---|---|
Double |
getDoubleValue()
Gets the value of the doubleValue property.
|
Long |
getLongValue()
Gets the value of the longValue property.
|
String |
getStringValue()
Gets the value of the stringValue property.
|
ConstantOperandConstantType |
getType()
Gets the value of the type property.
|
ConstantOperandUnit |
getUnit()
Gets the value of the unit property.
|
Boolean |
isBooleanValue()
Gets the value of the booleanValue property.
|
void |
setBooleanValue(Boolean value)
Sets the value of the booleanValue property.
|
void |
setDoubleValue(Double value)
Sets the value of the doubleValue property.
|
void |
setLongValue(Long value)
Sets the value of the longValue property.
|
void |
setStringValue(String value)
Sets the value of the stringValue property.
|
void |
setType(ConstantOperandConstantType value)
Sets the value of the type property.
|
void |
setUnit(ConstantOperandUnit value)
Sets the value of the unit property.
|
getFunctionArgumentOperandType, setFunctionArgumentOperandTypeprotected ConstantOperandConstantType type
protected ConstantOperandUnit unit
protected Long longValue
protected Boolean booleanValue
protected Double doubleValue
protected String stringValue
public ConstantOperandConstantType getType()
ConstantOperandConstantTypepublic void setType(ConstantOperandConstantType value)
value - allowed object is
ConstantOperandConstantTypepublic ConstantOperandUnit getUnit()
ConstantOperandUnitpublic void setUnit(ConstantOperandUnit value)
value - allowed object is
ConstantOperandUnitpublic Long getLongValue()
Longpublic void setLongValue(Long value)
value - allowed object is
Longpublic Boolean isBooleanValue()
Booleanpublic void setBooleanValue(Boolean value)
value - allowed object is
Booleanpublic Double getDoubleValue()
Doublepublic void setDoubleValue(Double value)
value - allowed object is
Doublepublic String getStringValue()
StringCopyright © 2023. All rights reserved.