public final class BrokerModel extends Model
Modifier and Type | Field and Description |
---|---|
static int |
MODEL_MAJOR_VERSION |
static int |
MODEL_MINOR_VERSION |
static String |
MODEL_VERSION |
Modifier and Type | Method and Description |
---|---|
Collection<Class<? extends ConfiguredObject>> |
getChildTypes(Class<? extends ConfiguredObject> parent) |
static Model |
getInstance() |
int |
getMajorVersion() |
int |
getMinorVersion() |
ConfiguredObjectFactory |
getObjectFactory() |
Collection<Class<? extends ConfiguredObject>> |
getParentTypes(Class<? extends ConfiguredObject> child) |
Class<? extends ConfiguredObject> |
getRootCategory() |
Collection<Class<? extends ConfiguredObject>> |
getSupportedCategories() |
ConfiguredObjectTypeRegistry |
getTypeRegistry() |
void |
setRootCategory(Class<? extends ConfiguredObject> rootCategory) |
getAncestor, getAncestor, getAncestorCategories, getAncestorClassWithGivenDescendant, getDescendantCategories
public static final int MODEL_MAJOR_VERSION
public static final int MODEL_MINOR_VERSION
public static final String MODEL_VERSION
public final ConfiguredObjectTypeRegistry getTypeRegistry()
getTypeRegistry
in class Model
public static Model getInstance()
public Class<? extends ConfiguredObject> getRootCategory()
getRootCategory
in class Model
public Collection<Class<? extends ConfiguredObject>> getParentTypes(Class<? extends ConfiguredObject> child)
getParentTypes
in class Model
public int getMajorVersion()
getMajorVersion
in class Model
public int getMinorVersion()
getMinorVersion
in class Model
public ConfiguredObjectFactory getObjectFactory()
getObjectFactory
in class Model
public Collection<Class<? extends ConfiguredObject>> getChildTypes(Class<? extends ConfiguredObject> parent)
getChildTypes
in class Model
public Collection<Class<? extends ConfiguredObject>> getSupportedCategories()
getSupportedCategories
in class Model
public void setRootCategory(Class<? extends ConfiguredObject> rootCategory)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.