public class ElasticMetaProperty extends Object implements MetaProperty
Constructor and Description |
---|
ElasticMetaProperty(String name,
String value,
Set<Class<?>> types) |
ElasticMetaProperty(String name,
String value,
Set<Class<?>> types,
boolean sortable,
boolean searchable) |
Modifier and Type | Method and Description |
---|---|
void |
addType(Class<?> aClass) |
String |
getName() |
Set<Class<?>> |
getTypes() |
String |
getValue() |
boolean |
isBoolean() |
boolean |
isSearchable() |
boolean |
isSortable() |
void |
setAsSearchable() |
void |
setAsSortable() |
public String getName()
getName
in interface MetaProperty
public Set<Class<?>> getTypes()
getTypes
in interface MetaProperty
public boolean isSearchable()
isSearchable
in interface MetaProperty
public void setAsSearchable()
setAsSearchable
in interface MetaProperty
public boolean isSortable()
isSortable
in interface MetaProperty
public void setAsSortable()
setAsSortable
in interface MetaProperty
public void addType(Class<?> aClass)
addType
in interface MetaProperty
public String getValue()
public boolean isBoolean()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.