Class PrimitiveTypeFactory
- java.lang.Object
-
- de.tudresden.inf.lat.tabulas.datatype.PrimitiveTypeFactory
-
public class PrimitiveTypeFactory extends Object
This models a factory of primitive types.
-
-
Constructor Summary
Constructors Constructor Description PrimitiveTypeFactory(scala.collection.immutable.Map<String,PrimitiveType> map)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrimitiveTypeFactory
apply()
boolean
contains(String primType)
Tells whether this factory contains the given primitive type.scala.Option<PrimitiveType>
getType(String typeName)
Returns the type for the given name
-
-
-
Constructor Detail
-
PrimitiveTypeFactory
public PrimitiveTypeFactory(scala.collection.immutable.Map<String,PrimitiveType> map)
-
-
Method Detail
-
apply
public static PrimitiveTypeFactory apply()
-
contains
public boolean contains(String primType)
Tells whether this factory contains the given primitive type.- Parameters:
primType
- primitive type- Returns:
true
if and only if this factory contains the given primitive type
-
getType
public scala.Option<PrimitiveType> getType(String typeName)
Returns the type for the given name- Parameters:
typeName
- type name- Returns:
-
-