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
| Modifier and Type | Field and Description |
|---|---|
| protected String | attributeName
Stores the name of the bean attribute |
| protected DatabaseField | column
Stores the Columns name from the result set that contains the attribute value |
| pack-priv Vector | fieldResults
FieldResult now can contain multiple FieldResults in a collection if an attribute has multiple fields |
| protected String[] | multipleFieldIdentifiers
Stores passed in field name split on the '.' character |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(FieldResult newFieldResult)
INTERNAL: This method is used to support mapping multiple fields, fields are concatenated/added to one fieldResult. |
| public String | |
| public DatabaseField | |
| public Vector | |
| public String[] | |
| public Object | getValueFromRecord(DatabaseRecord record)
INTERNAL: This method is a convenience method for extracting values from Results |
| attributeName | back to summary |
|---|---|
| protected String attributeName Stores the name of the bean attribute | |
| column | back to summary |
|---|---|
| protected DatabaseField column Stores the Columns name from the result set that contains the attribute value | |
| fieldResults | back to summary |
|---|---|
| pack-priv Vector<FieldResult> fieldResults FieldResult now can contain multiple FieldResults in a collection if an attribute has multiple fields | |
| multipleFieldIdentifiers | back to summary |
|---|---|
| protected String[] multipleFieldIdentifiers Stores passed in field name split on the '.' character | |
| FieldResult | back to summary |
|---|---|
| public FieldResult(String attributeName, String columnName) | |
| FieldResult | back to summary |
|---|---|
| public FieldResult(String attributeName, DatabaseField column) | |
| add | back to summary |
|---|---|
| public void add(FieldResult newFieldResult) INTERNAL: This method is used to support mapping multiple fields, fields are concatenated/added to one fieldResult. | |
| getAttributeName | back to summary |
|---|---|
| public String getAttributeName() | |
| getColumn | back to summary |
|---|---|
| public DatabaseField getColumn() | |
| getFieldResults | back to summary |
|---|---|
| public Vector INTERNAL: | |
| getMultipleFieldIdentifiers | back to summary |
|---|---|
| public String[] getMultipleFieldIdentifiers() INTERNAL: | |
| getValueFromRecord | back to summary |
|---|---|
| public Object getValueFromRecord(DatabaseRecord record) INTERNAL: This method is a convenience method for extracting values from Results | |