public class FieldResult extends Object
Purpose: Concrete class to represent the FieldResult structure as defined by the EJB 3.0 Persistence specification. This class is a subcompent of the EntityResult.
EntityResult
Modifier and Type | Field and Description |
---|---|
protected String |
attributeName
Stores the name of the bean attribute
|
protected String |
columnName
Stores the Columns name from the result set that contains the attribute value
|
protected String[] |
multipleFieldIdentifiers
Stores passed in field name split on the '.' character
|
Constructor and Description |
---|
FieldResult(String attributeName,
String column) |
Modifier and Type | Method and Description |
---|---|
void |
add(FieldResult newFieldResult)
INTERNAL:
This method is used to support mapping multiple fields, fields are
concatenated/added to one fieldResult.
|
String |
getAttributeName() |
String |
getColumnName() |
Vector |
getFieldResults()
INTERNAL:
|
String[] |
getMultipleFieldIdentifiers()
INTERNAL:
|
Object |
getValueFromRecord(DatabaseRecord record)
INTERNAL:
This method is a convience method for extracting values from Results
|
protected String attributeName
protected String[] multipleFieldIdentifiers
protected String columnName
public String getAttributeName()
public String getColumnName()
public Object getValueFromRecord(DatabaseRecord record)
public Vector getFieldResults()
public String[] getMultipleFieldIdentifiers()
public void add(FieldResult newFieldResult)
Copyright © 2023. All rights reserved.