org.ow2.weblab.util.index
Class Field

java.lang.Object
  extended by org.ow2.weblab.util.index.Field

public class Field
extends java.lang.Object


Field Summary
protected  boolean indexTextMediaUnit
          Indicate if the field contain MediaUnit text parts
protected  java.lang.String name
          Name of the field in the index
protected  java.util.List<java.lang.String> properties
          List of properties indexed in this field
protected  java.lang.String type
          Field type : should be text, number, date
 
Constructor Summary
Field()
           
 
Method Summary
 java.lang.String getName()
           
 java.util.List<java.lang.String> getProperties()
           
 java.lang.String getType()
           
 boolean isIndexTextMediaUnit()
           
 void setIndexTextMediaUnit(boolean indexTextMediaUnit)
           
 void setName(java.lang.String name)
           
 void setProperties(java.util.List<java.lang.String> properties)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
Name of the field in the index


type

protected java.lang.String type
Field type : should be text, number, date


indexTextMediaUnit

protected boolean indexTextMediaUnit
Indicate if the field contain MediaUnit text parts


properties

protected java.util.List<java.lang.String> properties
List of properties indexed in this field

Constructor Detail

Field

public Field()
Method Detail

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getType

public java.lang.String getType()
Returns:
the type

setType

public void setType(java.lang.String type)
Parameters:
type - the type to set

isIndexTextMediaUnit

public boolean isIndexTextMediaUnit()
Returns:
the indexTextMediaUnit

setIndexTextMediaUnit

public void setIndexTextMediaUnit(boolean indexTextMediaUnit)
Parameters:
indexTextMediaUnit - the indexTextMediaUnit to set

getProperties

public java.util.List<java.lang.String> getProperties()
Returns:
the properties

setProperties

public void setProperties(java.util.List<java.lang.String> properties)
Parameters:
properties - the properties to set


Copyright © 2004-2010. All Rights Reserved.