|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.cosmos.rm.validation.internal.databuilders.DataBuilderRegistry
public class DataBuilderRegistry
The data builder registery is a singleton class which allows different data builders to register themselves prior to the start of the validation process.
| Field Summary | |
|---|---|
protected java.util.Map |
dataStructureBuilders
Stores the data structure builders |
| Constructor Summary | |
|---|---|
DataBuilderRegistry()
|
|
| Method Summary | |
|---|---|
void |
clear()
Clears the registry |
IDataBuilder |
getDataStructureBuilder(java.lang.String id)
Returns the data structure builder with the passed in id |
java.util.Collection |
getDataStructureBuilders()
Returns the data structure builders registered |
static DataBuilderRegistry |
instance()
Retrieves the instance of this singleton class |
void |
registerDataStructureBuilder(java.lang.String id,
IDataBuilder dataBuilder)
Register data structure builder, 'dataBuilder', with id: 'id'. |
void |
unRegisterDataStructureBuilder(java.lang.String id)
Remove the data structure with the passed in id |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Map dataStructureBuilders
| Constructor Detail |
|---|
public DataBuilderRegistry()
| Method Detail |
|---|
public static DataBuilderRegistry instance()
public void registerDataStructureBuilder(java.lang.String id,
IDataBuilder dataBuilder)
id - The id of the data builderdataBuilder - The data builderpublic void unRegisterDataStructureBuilder(java.lang.String id)
id - The id of the data structure builder to removepublic java.util.Collection getDataStructureBuilders()
public IDataBuilder getDataStructureBuilder(java.lang.String id)
id - The id of a data structure builder
public void clear()
|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||