/** * INTERNAL: * Retrieve the value for the field. If missing null is returned. */ public Object get(DatabaseField key) { Object value = getIndicatingNoEntry(key); if (value == oracle.toplink.essentials.internal.sessions.AbstractRecord.noEntry) { return null; } return value; }
/** * PUBLIC: * Retrieves the value with the given field name. * A field is constructed on the name to check the hash table. * If missing, DatabaseRow.noEntry is returned. * @param fieldName String, the DatabaseField name * @return Object - the value */ public Object getIndicatingNoEntry(String fieldName) { return super.getIndicatingNoEntry(fieldName); }
/** * PUBLIC: * Retrieve the value for the field name. * A field is constructed on the name to check the hash table. * If missing null is returned. */ public Object get(String fieldName) { Object value = getIndicatingNoEntry(fieldName); if (value == oracle.toplink.essentials.internal.sessions.AbstractRecord.noEntry) { return null; } return value; }
/** * PUBLIC: * Retrieve the value for the field name. * A field is constructed on the name to check the hash table. * If missing DatabaseRow.noEntry is returned. */ public Object getIndicatingNoEntry(String fieldName) { // Optimized the field creation. if (this.lookupField == null) { this.lookupField = new DatabaseField(fieldName); } else { this.lookupField.resetQualifiedName(fieldName); } return getIndicatingNoEntry(this.lookupField); }
value = translationRow.getIndicatingNoEntry(getField());