Class MetaPropertyImpl
- java.lang.Object
-
- org.uberfire.ext.metadata.model.impl.MetaPropertyImpl
-
- All Implemented Interfaces:
MetaProperty
public class MetaPropertyImpl extends Object implements MetaProperty
-
-
Constructor Summary
Constructors Constructor Description MetaPropertyImpl(String name, boolean searchable, boolean sortable, Set<Class<?>> types)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddType(Class<?> type)booleanequals(Object obj)StringgetName()Set<Class<?>>getTypes()inthashCode()booleanisSearchable()booleanisSortable()voidsetAsSearchable()voidsetAsSortable()
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceMetaProperty
-
getTypes
public Set<Class<?>> getTypes()
- Specified by:
getTypesin interfaceMetaProperty
-
isSearchable
public boolean isSearchable()
- Specified by:
isSearchablein interfaceMetaProperty
-
setAsSearchable
public void setAsSearchable()
- Specified by:
setAsSearchablein interfaceMetaProperty
-
isSortable
public boolean isSortable()
- Specified by:
isSortablein interfaceMetaProperty
-
setAsSortable
public void setAsSortable()
- Specified by:
setAsSortablein interfaceMetaProperty
-
addType
public void addType(Class<?> type)
- Specified by:
addTypein interfaceMetaProperty
-
-