Class RestDynamicClassWriter
java.lang.Object
org.eclipse.persistence.dynamic.DynamicClassWriter
org.eclipse.persistence.internal.jpa.metadata.MetadataDynamicClassWriter
org.eclipse.persistence.internal.jpa.rs.weaving.RestDynamicClassWriter
- All Implemented Interfaces:
EclipseLinkClassWriter
INTERNAL: RestClassWriter uses ASM to dynamically generate subclasses of
DynamicEntity
with REST specific methods.
- Since:
- EclipseLink 3.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
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
addFields
(ClassWriter cw, String parentClassType) Allow subclasses to add additional state to the dynamic entity.protected void
addMethods
(ClassWriter cw, String parentClassType) Add get methods for all virtual attributesMethods inherited from class org.eclipse.persistence.internal.jpa.metadata.MetadataDynamicClassWriter
getDescriptor
Methods inherited from class org.eclipse.persistence.dynamic.DynamicClassWriter
addInterface, createCopy, createEnum, getInterfaces, getParentClass, getParentClassName, isCompatible, toString, verify, writeClass
-
Field Details
-
WEAVED_REST_LAZY_SHORT_SIGNATURE
- See Also:
-
LIST_RELATIONSHIP_INFO_SIGNATURE
- See Also:
-
LIST_RELATIONSHIP_INFO_GENERIC_SIGNATURE
- See Also:
-
LINK_SIGNATURE
- See Also:
-
ITEM_LINKS_SIGNATURE
- See Also:
-
PERSISTENCE_FIELDNAME_PREFIX
- See Also:
-
-
Constructor Details
-
RestDynamicClassWriter
-
-
Method Details
-
addFields
Description copied from class:DynamicClassWriter
Allow subclasses to add additional state to the dynamic entity.- Overrides:
addFields
in classDynamicClassWriter
-
addMethods
Description copied from class:MetadataDynamicClassWriter
Add get methods for all virtual attributes- Overrides:
addMethods
in classMetadataDynamicClassWriter
-