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 MetaPropertypublic Set<Class<?>> getTypes()
getTypes in interface MetaPropertypublic boolean isSearchable()
isSearchable in interface MetaPropertypublic void setAsSearchable()
setAsSearchable in interface MetaPropertypublic boolean isSortable()
isSortable in interface MetaPropertypublic void setAsSortable()
setAsSortable in interface MetaPropertypublic void addType(Class<?> aClass)
addType in interface MetaPropertypublic String getValue()
public boolean isBoolean()
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.