Class IdHelper
java.lang.Object
org.eclipse.persistence.jpa.rs.util.IdHelper
EclipseLink helper class used for converting composite key values passed into
JAX-RS calls as query or matrix parameters into a value that can be used in a
find.
- Since:
- EclipseLink 2.4.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
buildId
(PersistenceContext app, String entityName, String idString) static Object
buildObjectShell
(PersistenceContext context, String entityType, Object id) build a shell of an object based on a primary key.static String
stringifyId
(Object entity, String typeName, PersistenceContext app)
-
Constructor Details
-
IdHelper
public IdHelper()
-
-
Method Details
-
buildId
-
stringifyId
-
buildObjectShell
build a shell of an object based on a primary key. The object shell will be an instance of the object with only primary key populated
-