com.endeca.portal.data.model
Class Assignment
java.lang.Object
com.endeca.portal.data.model.Assignment
public class Assignment
- extends java.lang.Object
Represents a single assignment to a record. The key is the attribute
key. The value is a single value for this assignment. The navigable value
is a value that can be used for filtering based on this assignment.
Constructor Summary |
Assignment(java.lang.String key,
java.lang.String value,
java.lang.String navigableValue)
Construct an assignment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Assignment
public Assignment(java.lang.String key,
java.lang.String value,
java.lang.String navigableValue)
- Construct an assignment.
getKey
public java.lang.String getKey()
- Returns:
- The key of the attribute for this assignment.
getValue
public java.lang.String getValue()
- Returns:
- The value of the assignment for display to the user.
getNavigableValue
public java.lang.String getNavigableValue()
- Returns:
- The value to use if one wants to select this value for navigation.
For v6 engines this will be the dimval id or null if the assignment
is a property. For v7 engines this will be the property value or dimval
spec. The key and the dimval spec can then be used for navigation.