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 | Interface and Description |
---|---|
interface |
UpdatableSchema
An UpdatableSchema is a schema which can be modified.
|
Modifier and Type | Method and Description |
---|---|
Schema |
Chronicle.getSchema(boolean effective)
Return the chronicle's schema.
|
Schema |
Database.getSchema(Surrogate surrogate)
Return the schema identified by a surrogate.
|
Schema |
UpdatableSchema.resolve()
Resolve into a schema.
|
Modifier and Type | Method and Description |
---|---|
Collection<Schema> |
Database.getSchemas(String pattern)
Return schemas with names matching a pattern.
|
Modifier and Type | Method and Description |
---|---|
UpdatableChronicle |
UpdatableChronicle.createChronicle(String name,
boolean tweakName,
String description,
Collection<Attribute<?>> attributes,
Schema schema)
Return a new chronicle to be created in this chronicle.
|
boolean |
Schema.dependsOnSchema(Schema schema)
Return true if the schema depends on the schema specified.
|
void |
UpdatableChronicle.setSchema(Schema schema)
Set the schema of the chronicle.
|
Modifier and Type | Class and Description |
---|---|
class |
SchemaImpl
Default implementation of
Schema . |
class |
UpdatableSchemaImpl
Default implementation of
UpdatableSchema . |
Modifier and Type | Method and Description |
---|---|
protected Schema |
UpdatableSchemaImpl.consolidate(String name,
Surrogate surrogate,
List<Surrogate> dependencyList)
Apply all changes and return the schema as a standard read-only schema.
|
Schema |
UpdatableChronicleImpl.getSchema(boolean effective) |
Schema |
ChronicleImpl.getSchema(boolean effective) |
Schema |
NameSpace.getSchema(boolean effective)
Return null.
|
Schema |
DatabaseBackendImpl.getSchema(Surrogate surrogate)
Return the schema identified by a surrogate.
|
Schema |
UpdatableSchemaImpl.resolve() |
Modifier and Type | Method and Description |
---|---|
Collection<Schema> |
DatabaseBackendImpl.getSchemas(String pattern) |
Modifier and Type | Method and Description |
---|---|
void |
DatabaseCache.clear(Schema schema)
Remove a schema from the cache if present.
|
void |
DatabaseCacheImpl.clear(Schema schema) |
UpdatableChronicle |
UpdatableChronicleImpl.createChronicle(String orig,
boolean tweakable,
String description,
Collection<Attribute<?>> attributes,
Schema schema) |
boolean |
SchemaImpl.dependsOnSchema(Schema schema) |
Surrogate |
DatabaseBackend.findChronicle(Property<?> property,
Schema schema)
Return a chronicle with an attribute value for the given property and
schema.
|
Surrogate |
DatabaseBackend.findChronicle(Schema schema)
Return a chronicle referencing a given schema.
|
Surrogate |
DatabaseBackend.findChronicle(SeriesDefinition ss,
Schema schema)
Return a chronicle with a series corresponding to the series definition
and with a schema dependent on the given schema.
|
UpdatableSchema |
DatabaseBackendImpl.getUpdatableSchema(Schema schema) |
UpdatableSchema |
DatabaseBackend.getUpdatableSchema(Schema schema)
Return the updatable schema corresponding to a schema.
|
void |
UpdatableChronicleImpl.setSchema(Schema schema) |
Constructor and Description |
---|
ChronicleImpl(String name,
String description,
Chronicle parent,
Schema schema,
Surrogate surrogate)
Construct a
Chronicle . |
Copyright © 2017. All rights reserved.