org.compass.gps.device.jdbc.mapping
Interface ColumnToPropertyMapping

All Superinterfaces:
ColumnMapping
All Known Implementing Classes:
AbstractColumnToPropertyMapping, AbstractConstantColumnToPropertyMapping, DataColumnToPropertyMapping, IdColumnToPropertyMapping

public interface ColumnToPropertyMapping
extends ColumnMapping

A general interface for a jdbc column mapping to a Compass Property. Holds differnt aspects of the mapped Property like the property name, the Property.Index, Property.Store, Proeprty.TermVector and the property boost level.

Author:
kimchy

Method Summary
 String getAnalyzer()
          The analyzer that will be used to analyzer this property.
 float getBoost()
          Returns the property boost level.
 String getConverter()
          Returns the converter lookup name that will be used to convert this property.
 ExcludeFromAll getExcludeFromAll()
          Should this property be excluded from the all property.
 Property.Index getPropertyIndex()
          Returns the property index option.
 String getPropertyName()
          Returns the Resource property name.
 Property.Store getPropertyStore()
          Returns the property store option.
 Property.TermVector getPropertyTermVector()
          Returns the property termVector option.
 void setPropertyName(String propertyName)
          Sets the Resource property name
 
Methods inherited from interface org.compass.gps.device.jdbc.mapping.ColumnMapping
getColumnIndex, getColumnName, isUsingColumnIndex
 

Method Detail

getPropertyName

String getPropertyName()
Returns the Resource property name.

Returns:
the proeprty name.

setPropertyName

void setPropertyName(String propertyName)
Sets the Resource property name


getPropertyIndex

Property.Index getPropertyIndex()
Returns the property index option.


getPropertyStore

Property.Store getPropertyStore()
Returns the property store option.


getPropertyTermVector

Property.TermVector getPropertyTermVector()
Returns the property termVector option.


getBoost

float getBoost()
Returns the property boost level.


getAnalyzer

String getAnalyzer()
The analyzer that will be used to analyzer this property.


getConverter

String getConverter()
Returns the converter lookup name that will be used to convert this property.


getExcludeFromAll

ExcludeFromAll getExcludeFromAll()
Should this property be excluded from the all property.



Copyright (c) 2004-2009 The Compass Project.