public class DefaultEntityAccess extends BaseService implements IEntityAccess
| Modifier and Type | Field and Description |
|---|---|
static SystemOutLogger |
DEFAULT_LOGGER |
| Constructor and Description |
|---|
DefaultEntityAccess() |
public static final SystemOutLogger DEFAULT_LOGGER
public static DefaultEntityAccess instance()
public ITypeLoader getDefaultTypeLoader()
public ITypeUsesMap getDefaultTypeUses()
getDefaultTypeUses in interface IEntityAccesspublic boolean isDomainInstance(Object value)
isDomainInstance in interface IEntityAccesspublic boolean isEntityClass(IType cls)
isEntityClass in interface IEntityAccesspublic Object getEntityInstanceFrom(Object entity, IType classEntity)
getEntityInstanceFrom in interface IEntityAccesspublic boolean areBeansEqual(Object bean1, Object bean2)
areBeansEqual in interface IEntityAccesspublic boolean verifyValueForType(IType type, Object value) throws RuntimeException
verifyValueForType in interface IEntityAccesstype - value - RuntimeExceptionpublic String makeStringFrom(Object obj)
makeStringFrom in interface IEntityAccesspublic long getHashedEntityId(String strId, IType classEntity)
getHashedEntityId in interface IEntityAccesspublic boolean isInternal(IType cls)
isInternal in interface IEntityAccesspublic ILogger getLogger()
getLogger in interface IEntityAccesspublic Locale getLocale()
getLocale in interface IEntityAccesspublic Date getCurrentTime()
getCurrentTime in interface IEntityAccesspublic void addEnhancementMethods(IType typeToEnhance, Collection methodsToAddTo)
addEnhancementMethods in interface IEntityAccesspublic void addEnhancementProperties(IType typeToEnhance, Map propertyInfosToAddTo, boolean caseSensitive)
addEnhancementProperties in interface IEntityAccesspublic ClassLoader getPluginClassLoader()
getPluginClassLoader in interface IEntityAccesspublic StringBuilder getPluginRepositories()
getPluginRepositories in interface IEntityAccesspublic String getWebServerPaths()
getWebServerPaths in interface IEntityAccesspublic boolean isUnreachableCodeDetectionOn()
isUnreachableCodeDetectionOn in interface IEntityAccesspublic IType getKeyType()
getKeyType in interface IEntityAccesspublic IPropertyInfo getEntityIdProperty(IType rootType)
getEntityIdProperty in interface IEntityAccesspublic boolean shouldAddWarning(IType type, IParseIssue warning)
shouldAddWarning in interface IEntityAccesspublic ILanguageLevel getLanguageLevel()
getLanguageLevel in interface IEntityAccesspublic List<IGosuClassLoadingObserver> getGosuClassLoadingObservers()
getGosuClassLoadingObservers in interface IEntityAccesspublic boolean areUsesStatementsAllowedInStatementLists(ICompilableType gosuClass)
areUsesStatementsAllowedInStatementLists in interface IEntityAccesspublic List<IDirectory> getAdditionalSourceRoots()
getAdditionalSourceRoots in interface IEntityAccesspublic void reloadedTypes(String[] types)
reloadedTypes in interface IEntityAccesspublic ExtendedTypeDataFactory getExtendedTypeDataFactory(String typeName)
getExtendedTypeDataFactory in interface IEntityAccesspublic String getLocalizedTypeName(IType type)
getLocalizedTypeName in interface IEntityAccesspublic String getLocalizedTypeInfoName(IType type)
getLocalizedTypeInfoName in interface IEntityAccessCopyright © 2017. All rights reserved.