org.ow2.weblab.util.index
Class EntityField

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

public class EntityField
extends java.lang.Object


Field Summary
protected  java.util.List<java.lang.String> entityTypes
          List of entityTypes indexed in this field
protected  java.util.List<java.lang.String> labelProperties
          List of entityLabels indexed in this field
protected  java.lang.String name
          Name of the field in the index
protected  java.lang.String type
          Field type : should be text, number, date
 
Constructor Summary
EntityField()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<java.lang.String> getEntityTypes()
           
 java.util.List<java.lang.String> getLabelProperties()
           
 java.lang.String getName()
           
 java.lang.String getType()
           
 int hashCode()
           
 void setEntityTypes(java.util.List<java.lang.String> properties)
           
 void setLabelProperties(java.util.List<java.lang.String> labelProperties)
           
 void setName(java.lang.String name)
           
 void setType(java.lang.String type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, 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


entityTypes

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


labelProperties

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

Constructor Detail

EntityField

public EntityField()
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

getEntityTypes

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

setEntityTypes

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

getLabelProperties

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

setLabelProperties

public void setLabelProperties(java.util.List<java.lang.String> labelProperties)

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


Copyright © 2004-2012. All Rights Reserved.