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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.eclipse.persistence.dynamic.DynamicClassWriter
CLINIT, DYNAMIC_PROPERTIES_MANAGER_CLASSNAME_SLASHES, ICONST, INIT, parentClass, parentClassName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddFields(ClassWriter cw, String parentClassType) Allow subclasses to add additional state to the dynamic entity.protected voidaddMethods(ClassWriter cw, String parentClassType) Add get methods for all virtual attributesMethods inherited from class org.eclipse.persistence.internal.jpa.metadata.MetadataDynamicClassWriter
getDescriptorMethods 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:DynamicClassWriterAllow subclasses to add additional state to the dynamic entity.- Overrides:
addFieldsin classDynamicClassWriter
-
addMethods
Description copied from class:MetadataDynamicClassWriterAdd get methods for all virtual attributes- Overrides:
addMethodsin classMetadataDynamicClassWriter
-