/** * INTERNAL: * Given a DatabaseField return the corresponding value from the document */ public Object getIndicatingNoEntry(DatabaseField key) { return getIndicatingNoEntry(key, false, false); }
public Object get(DatabaseField key) { Object value = getIndicatingNoEntry(key); if(value == noEntry) { return null; } return value; } /**
public Object getIndicatingNoEntry(DatabaseField key, boolean shouldReturnNode) { return getIndicatingNoEntry(key, shouldReturnNode, false); }
public Object get(DatabaseField key) { Object value = getIndicatingNoEntry(key); if(value == noEntry) { return null; } return value; } /**
public Object get(DatabaseField key) { Object value = getIndicatingNoEntry(key); if(value == noEntry) { return null; } return value; } /**
/** * INTERNAL: * Given a DatabaseField return the corresponding value from the document */ public Object getIndicatingNoEntry(DatabaseField key) { return getIndicatingNoEntry(key, false, false); }
/** * INTERNAL: * Given a DatabaseField return the corresponding value from the document */ public Object getIndicatingNoEntry(DatabaseField key) { return getIndicatingNoEntry(key, false, false); }
public Object getIndicatingNoEntry(DatabaseField key, boolean shouldReturnNode) { return getIndicatingNoEntry(key, shouldReturnNode, false); }
public Object getIndicatingNoEntry(DatabaseField key, boolean shouldReturnNode) { return getIndicatingNoEntry(key, shouldReturnNode, false); }
/** * INTERNAL: * Return the mapping's attribute value from the row. * The execution session is passed for the case of building a UnitOfWork clone * directly from a row, the session set in the query will not know which platform to use * for converting the value. Allows the correct session to be passed in. */ public Object valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) { // PERF: Direct variable access. boolean shouldCheckForXsiNil = getNullPolicy().isNullRepresentedByXsiNil(); return getAttributeValue(((DOMRecord)row).getIndicatingNoEntry(this.field, false, shouldCheckForXsiNil), executionSession, (XMLRecord)row); }
/** * INTERNAL: * Return the mapping's attribute value from the row. * The execution session is passed for the case of building a UnitOfWork clone * directly from a row, the session set in the query will not know which platform to use * for converting the value. Allows the correct session to be passed in. */ public Object valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, AbstractSession executionSession) { // PERF: Direct variable access. boolean shouldCheckForXsiNil = getNullPolicy().isNullRepresentedByXsiNil(); return getAttributeValue(((DOMRecord)row).getIndicatingNoEntry(this.field, false, shouldCheckForXsiNil), executionSession, (XMLRecord)row); }
/** * INTERNAL: * Return the mapping's attribute value from the row. * The execution session is passed for the case of building a UnitOfWork clone * directly from a row, the session set in the query will not know which platform to use * for converting the value. Allows the correct session to be passed in. */ public Object valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) { // PERF: Direct variable access. boolean shouldCheckForXsiNil = getNullPolicy().isNullRepresentedByXsiNil(); return getAttributeValue(((DOMRecord)row).getIndicatingNoEntry(this.field, false, shouldCheckForXsiNil), executionSession, (XMLRecord)row); }
public Object valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, AbstractSession executionSession) { Object value = ((DOMRecord)row).getIndicatingNoEntry(this.getField(), true); if (value instanceof Element) { XMLPlatformFactory.getInstance().getXMLPlatform().namespaceQualifyFragment((Element)value); } return value; }
public Object valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) { DOMRecord domRecord = (DOMRecord) row; Object value = domRecord.getIndicatingNoEntry(this.getField(), true); if(value == domRecord) { value = domRecord.getDOM(); } if (value instanceof Element) { XMLPlatformFactory.getInstance().getXMLPlatform().namespaceQualifyFragment((Element)value); } return value; }
public Object valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) { DOMRecord domRecord = (DOMRecord) row; Object value = domRecord.getIndicatingNoEntry(this.getField(), true); if(value == domRecord) { value = domRecord.getDOM(); } if (value instanceof Element) { XMLPlatformFactory.getInstance().getXMLPlatform().namespaceQualifyFragment((Element)value); } return value; }
XMLField incField = new XMLField(xpath); incField.setNamespaceResolver(resolver); Object obj = include.getIndicatingNoEntry(incField); if (obj != null && obj instanceof DOMRecord) { if (((DOMRecord) obj).getDOM().getNodeType() == Node.ELEMENT_NODE) {
XMLField incField = new XMLField(xpath); incField.setNamespaceResolver(resolver); Object obj = include.getIndicatingNoEntry(incField); if (obj != null && obj instanceof DOMRecord) { if (((DOMRecord) obj).getDOM().getNodeType() == Node.ELEMENT_NODE) {
XMLField incField = new XMLField(xpath); incField.setNamespaceResolver(resolver); Object obj = include.getIndicatingNoEntry(incField); if (obj != null && obj instanceof DOMRecord) { if (((DOMRecord) obj).getDOM().getNodeType() == Node.ELEMENT_NODE) {