Interface IEntityAccess

    • Method Detail

      • getDefaultTypeUses

        ITypeUsesMap getDefaultTypeUses()
        Get a set of type names that are automatically imported
        Returns:
        Set of type names that are automatically imported
      • isDomainInstance

        boolean isDomainInstance​(Object value)
      • isEntityClass

        boolean isEntityClass​(IType type)
      • getEntityInstanceFrom

        Object getEntityInstanceFrom​(Object entity,
                                     IType classDomain)
      • areBeansEqual

        boolean areBeansEqual​(Object bean1,
                              Object bean2)
      • verifyValueForType

        boolean verifyValueForType​(IType type,
                                   Object value)
      • getHashedEntityId

        long getHashedEntityId​(String strId,
                               IType classEntity)
      • isInternal

        boolean isInternal​(IType type)
      • getLogger

        ILogger getLogger()
        Returns:
        the main logger for all Gosu subsystems. This logger must be available at all times during Gosu startup and execution.
      • getLocale

        Locale getLocale()
      • getCurrentTime

        Date getCurrentTime()
      • addEnhancementMethods

        void addEnhancementMethods​(IType typeToEnhance,
                                   Collection methodsToAddTo)
      • addEnhancementProperties

        void addEnhancementProperties​(IType typeToEnhance,
                                      Map propertyInfosToAddTo,
                                      boolean caseSensitive)
      • getPluginClassLoader

        ClassLoader getPluginClassLoader()
      • getWebServerPaths

        String getWebServerPaths()
      • isUnreachableCodeDetectionOn

        boolean isUnreachableCodeDetectionOn()
      • getKeyType

        IType getKeyType()
      • shouldAddWarning

        boolean shouldAddWarning​(IType type,
                                 IParseIssue warning)
      • areUsesStatementsAllowedInStatementLists

        boolean areUsesStatementsAllowedInStatementLists​(ICompilableType gosuClass)
      • getAdditionalSourceRoots

        List<IDirectory> getAdditionalSourceRoots()
      • reloadedTypes

        void reloadedTypes​(String[] types)
      • getLocalizedTypeName

        String getLocalizedTypeName​(IType type)
      • getLocalizedTypeInfoName

        String getLocalizedTypeInfoName​(IType type)