Class ElasticMetaProperty
- java.lang.Object
-
- org.uberfire.ext.metadata.backend.elastic.metamodel.ElasticMetaProperty
-
- All Implemented Interfaces:
org.uberfire.ext.metadata.model.schema.MetaProperty
public class ElasticMetaProperty extends Object implements org.uberfire.ext.metadata.model.schema.MetaProperty
-
-
Constructor Summary
Constructors Constructor Description ElasticMetaProperty(String name, String value, Set<Class<?>> types)ElasticMetaProperty(String name, String value, Set<Class<?>> types, boolean sortable, boolean searchable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddType(Class<?> aClass)StringgetName()Set<Class<?>>getTypes()StringgetValue()booleanisBoolean()booleanisSearchable()booleanisSortable()voidsetAsSearchable()voidsetAsSortable()
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.uberfire.ext.metadata.model.schema.MetaProperty
-
getTypes
public Set<Class<?>> getTypes()
- Specified by:
getTypesin interfaceorg.uberfire.ext.metadata.model.schema.MetaProperty
-
isSearchable
public boolean isSearchable()
- Specified by:
isSearchablein interfaceorg.uberfire.ext.metadata.model.schema.MetaProperty
-
setAsSearchable
public void setAsSearchable()
- Specified by:
setAsSearchablein interfaceorg.uberfire.ext.metadata.model.schema.MetaProperty
-
isSortable
public boolean isSortable()
- Specified by:
isSortablein interfaceorg.uberfire.ext.metadata.model.schema.MetaProperty
-
setAsSortable
public void setAsSortable()
- Specified by:
setAsSortablein interfaceorg.uberfire.ext.metadata.model.schema.MetaProperty
-
addType
public void addType(Class<?> aClass)
- Specified by:
addTypein interfaceorg.uberfire.ext.metadata.model.schema.MetaProperty
-
getValue
public String getValue()
-
isBoolean
public boolean isBoolean()
-
-