|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
org.eclipse.persistence.queries.FieldResult
public class FieldResult
Purpose: Concrete class to represent the FieldResult structure as defined by the EJB 3.0 Persistence specification. This class is a subcomponent of the EntityResult.
EntityResult| Field Summary | |
|---|---|
protected java.lang.String |
attributeNameStores the name of the bean attribute |
protected org.eclipse.persistence.internal.helper.DatabaseField |
columnStores the Columns name from the result set that contains the attribute value |
(package private) java.util.Vector |
fieldResultsFieldResult now can contain multiple FieldResults in a collection if an attribute has multiple fields |
protected java.lang.String[] |
multipleFieldIdentifiersStores passed in field name split on the '.' character |
| Constructor Summary | |
|---|---|
FieldResult(java.lang.String attributeName, org.eclipse.persistence.internal.helper.DatabaseField column) |
|
FieldResult(java.lang.String attributeName, java.lang.String columnName) |
|
| Method Summary | |
|---|---|
void |
add(FieldResult newFieldResult)INTERNAL: This method is used to support mapping multiple fields, fields are concatenated/added to one fieldResult. |
java.lang.String |
getAttributeName() |
org.eclipse.persistence.internal.helper.DatabaseField |
getColumn() |
java.util.Vector |
getFieldResults()INTERNAL: |
java.lang.String[] |
getMultipleFieldIdentifiers()INTERNAL: |
java.lang.Object |
getValueFromRecord(DatabaseRecord record)INTERNAL: This method is a convenience method for extracting values from Results |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String attributeName
protected java.lang.String[] multipleFieldIdentifiers
java.util.Vector fieldResults
protected org.eclipse.persistence.internal.helper.DatabaseField column
| Constructor Detail |
|---|
public FieldResult(java.lang.String attributeName,
java.lang.String columnName)
public FieldResult(java.lang.String attributeName,
org.eclipse.persistence.internal.helper.DatabaseField column)
| Method Detail |
|---|
public java.lang.String getAttributeName()
public org.eclipse.persistence.internal.helper.DatabaseField getColumn()
public java.lang.Object getValueFromRecord(DatabaseRecord record)
public java.util.Vector getFieldResults()
public java.lang.String[] getMultipleFieldIdentifiers()
public void add(FieldResult newFieldResult)
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||