org.mtzky.lucene.type
クラス LuceneBooleanStrategy

java.lang.Object
  上位を拡張 org.mtzky.lucene.type.LuceneStringStrategy
      上位を拡張 org.mtzky.lucene.type.LuceneBooleanStrategy
すべての実装されたインタフェース:
LuceneFieldStrategy

public class LuceneBooleanStrategy
extends LuceneStringStrategy

作成者:
mtzky

コンストラクタの概要
LuceneBooleanStrategy(LucenePropertyConfig config)
           
 
メソッドの概要
 Fieldable getField(Object value)
           
<T> T
getValue(Fieldable field)
           Gets a value to set to the entity.
protected  String toString(Object value)
           
 
クラス org.mtzky.lucene.type.LuceneStringStrategy から継承されたメソッド
getTerm
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

LuceneBooleanStrategy

public LuceneBooleanStrategy(LucenePropertyConfig config)
パラメータ:
config -
メソッドの詳細

getField

public Fieldable getField(Object value)
定義:
インタフェース LuceneFieldStrategy 内の getField
オーバーライド:
クラス LuceneStringStrategy 内の getField
戻り値:
NumericField if the property type is numeric, or Field

getValue

public <T> T getValue(Fieldable field)
インタフェース LuceneFieldStrategy の記述:

Gets a value to set to the entity.

定義:
インタフェース LuceneFieldStrategy 内の getValue
オーバーライド:
クラス LuceneStringStrategy 内の getValue
型パラメータ:
T - type
パラメータ:
field - Fieldable
戻り値:
value

toString

protected String toString(Object value)
オーバーライド:
クラス LuceneStringStrategy 内の toString
戻り値:
value converted to String


Copyright (C) 2010-2011 Mtzky. AllRights Reserved.