Class AttributeType

    • Method Detail

      • allTypes

        public static Collection allTypes()
        Returns all instances of AttributeType.
      • toAttributeType

        public static final AttributeType toAttributeType​(String name)
        Converts a type name to an AttributeType.
        Parameters:
        typename - the name of the AttributeType to retrieve
        Returns:
        the corresponding AttributeType
        Throws:
        InvalidAttributeTypeException - if the type name is unrecognized
      • toJavaClass

        public Class toJavaClass()
        Returns the Java class of attributes that are said to be of this AttributeType.
      • toAttributeType

        public static AttributeType toAttributeType​(Class javaClass)
        Returns the AttributeType of attributes that are instances of the given class, or null if it is not associated with any AttributeType.