com.endeca.portal.data.model
Interface Record

All Known Implementing Classes:
SimpleRecord

public interface Record

Model for representing record objects. This class unifies disparate underlying record formats into a single interface.


Method Summary
 Assignments getAssignments(java.lang.String attributeKey)
          Retrieves a list of attributes for the given key.
 java.util.Set<java.lang.String> getAttributeKeys()
           
 RecordSpec getRecordSpec()
          Get the record specification.
 

Method Detail

getRecordSpec

RecordSpec getRecordSpec()
Get the record specification.


getAttributeKeys

java.util.Set<java.lang.String> getAttributeKeys()
Returns:
A list of all of the attribute keys assigned to this record.

getAssignments

Assignments getAssignments(java.lang.String attributeKey)
Retrieves a list of attributes for the given key. The list provides access to all assignments for the same key, if the attribute is multi-assign.

Parameters:
attributeKey - The name of the attribute for the assignments to be returned.
Returns:
List of attributes with the specified name - may be empty but not null