public class NameAndType
extends java.lang.Object
| Constructor and Description |
|---|
NameAndType(java.lang.String name,
ValueType dataType)
Constructor that creates a NameAndType with specified name and dataType
|
NameAndType(java.lang.String name,
ValueType dataType,
ValueType listElementType)
Constructor that creates a NameAndType with specified name, dataType and listElementType
|
| Modifier and Type | Method and Description |
|---|---|
ValueType |
getDataType()
Returns the Tecton data type as a
ValueType |
java.util.Optional<ValueType> |
getListElementType()
Returns the array element type if present, Optional.empty() otherwise
|
java.lang.String |
getName()
Returns the name
|
public NameAndType(java.lang.String name,
ValueType dataType)
name - NamedataType - one of ValueType values