public class XPathObjectBuilder extends CoreObjectBuilder<CoreAbstractRecord,CoreAbstractSession,CoreField,CoreMapping> implements ObjectBuilder
Modifier and Type | Field and Description |
---|---|
static String |
CYCLE_RECOVERABLE |
static String |
CYCLE_RECOVERABLE_CONTEXT |
static String |
ON_CYCLE_DETECTED |
Constructor and Description |
---|
XPathObjectBuilder(CoreDescriptor descriptor) |
public static final String CYCLE_RECOVERABLE
public static final String CYCLE_RECOVERABLE_CONTEXT
public static final String ON_CYCLE_DETECTED
public XPathObjectBuilder(CoreDescriptor descriptor)
public boolean addClassIndicatorFieldToRow(AbstractMarshalRecord abstractMarshalRecord)
addClassIndicatorFieldToRow
in interface ObjectBuilder
public List<Namespace> addExtraNamespacesToNamespaceResolver(Descriptor desc, AbstractMarshalRecord marshalRecord, CoreAbstractSession session, boolean allowOverride, boolean ignoreEqualResolvers)
addExtraNamespacesToNamespaceResolver
in interface ObjectBuilder
public void addTransformationMapping(TransformationMapping transformationMapping)
public Object buildNewInstance()
buildNewInstance
in interface ObjectBuilder
buildNewInstance
in class CoreObjectBuilder<CoreAbstractRecord,CoreAbstractSession,CoreField,CoreMapping>
public XMLRecord buildRow(XMLRecord record, Object object, CoreAbstractSession session, Marshaller marshaller, XPathFragment rootFragment)
buildRow
in interface ObjectBuilder
public Class classFromRow(UnmarshalRecord record, CoreAbstractSession session)
classFromRow
in interface ObjectBuilder
public CoreAbstractRecord createRecord(CoreAbstractSession session)
createRecord
in interface ObjectBuilder
createRecord
in class CoreObjectBuilder<CoreAbstractRecord,CoreAbstractSession,CoreField,CoreMapping>
public Object extractPrimaryKeyFromObject(Object object, CoreAbstractSession session)
CoreObjectBuilder
extractPrimaryKeyFromObject
in interface ObjectBuilder
extractPrimaryKeyFromObject
in class CoreObjectBuilder<CoreAbstractRecord,CoreAbstractSession,CoreField,CoreMapping>
public List<ContainerValue> getContainerValues()
getContainerValues
in interface ObjectBuilder
public List<ContainerValue> getDefaultEmptyContainerValues()
getDefaultEmptyContainerValues
in interface ObjectBuilder
public CoreDescriptor getDescriptor()
getDescriptor
in interface ObjectBuilder
public CoreMapping getMappingForField(CoreField field)
CoreObjectBuilder
getMappingForField
in class CoreObjectBuilder<CoreAbstractRecord,CoreAbstractSession,CoreField,CoreMapping>
public List<NullCapableValue> getNullCapableValues()
getNullCapableValues
in interface ObjectBuilder
public XPathNode getRootXPathNode()
getRootXPathNode
in interface ObjectBuilder
public List<TransformationMapping> getTransformationMappings()
getTransformationMappings
in interface ObjectBuilder
public boolean isXsiTypeIndicatorField()
isXsiTypeIndicatorField
in interface ObjectBuilder
public boolean marshalAttributes(MarshalRecord marshalRecord, Object object, CoreAbstractSession session)
marshalAttributes
in interface ObjectBuilder
EclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference