Package org.eclipse.persistence.queries
Class FieldResult
java.lang.Object
org.eclipse.persistence.queries.FieldResult
- All Implemented Interfaces:
 Serializable
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.
- See Also:
 - Author:
 - Gordon Yorke
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringStores the name of the bean attributeprotected org.eclipse.persistence.internal.helper.DatabaseFieldStores the Columns name from the result set that contains the attribute valueprotected String[]Stores passed in field name split on the '.' character - 
Constructor Summary
ConstructorsConstructorDescriptionFieldResult(String attributeName, String columnName) FieldResult(String attributeName, org.eclipse.persistence.internal.helper.DatabaseField column)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidadd(FieldResult newFieldResult) INTERNAL: This method is used to support mapping multiple fields, fields are concatenated/added to one fieldResult.org.eclipse.persistence.internal.helper.DatabaseFieldINTERNAL:String[]INTERNAL:getValueFromRecord(DatabaseRecord record) INTERNAL: This method is a convenience method for extracting values from Results 
- 
Field Details
- 
attributeName
Stores the name of the bean attribute - 
multipleFieldIdentifiers
Stores passed in field name split on the '.' character - 
column
protected org.eclipse.persistence.internal.helper.DatabaseField columnStores the Columns name from the result set that contains the attribute value 
 - 
 - 
Constructor Details
- 
FieldResult
 - 
FieldResult
public FieldResult(String attributeName, org.eclipse.persistence.internal.helper.DatabaseField column)  
 - 
 - 
Method Details
- 
getAttributeName
 - 
getColumn
public org.eclipse.persistence.internal.helper.DatabaseField getColumn() - 
getValueFromRecord
INTERNAL: This method is a convenience method for extracting values from Results - 
getFieldResults
INTERNAL: - 
getMultipleFieldIdentifiers
INTERNAL: - 
add
INTERNAL: This method is used to support mapping multiple fields, fields are concatenated/added to one fieldResult. 
 -