Class GWEntityAccess
java.lang.Object
gw.config.BaseService
gw.internal.gosu.parser.DefaultEntityAccess
gw.internal.gosu.parser.gwPlatform.GWEntityAccess
- All Implemented Interfaces:
IService
,IEntityAccess
,IPluginHost
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IType
protected IType
protected IType
protected IType
protected IType
private final ILanguageLevel
private static final LocklessLazyVar<ITypeUsesMap>
private final IFeatureFilter
Fields inherited from class gw.internal.gosu.parser.DefaultEntityAccess
DEFAULT_LOGGER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEnhancementMethods
(IType typeToEnhance, Collection methodsToAddTo) void
addEnhancementProperties
(IType typeToEnhance, Map propertyInfosToAddTo, boolean caseSensitive) boolean
areBeansEqual
(Object bean1, Object bean2) boolean
protected void
doInit()
Get a set of type names that are automatically importedgetEntityIdProperty
(IType rootType) boolean
isDomainInstance
(Object value) boolean
isEntityClass
(IType type) boolean
shouldAddWarning
(IType type, IParseIssue warning) boolean
verifyValueForType
(IType type, Object value) Methods inherited from class gw.internal.gosu.parser.DefaultEntityAccess
getAdditionalSourceRoots, getCurrentTime, getDefaultTypeLoader, getEntityInstanceFrom, getExtendedTypeDataFactory, getGosuClassLoadingObservers, getHashedEntityId, getLocale, getLocalizedTypeInfoName, getLocalizedTypeName, getLogger, getPluginClassLoader, getPluginRepositories, getTimeZone, getWebServerPaths, instance, isInternal, isUnreachableCodeDetectionOn, makeStringFrom, reloadedTypes
Methods inherited from class gw.config.BaseService
doUninit, init, isInited, uninit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gw.plugin.IPluginHost
getInterface
-
Field Details
-
PL_DEFAULT_TYPE_USES
-
LANGUAGE_LEVEL
-
QUERY_EXPRESSION_FEATURE_FILTER
-
_keyType
-
_typekeyType
-
_beanType
-
_entityType
-
_typelistType
-
-
Constructor Details
-
GWEntityAccess
public GWEntityAccess()
-
-
Method Details
-
doInit
protected void doInit()- Overrides:
doInit
in classBaseService
-
getDefaultTypeUses
Description copied from interface:IEntityAccess
Get a set of type names that are automatically imported- Specified by:
getDefaultTypeUses
in interfaceIEntityAccess
- Overrides:
getDefaultTypeUses
in classDefaultEntityAccess
- Returns:
- Set of type names that are automatically imported
-
isDomainInstance
- Specified by:
isDomainInstance
in interfaceIEntityAccess
- Overrides:
isDomainInstance
in classDefaultEntityAccess
- Returns:
- x
-
isEntityClass
- Specified by:
isEntityClass
in interfaceIEntityAccess
- Overrides:
isEntityClass
in classDefaultEntityAccess
- Returns:
- x
-
areBeansEqual
- Specified by:
areBeansEqual
in interfaceIEntityAccess
- Overrides:
areBeansEqual
in classDefaultEntityAccess
- Returns:
- x
-
verifyValueForType
- Specified by:
verifyValueForType
in interfaceIEntityAccess
- Overrides:
verifyValueForType
in classDefaultEntityAccess
- Throws:
RuntimeException
-
addEnhancementMethods
- Specified by:
addEnhancementMethods
in interfaceIEntityAccess
- Overrides:
addEnhancementMethods
in classDefaultEntityAccess
-
addEnhancementProperties
public void addEnhancementProperties(IType typeToEnhance, Map propertyInfosToAddTo, boolean caseSensitive) - Specified by:
addEnhancementProperties
in interfaceIEntityAccess
- Overrides:
addEnhancementProperties
in classDefaultEntityAccess
-
getLanguageLevel
- Specified by:
getLanguageLevel
in interfaceIEntityAccess
- Overrides:
getLanguageLevel
in classDefaultEntityAccess
-
areUsesStatementsAllowedInStatementLists
- Specified by:
areUsesStatementsAllowedInStatementLists
in interfaceIEntityAccess
- Overrides:
areUsesStatementsAllowedInStatementLists
in classDefaultEntityAccess
-
getKeyType
- Specified by:
getKeyType
in interfaceIEntityAccess
- Overrides:
getKeyType
in classDefaultEntityAccess
-
getEntityIdProperty
- Specified by:
getEntityIdProperty
in interfaceIEntityAccess
- Overrides:
getEntityIdProperty
in classDefaultEntityAccess
-
shouldAddWarning
- Specified by:
shouldAddWarning
in interfaceIEntityAccess
- Overrides:
shouldAddWarning
in classDefaultEntityAccess
-