Class ClassType

    • Method Detail

      • isCompatibleWith

        public boolean isCompatibleWith​(Type type)
        Checks the compatibility of this with the specified type. A ClassType object is compatible to errorType, to the type of null (NullType), to itself and to a super class (direct or indirect).
        Specified by:
        isCompatibleWith in class Type
        Parameters:
        type - type for compatibility check
        Returns:
        true if this is compatible with type; false otherwise.
        See Also:
        Type.isCompatibleWith(Type)
      • isOrderable

        public boolean isOrderable()
        Returns whether this represents a type with an defined order.
        Overrides:
        isOrderable in class Type
        Returns:
        true if an order is defined for this; false otherwise.
      • isPersistenceCapable

        public boolean isPersistenceCapable()
        Returns true if this is defined as persistence capable class.
        Returns:
        true if this is a persistence capable class; false otherwise.
      • getFieldInfos

        public FieldInfo[] getFieldInfos()
        Returns an array of fieldInfos for all declared fields.
      • getFieldInfo

        public FieldInfo getFieldInfo​(String fieldName)
        Return FieldInfo object for the field with the specified name.
      • getKeyFieldNames

        public List getKeyFieldNames()
        Return the list of key field names