Module org.eclipse.persistence.jpa
Class MetadataDynamicClassWriter
java.lang.Object
org.eclipse.persistence.dynamic.DynamicClassWriter
org.eclipse.persistence.internal.jpa.metadata.MetadataDynamicClassWriter
- All Implemented Interfaces:
EclipseLinkClassWriter
- Direct Known Subclasses:
RestDynamicClassWriter
Custom
DynamicClassWriter
adding getter methods for virtual
attributes so that 3rd party frameworks such as jakarta.validation can access
the attribute values.- Since:
- EclipseLink 2.4.1
-
Field Summary
Fields inherited from class org.eclipse.persistence.dynamic.DynamicClassWriter
CLINIT, DYNAMIC_PROPERTIES_MANAGER_CLASSNAME_SLASHES, ICONST, INIT, parentClass, parentClassName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addMethods
(ClassWriter cw, String parentClassType) Add get methods for all virtual attributesMethods inherited from class org.eclipse.persistence.dynamic.DynamicClassWriter
addFields, addInterface, createCopy, createEnum, getInterfaces, getParentClass, getParentClassName, isCompatible, toString, verify, writeClass
-
Constructor Details
-
MetadataDynamicClassWriter
-
-
Method Details
-
getDescriptor
-
addMethods
Add get methods for all virtual attributes- Overrides:
addMethods
in classDynamicClassWriter
-