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 |
---|---|
Attribute<T> |
AttributeDefinition.getAttribute()
Return the attribute.
|
Attribute<?> |
Series.getAttribute(String name,
boolean mustExist)
Return the attribute with the given name.
|
Attribute<?> |
Chronicle.getAttribute(String name,
boolean mustExist)
Return the attribute with the given name.
|
<S> Attribute<S> |
Attribute.typeCheck(Class<S> type)
Cast the attribute to the type specified.
|
Modifier and Type | Method and Description |
---|---|
Collection<Attribute<?>> |
Series.getAttributes()
Return all the series' attributes.
|
Collection<Attribute<?>> |
Chronicle.getAttributes()
Return all the chronicle's attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
UpdatableChronicle.setAttribute(Attribute<?> value)
Set an attribute.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
AttributeImpl<T>
Default implementation of
Attribute . |
Modifier and Type | Method and Description |
---|---|
Attribute<T> |
AttributeDefinitionImpl.getAttribute() |
Attribute<?> |
UpdatableChronicleImpl.getAttribute(String attrName,
boolean mustExist) |
Attribute<?> |
ChronicleImpl.getAttribute(String attrName,
boolean mustExist) |
Attribute<?> |
SeriesImpl.getAttribute(String name,
boolean mustExist) |
Attribute<?> |
NameSpace.getAttribute(String name,
boolean mustExist)
Always throws an exception.
|
<S> Attribute<S> |
AttributeImpl.typeCheck(Class<S> type) |
Modifier and Type | Method and Description |
---|---|
Collection<Attribute<?>> |
ChronicleImpl.getAttributes() |
Collection<Attribute<?>> |
SeriesImpl.getAttributes() |
Modifier and Type | Method and Description |
---|---|
boolean |
DatabaseBackend.getAttributeValue(List<Chronicle> chronicles,
Attribute<?> attribute)
Return true if a value can be found for the attribute in one of
chronicles listed.
|
void |
UpdatableChronicleImpl.setAttribute(Attribute<?> value) |
void |
NameSpace.setAttribute(Attribute<?> value)
Always throws an exception.
|
Modifier and Type | Method and Description |
---|---|
UpdatableChronicle |
UpdatableChronicleImpl.createChronicle(String orig,
boolean tweakable,
String description,
Collection<Attribute<?>> attributes,
Schema schema) |
void |
UpdatableChronicleImpl.updateAttributes(Collection<Attribute<?>> attributes)
Update attribute values.
|
Copyright © 2017. All rights reserved.