com.endeca.navigation
Class ERec

java.lang.Object
  extended by com.endeca.navigation.ERec
All Implemented Interfaces:
PropertyContainer

public class ERec
extends Object
implements PropertyContainer

ERec class is composed of properties and values it is tagged by.


Method Summary
 AssocDimLocationsList getDimValues()
          Gets the values tagged to the record.
 long getId()
          Deprecated. This method may not be supported in future versions of the MDEX Engine API - use getSpec() instead. Gets the ID for this record.
 PropertyMap getProperties()
          Gets the properties for this record.
 String getSpec()
          Gets the specification for this record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSpec

public String getSpec()
Gets the specification for this record.

Returns:
The specification for this record.

getProperties

public PropertyMap getProperties()
Gets the properties for this record. If there are no properties for a record, an empty PropertyMap will be returned.

Specified by:
getProperties in interface PropertyContainer
Returns:
Properties for this record.

getDimValues

public AssocDimLocationsList getDimValues()
Gets the values tagged to the record. The values are organized by dimensions and each value manifested as a position which includes the value and its ancestors in the dimension's hierarchy. Based on how this record was obtained, these tagged values may or may not be present.

Returns:
The values tagged to the record organized by dimension. Empty list is returned if there are none.

getId

public long getId()
           throws NumberFormatException
Deprecated. This method may not be supported in future versions of the MDEX Engine API - use getSpec() instead. Gets the ID for this record.

Returns:
The ID for this record.
Throws:
NumberFormatException


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