Package | Description |
---|---|
ch.agent.crnickl.api |
Interfaces and classes for use by client applications.
|
ch.agent.crnickl.impl |
Generic implementation of the CrNiCKL API.
|
Modifier and Type | Method and Description |
---|---|
UpdatableSchema |
Database.createSchema(String name,
String nameOfBase)
Create a schema with the parameters specified.
|
UpdatableSchema |
Schema.edit()
Return an
UpdatableSchema corresponding to this schema. |
UpdatableSchema |
UpdatableSchema.getBase()
Return the base schema if any.
|
Modifier and Type | Method and Description |
---|---|
Collection<UpdatableSchema> |
Database.getUpdatableSchemas(String pattern)
Return updatable schemas with names matching a pattern.
|
Modifier and Type | Method and Description |
---|---|
void |
UpdatableSchema.setBase(UpdatableSchema base)
Set the base of the schema.
|
Modifier and Type | Class and Description |
---|---|
class |
UpdatableSchemaImpl
Default implementation of
UpdatableSchema . |
Modifier and Type | Method and Description |
---|---|
UpdatableSchema |
DatabaseBackendImpl.createSchema(String name,
String nameOfBase) |
UpdatableSchema |
SchemaImpl.edit() |
UpdatableSchema |
UpdatableSchemaImpl.edit() |
UpdatableSchema |
UpdatableSchemaImpl.getBase() |
UpdatableSchema |
UpdatableSchemaImpl.getPreviousBase()
Return the base schema before it was modified with
UpdatableSchemaImpl.setBase(UpdatableSchema) . |
UpdatableSchema |
DatabaseBackendImpl.getUpdatableSchema(Schema schema) |
UpdatableSchema |
DatabaseBackend.getUpdatableSchema(Schema schema)
Return the updatable schema corresponding to a schema.
|
UpdatableSchema |
DatabaseBackend.getUpdatableSchema(Surrogate surrogate)
Get a schema from the database.
|
Modifier and Type | Method and Description |
---|---|
Collection<UpdatableSchema> |
DatabaseBackendImpl.getUpdatableSchemas(String pattern) |
Modifier and Type | Method and Description |
---|---|
void |
DatabaseBackend.create(UpdatableSchema schema)
Create a schema in the database.
|
void |
DatabaseBackend.deleteSchema(UpdatableSchema schema)
Delete a schema from the database.
|
void |
UpdatableSchemaImpl.merge(UpdatableSchema schema)
Merge a schema into this schema.
|
void |
UpdatableSchemaImpl.setBase(UpdatableSchema base) |
void |
DatabaseBackend.update(UpdatableSchema schema)
Update a schema in the database.
|
void |
UpdatableSchemaVisitor.visit(UpdatableSchema schema,
SeriesDefinition seriesDef,
AttributeDefinition<?> attrDef,
AttributeDefinition<?> origAttrDef)
Visit an attribute definition of a chronicle or a series.
|
void |
UpdatableSchemaVisitor.visit(UpdatableSchema schema,
SeriesDefinition def,
SeriesDefinition original)
Visit a series definition.
|
void |
SchemaUpdatePolicy.willDelete(UpdatableSchema schema)
Throw an exception if the schema cannot be deleted.
|
void |
SchemaUpdatePolicyImpl.willDelete(UpdatableSchema schema)
Throw an exception if the schema cannot be deleted.
|
void |
SchemaUpdatePolicy.willUpdate(UpdatableSchema schema)
Throw an exception if the update is rejected.
|
void |
SchemaUpdatePolicyImpl.willUpdate(UpdatableSchema schema)
Throw an exception if the update is rejected.
|
Constructor and Description |
---|
UpdatableSchemaImpl(String name,
UpdatableSchema base,
Collection<AttributeDefinition<?>> attributeDefs,
Collection<SeriesDefinition> seriesDefinitions,
Surrogate surrogate)
Construct an
UpdatableSchema . |
Copyright © 2017. All rights reserved.