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 subcomponent of the EntityResult.
EntityResult
Constructor and Description |
---|
FieldResult(String attributeName,
org.eclipse.persistence.internal.helper.DatabaseField column) |
FieldResult(String attributeName,
String columnName) |
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() |
org.eclipse.persistence.internal.helper.DatabaseField |
getColumn() |
Vector |
getFieldResults()
INTERNAL:
|
String[] |
getMultipleFieldIdentifiers()
INTERNAL:
|
Object |
getValueFromRecord(DatabaseRecord record)
INTERNAL:
This method is a convenience method for extracting values from Results
|
public FieldResult(String attributeName, org.eclipse.persistence.internal.helper.DatabaseField column)
public String getAttributeName()
public org.eclipse.persistence.internal.helper.DatabaseField getColumn()
public Object getValueFromRecord(DatabaseRecord record)
public Vector getFieldResults()
public String[] getMultipleFieldIdentifiers()
public void add(FieldResult newFieldResult)