public Object valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) throws DatabaseException { XMLRecord record = (XMLRecord) row; if (getField() != null) { //Get the nested row represented by this field to build the collection from Object nested = record.get(getField()); if (nested instanceof Vector) { nested = ((Vector) nested).firstElement(); } if (!(nested instanceof XMLRecord)) { return null; } record = (XMLRecord) nested; } return buildObjectValuesFromDOMRecord((DOMRecord) record, executionSession, sourceQuery, joinManager); }
public Object valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) throws DatabaseException { XMLRecord record = (XMLRecord) row; if (getField() != null) { //Get the nested row represented by this field to build the collection from Object nested = record.get(getField()); if (nested instanceof Vector) { nested = ((Vector) nested).firstElement(); } if (!(nested instanceof XMLRecord)) { return null; } record = (XMLRecord) nested; } return buildObjectValuesFromDOMRecord((DOMRecord) record, executionSession, sourceQuery, joinManager); }
public Object valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession) throws DatabaseException { XMLRecord record = (XMLRecord) row; if (getField() != null) { //Get the nested row represented by this field to build the collection from Object nested = record.get(getField()); if (nested instanceof Vector) { nested = ((Vector) nested).firstElement(); } if (!(nested instanceof XMLRecord)) { return null; } record = (XMLRecord) nested; } return buildObjectValuesFromDOMRecord((DOMRecord) record, executionSession, sourceQuery, joinManager); }
XMLField field = (XMLField) this.getField(); Iterator mappings = parentDesc.getMappings().iterator(); int mappingsInContext = 0;
public Object clone() { // Bug 3037701 - clone the AttributeAccessor XMLAnyCollectionMapping mapping = null; mapping = (XMLAnyCollectionMapping) super.clone(); mapping.setContainerPolicy(this.getContainerPolicy()); mapping.setField(this.getField()); return mapping; }
XMLField field = (XMLField) this.getField(); Iterator mappings = parentDesc.getMappings().iterator(); int mappingsInContext = 0;
XMLField field = (XMLField) this.getField(); Iterator mappings = parentDesc.getMappings().iterator(); int mappingsInContext = 0;
public Object clone() { // Bug 3037701 - clone the AttributeAccessor XMLAnyCollectionMapping mapping = null; mapping = (XMLAnyCollectionMapping) super.clone(); mapping.setContainerPolicy(this.getContainerPolicy()); mapping.setField(this.getField()); return mapping; }
public Object clone() { // Bug 3037701 - clone the AttributeAccessor XMLAnyCollectionMapping mapping = null; mapping = (XMLAnyCollectionMapping) super.clone(); mapping.setContainerPolicy(this.getContainerPolicy()); mapping.setField(this.getField()); return mapping; }
root = XPathEngine.getInstance().create((XMLField) getField(), record.getDOM(), session); DOMRecord rootRecord = new DOMRecord(root); rootRecord.setSession(session);
root = XPathEngine.getInstance().create((XMLField) getField(), record.getDOM(), session); DOMRecord rootRecord = new DOMRecord(root); rootRecord.setSession(session);
root = XPathEngine.getInstance().create((XMLField) getField(), record.getDOM(), session); DOMRecord rootRecord = new DOMRecord(root); rootRecord.setSession(session);