public class PrimitiveTypeFactory extends Object
Call getInstance() to get a handle on the singleton.
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllTypeNames()
Return a list of all built-in type names
|
Collection<IDataType> |
getAllTypes() |
static PrimitiveTypeFactory |
getInstance() |
NRLDataType |
getNrlType(String name)
Return the NRL data type of a built-in type, given its name
|
IDataType |
getType(NRLDataType nrlType)
Return a data type object corresponding to the given NRL type.
|
IDataType |
getType(String name)
Return a data type by name.
|
public static PrimitiveTypeFactory getInstance()
public List<String> getAllTypeNames()
public Collection<IDataType> getAllTypes()
public IDataType getType(NRLDataType nrlType)
nrlType - public NRLDataType getNrlType(String name)
name - the nameNRLDataType.UNKNOWN if not possibleCopyright © 2006-2013. All Rights Reserved.