Class SemanticDescription

java.lang.Object
it.poliba.sisinflab.tinyme.SemanticDescription
Direct Known Subclasses:
EntityDescription

public class SemanticDescription
extends Object
Models an ALN concept expression as the conjunction of CCN, CGT, CLT, C components, stored in collections of AtomicConcept, CardinalityRole and UniversalRole class instances.

Instances of this class are backed by native data structures, and as such they require special treatment for memory management, therefore they can only be created via the DataFactory instance held by Reasoner (which automatically ties their lifecycle to that of the enclosing objects).

Unless otherwise stated, SemanticDescription objects returned by the reasoner instance should not be mutated unless they have been copied beforehand (via e.g. DataFactory.copy(SemanticDescription)), otherwise IllegalStateException is thrown.

See Also:
DataFactory