org.ow2.weblab.util.index
Class EntityField
java.lang.Object
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 |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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
EntityField
public EntityField()
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.