Class Types


  • public class Types
    extends java.lang.Object
    Collects all types defined for IVML.
    Author:
    Holger Eichelberger
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.Map<java.lang.String,​IDatatype> BASIC  
      private static IDatatype[] TYPES  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Types()
      Prevents external creation.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static void addBasicType​(IDatatype type)
      Registers a basic type for retrieval by name.
      static IDatatype getBasicTypeByName​(java.lang.String name)
      Returns a basic type by name.
      static IDatatype[] getTypes()
      Returns the currently known types.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • TYPES

        private static final IDatatype[] TYPES
      • BASIC

        private static final java.util.Map<java.lang.String,​IDatatype> BASIC
    • Constructor Detail

      • Types

        private Types()
        Prevents external creation.
    • 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