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 |
---|---|
AttributeDefinition<?> |
UpdatableSchema.addAttribute(int attrNr)
Add a new attribute to the schema.
|
AttributeDefinition<?> |
UpdatableSchema.addAttribute(int seriesNr,
int attrNr)
Add a new attribute to a series.
|
AttributeDefinition<?> |
IncompleteSchema.getAttributeDefinition(int number,
boolean mustExist)
Return the attribute definition with the given attribute number.
|
AttributeDefinition<?> |
IncompleteSchema.getAttributeDefinition(String name,
boolean mustExist)
Return the attribute definition with the given attribute name.
|
<S> AttributeDefinition<S> |
AttributeDefinition.typeCheck(Class<S> type)
Cast the attribute definition to the type specified.
|
Modifier and Type | Method and Description |
---|---|
Collection<AttributeDefinition<?>> |
IncompleteSchema.getAttributeDefinitions()
Return the collection of all attribute definitions.
|
Collection<AttributeDefinition<?>> |
SeriesDefinition.getCustomAttributeDefinitions()
Return the collection of attribute definitions which are not built-in.
|
Modifier and Type | Class and Description |
---|---|
class |
AttributeDefinitionImpl<T>
Default implementation of
AttributeDefinition . |
Modifier and Type | Method and Description |
---|---|
AttributeDefinition<?> |
UpdatableSchemaImpl.addAttribute(int attrNr) |
AttributeDefinition<?> |
UpdatableSchemaImpl.addAttribute(int seriesNr,
int attrNr) |
AttributeDefinition<?> |
SeriesDefinitionImpl.getAttributeDefinition(int attrNr,
boolean mustExist) |
AttributeDefinition<?> |
SchemaImpl.getAttributeDefinition(int number,
boolean mustExist) |
AttributeDefinition<?> |
SeriesDefinitionImpl.getAttributeDefinition(String name,
boolean mustExist) |
AttributeDefinition<?> |
SchemaImpl.getAttributeDefinition(String name,
boolean mustExist) |
<S> AttributeDefinition<S> |
AttributeDefinitionImpl.typeCheck(Class<S> type) |
Modifier and Type | Method and Description |
---|---|
Collection<AttributeDefinition<?>> |
SeriesDefinitionImpl.getAttributeDefinitions() |
Collection<AttributeDefinition<?>> |
SchemaImpl.getAttributeDefinitions() |
protected SchemaComponents<AttributeDefinition<?>> |
SeriesDefinitionImpl.getAttributeDefinitionsObject()
Return the object managing the series' attribute definitions.
|
protected SchemaComponents<AttributeDefinition<?>> |
SchemaImpl.getAttributeDefinitionsObject()
Return the object managing attribute definitions.
|
Collection<AttributeDefinition<?>> |
SeriesDefinitionImpl.getCustomAttributeDefinitions() |
Modifier and Type | Method and Description |
---|---|
int |
AttributeDefinitionImpl.compareTo(AttributeDefinition<T> o) |
void |
DatabaseBackend.deleteAttributeValue(UpdatableChronicle chronicle,
AttributeDefinition<?> def)
Remove the value and description for an attribute of a chronicle.
|
boolean |
DatabaseBackendImpl.isBuiltIn(AttributeDefinition<?> def) |
boolean |
DatabaseBackend.isBuiltIn(AttributeDefinition<?> def)
Test whether an attribute definition is built-in.
|
void |
DatabaseBackend.update(UpdatableChronicle chronicle,
AttributeDefinition<?> def,
String value,
String description)
Set the value and description of an attribute of a chronicle.
|
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 seriesDef,
AttributeDefinition<?> attrDef,
AttributeDefinition<?> origAttrDef)
Visit an attribute definition of a chronicle or a series.
|
Modifier and Type | Method and Description |
---|---|
protected int |
UpdatableSchemaImpl.visit(UpdatableSchemaVisitor visitor,
SeriesDefinition seriesDef,
Map<Integer,AttributeDefinition<?>> editedADs,
Map<Integer,AttributeDefinition<?>> origADs) |
protected int |
UpdatableSchemaImpl.visit(UpdatableSchemaVisitor visitor,
SeriesDefinition seriesDef,
Map<Integer,AttributeDefinition<?>> editedADs,
Map<Integer,AttributeDefinition<?>> origADs) |
Constructor and Description |
---|
SchemaImpl(boolean updatable,
String name,
Collection<AttributeDefinition<?>> attributeDefs,
Collection<SeriesDefinition> seriesDefinitions,
Surrogate surrogate,
List<Surrogate> dependencyList)
Construct a
Schema . |
SchemaImpl(String name,
Collection<AttributeDefinition<?>> attributeDefs,
Collection<SeriesDefinition> seriesDefinitions,
Surrogate surrogate,
List<Surrogate> dependencyList)
Construct a
Schema . |
SeriesDefinitionImpl(int number,
String description,
Collection<AttributeDefinition<?>> attributeDefs)
Construct a
SeriesDefinition . |
UpdatableSchemaImpl(String name,
UpdatableSchema base,
Collection<AttributeDefinition<?>> attributeDefs,
Collection<SeriesDefinition> seriesDefinitions,
Surrogate surrogate)
Construct an
UpdatableSchema . |
Copyright © 2017. All rights reserved.