public class IndexAttributeImpl extends Object implements IndexAttribute
| Constructor and Description |
|---|
IndexAttributeImpl(Index index)
Creates an index attribute.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
getAttribute()
Gets the attribute.
|
Index |
getIndex()
Gets the index this attribute belongs to.
|
boolean |
isDescending()
Returns whether the attribute is descending.
|
void |
setAttribute(Attribute attribute) |
void |
setDescending(boolean descending) |
public IndexAttributeImpl(Index index)
index - the indexpublic Index getIndex()
public Attribute getAttribute()
IndexAttributegetAttribute in interface IndexAttributepublic boolean isDescending()
IndexAttributeisDescending in interface IndexAttributepublic void setAttribute(Attribute attribute)
public void setDescending(boolean descending)
Tentackle - a domain driven enterprise framework