org.eclipse.persistence.queries
Class FieldResult

java.lang.Object
  extended by org.eclipse.persistence.queries.FieldResult

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.

Since:
TopLink Java Essentials
Author:
Gordon Yorke
See Also:
EntityResult

Constructor Summary
FieldResult(String attributeName, org.eclipse.persistence.internal.helper.DatabaseField column)
           
FieldResult(String attributeName, String columnName)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldResult

public FieldResult(String attributeName,
                   String columnName)

FieldResult

public FieldResult(String attributeName,
                   org.eclipse.persistence.internal.helper.DatabaseField column)
Method Detail

getAttributeName

public String getAttributeName()

getColumn

public org.eclipse.persistence.internal.helper.DatabaseField getColumn()

getValueFromRecord

public Object getValueFromRecord(DatabaseRecord record)
INTERNAL: This method is a convenience method for extracting values from Results


getFieldResults

public Vector getFieldResults()
INTERNAL:


getMultipleFieldIdentifiers

public String[] getMultipleFieldIdentifiers()
INTERNAL:


add

public void add(FieldResult newFieldResult)
INTERNAL: This method is used to support mapping multiple fields, fields are concatenated/added to one fieldResult.