Class CatalogConfigurationBeans
- Object
-
- CatalogConfigurationBeans
-
public class CatalogConfigurationBeans extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static Hints.KeyCOVERAGE_NAME
-
Constructor Summary
Constructors Constructor Description CatalogConfigurationBeans()CatalogConfigurationBeans(List<MosaicConfigurationBean> beans)CatalogConfigurationBeans(Map<String,CatalogConfigurationBean> configurations)CatalogConfigurationBeans(CatalogConfigurationBean loneConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CatalogConfigurationBeanfirst()CatalogConfigurationBeangetByTypeName(String typeName)Returns the first configuration associated to the specified type name.CatalogConfigurationBeangetByTypeQuery(Query q)Looks up the configurations considering both the query (looking for the COVERAGE_NAME hint) and falls back on the type name, if the first did not provide a matchSet<String>getTypeNames()intsize()
-
-
-
Field Detail
-
COVERAGE_NAME
public static final Hints.Key COVERAGE_NAME
-
-
Constructor Detail
-
CatalogConfigurationBeans
public CatalogConfigurationBeans(Map<String,CatalogConfigurationBean> configurations)
-
CatalogConfigurationBeans
public CatalogConfigurationBeans(CatalogConfigurationBean loneConfiguration)
-
CatalogConfigurationBeans
public CatalogConfigurationBeans()
-
CatalogConfigurationBeans
public CatalogConfigurationBeans(List<MosaicConfigurationBean> beans)
-
-
Method Detail
-
getByTypeName
public CatalogConfigurationBean getByTypeName(String typeName)
Returns the first configuration associated to the specified type name. Multiple coverages might share the same typename.- Parameters:
typeName-- Returns:
-
getByTypeQuery
public CatalogConfigurationBean getByTypeQuery(Query q)
Looks up the configurations considering both the query (looking for the COVERAGE_NAME hint) and falls back on the type name, if the first did not provide a match
-
first
public CatalogConfigurationBean first()
-
size
public int size()
-
-