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.
- Since:
- TopLink Java Essentials
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
Stores the name of the bean attributeprotected DatabaseField
Stores the Columns name from the result set that contains the attribute valueprotected String[]
Stores passed in field name split on the '.' character -
Constructor Summary
ConstructorDescriptionFieldResult
(String attributeName, String columnName) FieldResult
(String attributeName, DatabaseField column) -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(FieldResult newFieldResult) INTERNAL: This method is used to support mapping multiple fields, fields are concatenated/added to one fieldResult.INTERNAL: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
Stores the Columns name from the result set that contains the attribute value
-
-
Constructor Details
-
FieldResult
-
FieldResult
-
-
Method Details
-
getAttributeName
-
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.
-