mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
67741: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud) 65962: MNT-10103: Merged DEV to V4.2-BUG-FIX (4.2.2). 64750: MNT-10103: Advanced Search by Tag or custom fields not working in 4.2. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@68380 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -22,6 +22,7 @@ import java.util.Collection;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.alfresco.repo.dictionary.IndexTokenisationMode;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.json.JSONArray;
|
||||
@@ -42,6 +43,7 @@ public class PropertyFieldDefinition extends FieldDefinition
|
||||
protected DataTypeParameters dataTypeParams;
|
||||
protected boolean mandatory = false;
|
||||
protected boolean repeats = false;
|
||||
protected IndexTokenisationMode indexTokenisationMode = IndexTokenisationMode.TRUE;
|
||||
protected List<FieldConstraint> constraints;
|
||||
|
||||
/**
|
||||
@@ -149,6 +151,26 @@ public class PropertyFieldDefinition extends FieldDefinition
|
||||
this.constraints = constraints;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a IndexTokenisationMode the property
|
||||
*
|
||||
* @return IndexTokenisationMode objects or null
|
||||
*/
|
||||
public IndexTokenisationMode getIndexTokenisationMode()
|
||||
{
|
||||
return indexTokenisationMode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the IndexTokenisationMode objects for the property
|
||||
*
|
||||
* @param indexTokenisationMode objects
|
||||
*/
|
||||
public void setIndexTokenisationMode(IndexTokenisationMode indexTokenisationMode)
|
||||
{
|
||||
this.indexTokenisationMode = indexTokenisationMode;
|
||||
}
|
||||
|
||||
/*
|
||||
* @see java.lang.Object#toString()
|
||||
*/
|
||||
|
Reference in New Issue
Block a user