|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SchemaService
The schema service is used internally to provide access to the currently loaded schemas.
Field Summary | |
---|---|
static String |
ACTION_READ_SOURCE
The action id used for reading source schemas. |
static String |
ACTION_READ_TARGET
The action id used for reading target schemas. |
Method Summary | |
---|---|
void |
addSchema(Schema schema,
SchemaSpaceID spaceID)
Add a schema to the source or target schema space. |
void |
addSchemaServiceListener(SchemaServiceListener listener)
Adds a listener for schema service events |
void |
clearSchemas(SchemaSpaceID spaceID)
Removes all schemas from the source or target schema space. |
void |
editMappableTypes(SchemaSpaceID spaceID)
Edit which types are mappable in the given schema space. |
SchemaSpace |
getSchemas(SchemaSpaceID spaceID)
Get the source or target schema space. |
void |
removeSchemaServiceListener(SchemaServiceListener listener)
Removes a listener for schema service events |
void |
toggleMappable(SchemaSpaceID spaceID,
Collection<? extends TypeDefinition> types)
Toggles the mappable flag of all given types of the given schema space |
Field Detail |
---|
static final String ACTION_READ_SOURCE
static final String ACTION_READ_TARGET
Method Detail |
---|
SchemaSpace getSchemas(SchemaSpaceID spaceID)
spaceID
- the schema space ID, either SchemaSpaceID.SOURCE
or SchemaSpaceID.TARGET
void addSchema(Schema schema, SchemaSpaceID spaceID)
schema
- the schema to addspaceID
- the schema space ID, either SchemaSpaceID.SOURCE
or SchemaSpaceID.TARGET
void clearSchemas(SchemaSpaceID spaceID)
spaceID
- the schema space ID, either SchemaSpaceID.SOURCE
or SchemaSpaceID.TARGET
void addSchemaServiceListener(SchemaServiceListener listener)
listener
- the listener to addvoid removeSchemaServiceListener(SchemaServiceListener listener)
listener
- the listener to removevoid toggleMappable(SchemaSpaceID spaceID, Collection<? extends TypeDefinition> types)
spaceID
- the schema space the types are intypes
- he typesvoid editMappableTypes(SchemaSpaceID spaceID)
spaceID
- the schema space to edit
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |