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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ObjectReturn a new instance of the receiver's javaClass.abstract ABSTRACT_RECORDcreateRecord(ABSTRACT_SESSION session) Create a new row/record for the object builder.abstract ABSTRACT_RECORDcreateRecordFromXMLContext(XMLContext context) Create a new row/record from XMLContext.abstract ObjectextractPrimaryKeyFromObject(Object domainObject, ABSTRACT_SESSION session) Extract primary key attribute values from the domainObject.abstract MAPPINGgetMappingForField(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.
-