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 geberal 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
 float getBoost()
          Returns the property boost level.
 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.

Returns:
the property index option.

getPropertyStore

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

Returns:
the property store option.

getPropertyTermVector

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

Returns:
the property termVector option.

getBoost

float getBoost()
Returns the property boost level.

Returns:
the property boost level.


Copyright (c) 2004-2006 The Compass Project.