com.endeca.infront.cartridge
Class RecordDetails

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by com.endeca.infront.assembler.BasicContentItem
              extended by com.endeca.infront.cartridge.RecordDetails
All Implemented Interfaces:
ContentItem, Serializable, Cloneable, Map<String,Object>

public class RecordDetails
extends BasicContentItem

RecordDetailsHandler output model.

The view model for displaying record details from a single record or an aggregate record.

An aggregate record is composed of multiple Records that have been rolled up based on a rollup key (a property or dimension name). All records in the current record set that have the same value for the rollup key are collected together into an aggregated record.

The detail page has a representative record that is used for display and other logic requiring record values. The representative record is the individual record that occurs first in order of the underlying records in the aggregated record.

See Also:
Record, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
RecordDetails(RecordDetailsConfig pConfig)
          Creates the RecordDetails output model, using the type and data present in the input RecordDetailsConfig.
 
Method Summary
 Record getRecord()
          Gets the Record object (which may be an AggregateRecord object).
 void setRecord(Record record)
          Sets the Record object.
 
Methods inherited from class com.endeca.infront.assembler.BasicContentItem
getBooleanProperty, getIntProperty, getLongProperty, getType, getTypedProperty, setType
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

RecordDetails

public RecordDetails(RecordDetailsConfig pConfig)
Creates the RecordDetails output model, using the type and data present in the input RecordDetailsConfig.

Method Detail

getRecord

public Record getRecord()
Gets the Record object (which may be an AggregateRecord object).


setRecord

public void setRecord(Record record)
Sets the Record object.



Copyright © 2012, Oracle and/or its affiliates. All rights reserved.