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


Nested Class Summary
static class Field.FieldType
          Field types defined in the default SolR schema for WebLab.
 
Constructor Summary
Field()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 float getBoost()
           
 java.util.List<java.lang.String> getEntityTypes()
           
 java.lang.String getName()
           
 java.util.List<java.lang.String> getProperties()
           
 Field.FieldType getType()
           
 int hashCode()
           
 boolean isIndexTextContent()
           
 void setBoost(float boost)
           
 void setEntityTypes(java.util.List<java.lang.String> entityTypes)
           
 void setIndexTextContent(boolean indexTextContent)
           
 void setName(java.lang.String name)
           
 void setProperties(java.util.List<java.lang.String> properties)
           
 void setType(Field.FieldType type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 Field.FieldType getType()
Returns:
the type

setType

public void setType(Field.FieldType type)
Parameters:
type - the type to set

isIndexTextContent

public boolean isIndexTextContent()

setIndexTextContent

public void setIndexTextContent(boolean indexTextContent)

getProperties

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

setProperties

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getEntityTypes

public java.util.List<java.lang.String> getEntityTypes()

setEntityTypes

public void setEntityTypes(java.util.List<java.lang.String> entityTypes)

getBoost

public float getBoost()

setBoost

public void setBoost(float boost)


Copyright © 2004-2012. All Rights Reserved.