public class AggregateDescriptor extends Object implements AggregateDefinition
Modifier and Type | Field and Description |
---|---|
protected Map<String,Integer> |
aggregateDateRangeDefinitionOrderMap |
protected List<AggregateRangeDateDescriptor> |
aggregateDateRanges |
protected PropertiesDescriptor |
aggregateProperties |
protected List<AggregateRangeDescriptor> |
aggregateRanges |
protected FieldDescriptor |
field |
protected String |
id |
protected String |
parameter |
protected String |
type |
Constructor and Description |
---|
AggregateDescriptor() |
Modifier and Type | Method and Description |
---|---|
AggregateDescriptor |
clone() |
Map<String,Integer> |
getAggregateDateRangeDefinitionOrderMap() |
Map<String,Integer> |
getAggregateRangeDefinitionOrderMap() |
List<AggregateRangeDateDefinition> |
getDateRanges() |
String |
getDocumentField()
Get the document aggregator field
|
String |
getId() |
Map<String,String> |
getProperties() |
List<AggregateRangeDefinition> |
getRanges() |
PredicateFieldDefinition |
getSearchField()
Get the ref of the search input, the type of the field must be nxs:stringList
|
String |
getType() |
void |
setDateRanges(List<AggregateRangeDateDefinition> ranges) |
void |
setDocumentField(String parameter) |
void |
setId(String id) |
void |
setProperty(String name,
String value) |
void |
setRanges(List<AggregateRangeDefinition> ranges) |
void |
setSearchField(PredicateFieldDefinition field) |
void |
setType(String type) |
protected List<AggregateRangeDateDescriptor> aggregateDateRanges
protected PropertiesDescriptor aggregateProperties
protected Map<String,Integer> aggregateDateRangeDefinitionOrderMap
protected List<AggregateRangeDescriptor> aggregateRanges
protected FieldDescriptor field
public AggregateDescriptor()
public AggregateDescriptor clone()
clone
in interface AggregateDefinition
clone
in class Object
public Map<String,Integer> getAggregateDateRangeDefinitionOrderMap()
getAggregateDateRangeDefinitionOrderMap
in interface AggregateDefinition
public Map<String,Integer> getAggregateRangeDefinitionOrderMap()
getAggregateRangeDefinitionOrderMap
in interface AggregateDefinition
public List<AggregateRangeDateDefinition> getDateRanges()
getDateRanges
in interface AggregateDefinition
public String getDocumentField()
AggregateDefinition
getDocumentField
in interface AggregateDefinition
public String getId()
getId
in interface AggregateDefinition
public Map<String,String> getProperties()
getProperties
in interface AggregateDefinition
public List<AggregateRangeDefinition> getRanges()
getRanges
in interface AggregateDefinition
public PredicateFieldDefinition getSearchField()
AggregateDefinition
getSearchField
in interface AggregateDefinition
public String getType()
getType
in interface AggregateDefinition
public void setDateRanges(List<AggregateRangeDateDefinition> ranges)
setDateRanges
in interface AggregateDefinition
public void setDocumentField(String parameter)
setDocumentField
in interface AggregateDefinition
public void setId(String id)
setId
in interface AggregateDefinition
public void setProperty(String name, String value)
setProperty
in interface AggregateDefinition
public void setRanges(List<AggregateRangeDefinition> ranges)
setRanges
in interface AggregateDefinition
public void setSearchField(PredicateFieldDefinition field)
setSearchField
in interface AggregateDefinition
public void setType(String type)
setType
in interface AggregateDefinition
Copyright © 2015 Nuxeo SA. All rights reserved.