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 ITypeprotected ITypeprotected ITypeprotected ITypeprotected ITypeprivate final ILanguageLevelprivate static final LocklessLazyVar<ITypeUsesMap>private final IFeatureFilterFields inherited from class gw.internal.gosu.parser.DefaultEntityAccess
DEFAULT_LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEnhancementMethods(IType typeToEnhance, Collection methodsToAddTo) voidaddEnhancementProperties(IType typeToEnhance, Map propertyInfosToAddTo, boolean caseSensitive) booleanareBeansEqual(Object bean1, Object bean2) booleanprotected voiddoInit()Get a set of type names that are automatically importedgetEntityIdProperty(IType rootType) booleanisDomainInstance(Object value) booleanisEntityClass(IType type) booleanshouldAddWarning(IType type, IParseIssue warning) booleanverifyValueForType(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, reloadedTypesMethods inherited from class gw.config.BaseService
doUninit, init, isInited, uninitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
doInitin classBaseService
-
getDefaultTypeUses
Description copied from interface:IEntityAccessGet a set of type names that are automatically imported- Specified by:
getDefaultTypeUsesin interfaceIEntityAccess- Overrides:
getDefaultTypeUsesin classDefaultEntityAccess- Returns:
- Set of type names that are automatically imported
-
isDomainInstance
- Specified by:
isDomainInstancein interfaceIEntityAccess- Overrides:
isDomainInstancein classDefaultEntityAccess- Returns:
- x
-
isEntityClass
- Specified by:
isEntityClassin interfaceIEntityAccess- Overrides:
isEntityClassin classDefaultEntityAccess- Returns:
- x
-
areBeansEqual
- Specified by:
areBeansEqualin interfaceIEntityAccess- Overrides:
areBeansEqualin classDefaultEntityAccess- Returns:
- x
-
verifyValueForType
- Specified by:
verifyValueForTypein interfaceIEntityAccess- Overrides:
verifyValueForTypein classDefaultEntityAccess- Throws:
RuntimeException
-
addEnhancementMethods
- Specified by:
addEnhancementMethodsin interfaceIEntityAccess- Overrides:
addEnhancementMethodsin classDefaultEntityAccess
-
addEnhancementProperties
public void addEnhancementProperties(IType typeToEnhance, Map propertyInfosToAddTo, boolean caseSensitive) - Specified by:
addEnhancementPropertiesin interfaceIEntityAccess- Overrides:
addEnhancementPropertiesin classDefaultEntityAccess
-
getLanguageLevel
- Specified by:
getLanguageLevelin interfaceIEntityAccess- Overrides:
getLanguageLevelin classDefaultEntityAccess
-
areUsesStatementsAllowedInStatementLists
- Specified by:
areUsesStatementsAllowedInStatementListsin interfaceIEntityAccess- Overrides:
areUsesStatementsAllowedInStatementListsin classDefaultEntityAccess
-
getKeyType
- Specified by:
getKeyTypein interfaceIEntityAccess- Overrides:
getKeyTypein classDefaultEntityAccess
-
getEntityIdProperty
- Specified by:
getEntityIdPropertyin interfaceIEntityAccess- Overrides:
getEntityIdPropertyin classDefaultEntityAccess
-
shouldAddWarning
- Specified by:
shouldAddWarningin interfaceIEntityAccess- Overrides:
shouldAddWarningin classDefaultEntityAccess
-