public interface IndexDefinitionTemplate extends IndexDefinition
IndexDefinition
.IndexDefinition.IndexKind
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name of this index.
|
String |
getProviderName()
Get the name of the provider that owns this index.
|
IndexDefinitionTemplate |
setColumnDefinitions(Iterable<? extends IndexColumnDefinition> columnDefinitions)
Set the definitions for this index's columns
|
IndexDefinitionTemplate |
setDescription(String description)
Set the description for this index.
|
IndexDefinitionTemplate |
setKind(IndexDefinition.IndexKind kind)
Set the kind of this index.
|
IndexDefinitionTemplate |
setName(String name)
Set the name of the index.
|
IndexDefinitionTemplate |
setNodeTypeName(Name name)
Set the name of the node type for which this index applies.
|
IndexDefinitionTemplate |
setProviderName(String providerName)
Set the name of the
provider that owns this index. |
getDescription, getKind, getNodeTypeName, getProperties, getProperty, hasSingleColumn, isEnabled
String getName()
getName
in interface IndexDefinition
String getProviderName()
getProviderName
in interface IndexDefinition
IndexDefinitionTemplate setName(String name)
name
- the index name; may not be nullIndexDefinitionTemplate setProviderName(String providerName)
provider
that owns this index.providerName
- the provider's name; may not be nullIndexDefinitionTemplate setKind(IndexDefinition.IndexKind kind)
kind
- the kind; may not be nullIndexDefinitionTemplate setNodeTypeName(Name name)
name
- the name of the node type for which this index applies; may be null if the property applies to all node types
(e.g., nt:base
).IndexDefinitionTemplate setDescription(String description)
description
- the description; may be null or emptyIndexDefinitionTemplate setColumnDefinitions(Iterable<? extends IndexColumnDefinition> columnDefinitions)
columnDefinitions
- the definitions for the columns; may not be null or emptyCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.