org.mtzky.lucene.type
クラス LuceneCalendarStrategy

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

public class LuceneCalendarStrategy
extends LuceneDateStrategy

作成者:
mtzky

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

コンストラクタの詳細

LuceneCalendarStrategy

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

getValue

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

Gets a value to set to the entity.

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

toLong

protected long toLong(Object value)
オーバーライド:
クラス LuceneDateStrategy 内の toLong
戻り値:
value converted to long

toString

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


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