org.hibernate.search.bridge.builtin
Class IntegerNumericFieldBridge

java.lang.Object
  extended by org.hibernate.search.bridge.builtin.NumericFieldBridge
      extended by org.hibernate.search.bridge.builtin.IntegerNumericFieldBridge
All Implemented Interfaces:
FieldBridge, TwoWayFieldBridge

public class IntegerNumericFieldBridge
extends NumericFieldBridge

Integer numeric field bridge, capable of decoding integer values from Field

Author:
Gustavo Fernandes

Constructor Summary
IntegerNumericFieldBridge()
           
 
Method Summary
 Object get(String name, Document document)
          Build the element object from the Document
 
Methods inherited from class org.hibernate.search.bridge.builtin.NumericFieldBridge
objectToString, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerNumericFieldBridge

public IntegerNumericFieldBridge()
Method Detail

get

public Object get(String name,
                  Document document)
Description copied from interface: TwoWayFieldBridge
Build the element object from the Document

Parameters:
name - field name
document - document
Returns:
The return value is the entity property value.


Copyright © 2006-2013 Red Hat, Inc. All Rights Reserved