org.ow2.weblab.util.index
Class Field
java.lang.Object
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()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field
public Field()
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)
isIndexNonCandidateInstanceAsUri
public boolean isIndexNonCandidateInstanceAsUri()
setIndexNonCandidateInstanceAsUri
public void setIndexNonCandidateInstanceAsUri(boolean indexNonCandidateInstanceAsUri)
isIndexTypeOnly
public boolean isIndexTypeOnly()
setIndexTypeOnly
public void setIndexTypeOnly(boolean indexTypeOnly)
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.