Uses of Class
org.eclipse.persistence.exceptions.DynamicException
-
Packages that use DynamicException Package Description org.eclipse.persistence.dynamic org.eclipse.persistence.exceptions org.eclipse.persistence.internal.dynamic -
-
Uses of DynamicException in org.eclipse.persistence.dynamic
Methods in org.eclipse.persistence.dynamic that throw DynamicException Modifier and Type Method Description voidDynamicClassLoader. addClass(String className, EclipseLinkClassWriter writer)Register a class to be dynamically created using the providedDynamicClassWriter.<T> TDynamicEntity. get(String propertyName)Return the persistence value for the given property as the specified type.booleanDynamicEntity. isSet(String propertyName)Discover if a property has a persistent valueDynamicEntityDynamicEntity. set(String propertyName, Object value)Set the persistence value for the given property to the specified value -
Uses of DynamicException in org.eclipse.persistence.exceptions
Methods in org.eclipse.persistence.exceptions that return DynamicException Modifier and Type Method Description static DynamicExceptionDynamicException. entityHasNullType(DynamicEntity entity)TheDynamicEntityhas a null type indicating an illegal state of the entity.static DynamicExceptionDynamicException. entityNotFoundException(String message)ADynamicEntitycould not be foundstatic DynamicExceptionDynamicException. illegalDynamicClassWriter(DynamicClassLoader loader, String parentClassName)ADynamicClassWriterwas attempted to be instantiated with a null loader or invalid parentClassName.static DynamicExceptionDynamicException. illegalParentClassName(String parentClassName)A null or empty string was provided as the parent class for a dynamic class being registered for creation.static DynamicExceptionDynamicException. incompatibleDuplicateWriters(String className, EclipseLinkClassWriter existingWriter, EclipseLinkClassWriter writer)A call toDynamicClassLoader.addClass(String, org.eclipse.persistence.dynamic.EclipseLinkClassWriter)orDynamicClassLoader.createDynamicClass(String, DynamicClassWriter)was invoked with a className that already had aDynamicClassWriterthat is not compatible with the provided writer.static DynamicExceptionDynamicException. invalidGetPropertyType(DatabaseMapping mapping, ClassCastException cce)A request to get a persistent value from a DynamicEntity was made providing a propertyName that does exist but the provided return type failed when casting.static DynamicExceptionDynamicException. invalidPropertyIndex(DynamicType type, int propertyIndex)Exception throw when attempting to access a dynamic property by index which does not have an associated mapping.static DynamicExceptionDynamicException. invalidPropertyName(DynamicType type, String propertyName)A request to get a persistent value from a DynamicEntity was made providing a propertyName that does not correspond to any mappings in the underlying descriptor.static DynamicExceptionDynamicException. invalidSetPropertyType(DatabaseMapping mapping, Object value)Invalid value attempted to be set into aDynamicEntity's property. -
Uses of DynamicException in org.eclipse.persistence.internal.dynamic
Methods in org.eclipse.persistence.internal.dynamic that throw DynamicException Modifier and Type Method Description voidDynamicTypeImpl. checkSet(String propertyName, Object value)Ensure the value being set is supported by the mapping.<T> TDynamicEntityImpl. get(String propertyName)DynamicTypeImplDynamicEntityImpl. getType()Gets internal impl class ofDynamicType.booleanDynamicEntityImpl. isSet(String propertyName)DynamicEntityDynamicEntityImpl. set(String propertyName, Object value)DynamicEntityDynamicEntityImpl. set(String propertyName, Object value, boolean firePropertyChange)Sets the.
-