public final class ScalarType extends Object
Modifier and Type | Field and Description |
---|---|
private String |
description |
static ScalarType |
DOUBLE
The scalar type representing a Java double.
|
static ScalarType |
INT
The scalar type representing a Java integer.
|
static ScalarType |
LONG
The scalar type representing a Java long.
|
private String |
name |
static ScalarType |
STRING
The scalar type representing a Java String.
|
Modifier | Constructor and Description |
---|---|
private |
ScalarType(String name,
String description) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Return the description of this type.
|
String |
getName()
Return the name of this type.
|
String |
toString()
Return a string representing this scalar type.
|
public static final ScalarType INT
public static final ScalarType LONG
public static final ScalarType DOUBLE
public static final ScalarType STRING
private final String description
private ScalarType(String name, String description)
public final String getDescription()