Class Types
- java.lang.Object
-
- net.ssehub.easy.varModel.model.datatypes.Types
-
public class Types extends java.lang.ObjectCollects all types defined for IVML.- Author:
- Holger Eichelberger
-
-
Constructor Summary
Constructors Modifier Constructor Description privateTypes()Prevents external creation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static voidaddBasicType(IDatatype type)Registers a basic type for retrieval by name.static IDatatypegetBasicTypeByName(java.lang.String name)Returns a basic type by name.static IDatatype[]getTypes()Returns the currently known types.
-
-
-
Method Detail
-
getTypes
public static final IDatatype[] getTypes()
Returns the currently known types.- Returns:
- the currently known types
-
addBasicType
private static void addBasicType(IDatatype type)
Registers a basic type for retrieval by name.- Parameters:
type- the basic type
-
getBasicTypeByName
public static final IDatatype getBasicTypeByName(java.lang.String name)
Returns a basic type by name.- Parameters:
name- the name of the type- Returns:
- the basic type or null if not found
-
-