Module org.eclipse.persistence.core
Class CoreObjectBuilder<ABSTRACT_RECORD extends CoreAbstractRecord,ABSTRACT_SESSION extends CoreAbstractSession,FIELD extends CoreField,MAPPING extends CoreMapping>
java.lang.Object
org.eclipse.persistence.internal.core.descriptors.CoreObjectBuilder<ABSTRACT_RECORD,ABSTRACT_SESSION,FIELD,MAPPING>
- Direct Known Subclasses:
ObjectBuilder
,XPathObjectBuilder
public abstract class CoreObjectBuilder<ABSTRACT_RECORD extends CoreAbstractRecord,ABSTRACT_SESSION extends CoreAbstractSession,FIELD extends CoreField,MAPPING extends CoreMapping>
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Object
Return a new instance of the receiver's javaClass.abstract ABSTRACT_RECORD
createRecord
(ABSTRACT_SESSION session) Create a new row/record for the object builder.abstract ABSTRACT_RECORD
createRecordFromXMLContext
(XMLContext context) Create a new row/record from XMLContext.abstract Object
extractPrimaryKeyFromObject
(Object domainObject, ABSTRACT_SESSION session) Extract primary key attribute values from the domainObject.abstract MAPPING
getMappingForField
(FIELD field) Return the mapping for the specified field.
-
Constructor Details
-
CoreObjectBuilder
protected CoreObjectBuilder()Default constructor.
-
-
Method Details
-
buildNewInstance
Return a new instance of the receiver's javaClass. -
createRecord
Create a new row/record for the object builder. This allows subclasses to define different record types. -
createRecordFromXMLContext
Create a new row/record from XMLContext. -
extractPrimaryKeyFromObject
Extract primary key attribute values from the domainObject. -
getMappingForField
Return the mapping for the specified field.
-