public class DefaultValue extends Object
AnnotationAttributeValue
contains the default value of a Ballerina struct field.Constructor and Description |
---|
DefaultValue(int typeDescCPIndex,
String typeDesc) |
Modifier and Type | Method and Description |
---|---|
boolean |
getBooleanValue() |
byte |
getByteValue() |
double |
getFloatValue() |
long |
getIntValue() |
String |
getStringValue() |
String |
getTypeDesc() |
int |
getTypeDescCPIndex() |
int |
getValueCPIndex() |
void |
setBooleanValue(boolean booleanValue) |
void |
setByteValue(byte byteValue) |
void |
setFloatValue(double floatValue) |
void |
setIntValue(long intValue) |
void |
setStringValue(String stringValue) |
void |
setValueCPIndex(int valueCPIndex) |
public DefaultValue(int typeDescCPIndex, String typeDesc)
public int getTypeDescCPIndex()
public String getTypeDesc()
public int getValueCPIndex()
public void setValueCPIndex(int valueCPIndex)
public long getIntValue()
public void setIntValue(long intValue)
public double getFloatValue()
public void setFloatValue(double floatValue)
public String getStringValue()
public void setStringValue(String stringValue)
public boolean getBooleanValue()
public void setBooleanValue(boolean booleanValue)
public byte getByteValue()
public void setByteValue(byte byteValue)
Copyright © 2018 WSO2. All rights reserved.