org.modeshape.jcr.spi.index

## Interface IndexColumnDefinitionTemplate

- All Superinterfaces:
    IndexColumnDefinition

      public interface IndexColumnDefinitionTemplate
      extends IndexColumnDefinition

  An immutable definition of a column used in an `IndexDefinition`.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `IndexColumnDefinitionTemplate` | `getColumnType(PropertyType type)` Set the type of value for this index column applies.
    `Name` | `getPropertyName()` Get the name of the property for which this index column applies.
    `IndexColumnDefinitionTemplate` | `setPropertyTypeName(Name name)` Set the name of the property for which this index column applies.

    - ### Methods inherited from interface org.modeshape.jcr.spi.index.IndexColumnDefinition

      `getColumnType`

- - ### Method Detail

    - #### getPropertyName

          Name getPropertyName()

      Get the name of the property for which this index column applies.
      Specified by:
        `getPropertyName` in interface `IndexColumnDefinition`
      Returns:
        the property name; null if the value has not yet been set on this template

    - #### setPropertyTypeName

          IndexColumnDefinitionTemplate setPropertyTypeName(Name name)

      Set the name of the property for which this index column applies.
      Parameters:
        `name` - the name of the property; may not be null
      Returns:
        this instance for method chaining; never null

    - #### getColumnType

          IndexColumnDefinitionTemplate getColumnType(PropertyType type)

      Set the type of value for this index column applies.
      Parameters:
        `type` - the property type; may not be null
      Returns:
        this instance for method chaining; never null

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.