Class CompiledQuery
- java.lang.Object
-
- net.n2oapp.framework.api.metadata.local.CompiledQuery
-
- All Implemented Interfaces:
Serializable,IdAware,PropertiesAware,Compiled,CompiledMetadata,OriginAware
public class CompiledQuery extends Object implements CompiledMetadata, OriginAware, PropertiesAware
Скомпилированная модель запроса за данными- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompiledQuery.FilterEntry
-
Field Summary
Fields Modifier and Type Field Description protected List<N2oQuery.Field>displayFieldsprotected Map<String,N2oQuery.Field>fieldsMapprotected Stringid
-
Constructor Summary
Constructors Constructor Description CompiledQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsFilter(String fieldId, FilterType type)Map<String,Object>getFieldsDefaultValues()N2oQuery.FiltergetFilterByPreFilter(N2oPreFilter preFilter)StringgetFilterFieldId(String fieldId, FilterType type)Collection<N2oQuery.Filter>getFiltersByField(String fieldId)Class<? extends SourceMetadata>getSourceClass()Класс исходной метаданнойbooleanisReal()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.n2oapp.framework.api.metadata.CompiledMetadata
getCompiledBaseClass
-
Methods inherited from interface net.n2oapp.framework.api.metadata.aware.PropertiesAware
getProperties, setProperties
-
-
-
-
Field Detail
-
displayFields
protected List<N2oQuery.Field> displayFields
-
fieldsMap
protected Map<String,N2oQuery.Field> fieldsMap
-
id
protected String id
-
-
Method Detail
-
containsFilter
public boolean containsFilter(String fieldId, FilterType type)
-
getFiltersByField
public Collection<N2oQuery.Filter> getFiltersByField(String fieldId)
-
getFilterByPreFilter
public N2oQuery.Filter getFilterByPreFilter(N2oPreFilter preFilter)
-
isReal
public boolean isReal()
- Specified by:
isRealin interfaceOriginAware
-
getFilterFieldId
public String getFilterFieldId(String fieldId, FilterType type)
-
getSourceClass
public Class<? extends SourceMetadata> getSourceClass()
Description copied from interface:CompiledMetadataКласс исходной метаданной- Specified by:
getSourceClassin interfaceCompiledMetadata
-
-