org.mtzky.lucene.type
クラス LuceneShortStrategy

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

public class LuceneShortStrategy
extends LuceneIntegerStrategy

作成者:
mtzky

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

コンストラクタの詳細

LuceneShortStrategy

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

getValue

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

Gets a value to set to the entity.

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

toInt

protected int toInt(Object value)
オーバーライド:
クラス LuceneIntegerStrategy 内の toInt
戻り値:
value converted to int


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