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.
|
String |
getFunctionName()
Gets the name of the function.
|
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) |
void |
setFunctionName(String functionName) |
public IndexAttributeImpl(Index index)
index - the indexpublic Index getIndex()
public Attribute getAttribute()
IndexAttributegetAttribute in interface IndexAttributepublic String getFunctionName()
IndexAttributegetFunctionName in interface IndexAttributepublic boolean isDescending()
IndexAttributeisDescending in interface IndexAttributepublic void setAttribute(Attribute attribute)
public void setFunctionName(String functionName)
public void setDescending(boolean descending)
Tentackle - distributed, domain- and model-driven