public static class DynamicMessage.Value extends AbstractElement
| Modifier and Type | Class and Description |
|---|---|
static class |
DynamicMessage.Value.Type |
comments, sourceCodeLocationaddComment, getCommentLines, getComments, getSourceCodeLocation, setComments, setSourceCodeLocationpublic static DynamicMessage.Value createString(String value)
public static DynamicMessage.Value createString(SourceCodeLocation sourceCodeLocation, String value)
public static DynamicMessage.Value createBoolean(boolean value)
public static DynamicMessage.Value createBoolean(SourceCodeLocation sourceCodeLocation, boolean value)
public static DynamicMessage.Value createInteger(long value)
public static DynamicMessage.Value createInteger(SourceCodeLocation sourceCodeLocation, long value)
public static DynamicMessage.Value createMessage(DynamicMessage value)
public static DynamicMessage.Value createMessage(SourceCodeLocation sourceCodeLocation, DynamicMessage value)
public static DynamicMessage.Value createFloat(double value)
public static DynamicMessage.Value createFloat(SourceCodeLocation sourceCodeLocation, double value)
public static DynamicMessage.Value createEnum(String value)
public static DynamicMessage.Value createEnum(SourceCodeLocation sourceCodeLocation, String value)
public Element getParent()
public DynamicMessage.Value.Type getType()
public boolean getBoolean()
public boolean isBooleanType()
public long getInt64()
public int getInt32()
public double getDouble()
public boolean isIntegerType()
public String getString()
public boolean isStringType()
public String getEnumName()
public boolean isEnumType()
public DynamicMessage getMessage()
public boolean isMessageType()
Copyright © 2015–2016. All rights reserved.