public interface Index
| Modifier and Type | Method and Description |
|---|---|
List<IndexAttribute> |
getAttributes()
Gets the index attributes.
|
String |
getComment()
Gets the comment.
|
Entity |
getEntity()
Gets the entity this index belongs to.
|
String |
getFilterCondition()
Gets the optional filter condition.
|
String |
getName()
Gets the index name.
|
String |
getName(Entity entity)
Gets the index name for given entity.
|
Line |
getSourceLine()
Gets the source line.
|
boolean |
isUnique()
Returns whether the index is unique.
|
String |
sqlCreateIndex(Backend backend,
Entity entity)
Creates the index creation sql code.
|
void |
validate()
Validates the index.
|
Entity getEntity()
String getName()
String getName(Entity entity)
entity - the entityString getComment()
boolean isUnique()
String getFilterCondition()
List<IndexAttribute> getAttributes()
void validate()
throws ModelException
ModelException - if validation failedLine getSourceLine()
Copyright © 2016 Krake Softwaretechnik. All rights reserved.