public class GWEntityAccess extends DefaultEntityAccess
| Modifier and Type | Field and Description |
|---|---|
protected IType |
_beanType |
protected IType |
_entityType |
protected IType |
_keyType |
protected IType |
_typekeyType |
protected IType |
_typelistType |
DEFAULT_LOGGER| Constructor and Description |
|---|
GWEntityAccess() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEnhancementMethods(IType typeToEnhance,
Collection methodsToAddTo) |
void |
addEnhancementProperties(IType typeToEnhance,
Map propertyInfosToAddTo,
boolean caseSensitive) |
boolean |
areBeansEqual(Object bean1,
Object bean2) |
boolean |
areUsesStatementsAllowedInStatementLists(ICompilableType gosuClass) |
protected void |
doInit() |
ITypeUsesMap |
getDefaultTypeUses() |
IPropertyInfo |
getEntityIdProperty(IType rootType) |
IType |
getKeyType() |
ILanguageLevel |
getLanguageLevel() |
boolean |
isDomainInstance(Object value) |
boolean |
isEntityClass(IType type) |
boolean |
shouldAddWarning(IType type,
IParseIssue warning) |
boolean |
verifyValueForType(IType type,
Object value) |
getAdditionalSourceRoots, getCurrentTime, getDefaultTypeLoader, getEntityInstanceFrom, getExtendedTypeDataFactory, getGosuClassLoadingObservers, getHashedEntityId, getLocale, getLocalizedTypeInfoName, getLocalizedTypeName, getLogger, getPluginClassLoader, getPluginRepositories, getWebServerPaths, instance, isInternal, isUnreachableCodeDetectionOn, makeStringFrom, reloadedTypesdoUninit, init, isInited, uninitprotected IType _keyType
protected IType _typekeyType
protected IType _beanType
protected IType _entityType
protected IType _typelistType
protected void doInit()
doInit in class BaseServicepublic ITypeUsesMap getDefaultTypeUses()
getDefaultTypeUses in interface IEntityAccessgetDefaultTypeUses in class DefaultEntityAccesspublic boolean isDomainInstance(Object value)
isDomainInstance in interface IEntityAccessisDomainInstance in class DefaultEntityAccesspublic boolean isEntityClass(IType type)
isEntityClass in interface IEntityAccessisEntityClass in class DefaultEntityAccesspublic boolean areBeansEqual(Object bean1, Object bean2)
areBeansEqual in interface IEntityAccessareBeansEqual in class DefaultEntityAccesspublic boolean verifyValueForType(IType type, Object value) throws RuntimeException
verifyValueForType in interface IEntityAccessverifyValueForType in class DefaultEntityAccessRuntimeExceptionpublic void addEnhancementMethods(IType typeToEnhance, Collection methodsToAddTo)
addEnhancementMethods in interface IEntityAccessaddEnhancementMethods in class DefaultEntityAccesspublic void addEnhancementProperties(IType typeToEnhance, Map propertyInfosToAddTo, boolean caseSensitive)
addEnhancementProperties in interface IEntityAccessaddEnhancementProperties in class DefaultEntityAccesspublic ILanguageLevel getLanguageLevel()
getLanguageLevel in interface IEntityAccessgetLanguageLevel in class DefaultEntityAccesspublic boolean areUsesStatementsAllowedInStatementLists(ICompilableType gosuClass)
areUsesStatementsAllowedInStatementLists in interface IEntityAccessareUsesStatementsAllowedInStatementLists in class DefaultEntityAccesspublic IType getKeyType()
getKeyType in interface IEntityAccessgetKeyType in class DefaultEntityAccesspublic IPropertyInfo getEntityIdProperty(IType rootType)
getEntityIdProperty in interface IEntityAccessgetEntityIdProperty in class DefaultEntityAccesspublic boolean shouldAddWarning(IType type, IParseIssue warning)
shouldAddWarning in interface IEntityAccessshouldAddWarning in class DefaultEntityAccessCopyright © 2016. All rights reserved.