Package | Description |
---|---|
casa.ontology.v3 |
Modifier and Type | Class and Description |
---|---|
class |
AsymmetricRelation |
class |
BasedRelation
Describes are relation based (or backed by) another relation.
|
class |
InverseRelation |
class |
MirrorRelation |
class |
PrimitiveRelation |
class |
ReflexiveRelation |
class |
SymmetricRelation |
class |
TransitiveRelation |
class |
UsesRelation |
Modifier and Type | Field and Description |
---|---|
(package private) ConcreteRelation |
BasedRelation.base |
(package private) static ConcreteRelation |
CASAOntology.instanceOf
A primitive relation
|
(package private) static ConcreteRelation |
CASAOntology.isa
A primitive relation
|
(package private) static ConcreteRelation |
CASAOntology.isaAncestor
A primitive relation
|
(package private) static ConcreteRelation |
CASAOntology.isaChild
A primitive relation
|
(package private) static ConcreteRelation |
CASAOntology.isaDescendant
A primitive relation
|
(package private) static ConcreteRelation |
CASAOntology.isaParent
A primitive relation
|
(package private) static ConcreteRelation |
CASAOntology.isequal
A primitive relation
|
(package private) static ConcreteRelation |
CASAOntology.properInstanceOf
A primitive relation
|
(package private) ConcreteRelation |
UsesRelation.uses |
Modifier and Type | Method and Description |
---|---|
ConcreteRelation |
CASAOntology.declRelation(String name,
ConcreteRelation basedOn,
Relation.Property[] properties,
ConstraintSimple domConstraint,
ConstraintSimple ranConstraint,
Object... otherParams)
Convenience method that calls
#declRelation(String, ConcreteRelation, Property[], ConstraintSimple, ConstraintSimple, Object...) after converting
the properties parameter. |
ConcreteRelation |
CASAOntology.declRelation(String name,
ConcreteRelation basedOn,
Set<Relation.Property> properties,
Constraint domConstraint,
Constraint ranConstraint,
Object... otherParams)
Create and record a new relation in this ontology.
|
ConcreteRelation |
UsesRelation.getUses() |
ConcreteRelation |
PrimitiveRelation.getUses() |
abstract ConcreteRelation |
ConcreteRelation.getUses() |
ConcreteRelation |
BasedRelation.getUses() |
Modifier and Type | Method and Description |
---|---|
int |
Maplet.compare(ConcreteRelation relation,
Maplet other) |
ConcreteRelation |
CASAOntology.declRelation(String name,
ConcreteRelation basedOn,
Relation.Property[] properties,
ConstraintSimple domConstraint,
ConstraintSimple ranConstraint,
Object... otherParams)
Convenience method that calls
#declRelation(String, ConcreteRelation, Property[], ConstraintSimple, ConstraintSimple, Object...) after converting
the properties parameter. |
ConcreteRelation |
CASAOntology.declRelation(String name,
ConcreteRelation basedOn,
Set<Relation.Property> properties,
Constraint domConstraint,
Constraint ranConstraint,
Object... otherParams)
Create and record a new relation in this ontology.
|
Set<Type> |
UsesRelation.relatedTo(Type domain,
ConcreteRelation topOfStack) |
Set<Type> |
TransitiveRelation.relatedTo(Type subject,
ConcreteRelation topOfStack) |
Set<Type> |
SymmetricRelation.relatedTo(Type domain,
ConcreteRelation topOfStack) |
Set<Type> |
ReflexiveRelation.relatedTo(Type domain,
ConcreteRelation topOfStack) |
Set<Type> |
PrimitiveRelation.relatedTo(Type domain,
ConcreteRelation topOfStack) |
Set<Type> |
MirrorRelation.relatedTo(Type domain,
ConcreteRelation topOfStack) |
Set<Type> |
InverseRelation.relatedTo(Type domain,
ConcreteRelation topOfStack) |
abstract Set<Type> |
ConcreteRelation.relatedTo(Type domain,
ConcreteRelation topOfStack) |
Set<Type> |
AsymmetricRelation.relatedTo(Type domain,
ConcreteRelation topOfStack) |
protected Maplet |
UsesRelation.relatedTo(Type domain,
Type range,
ConcreteRelation topOfStack) |
protected Maplet |
TransitiveRelation.relatedTo(Type subject,
Type object,
ConcreteRelation topOfStack) |
protected Maplet |
SymmetricRelation.relatedTo(Type subject,
Type object,
ConcreteRelation topOfStack) |
protected Maplet |
ReflexiveRelation.relatedTo(Type subject,
Type object,
ConcreteRelation topOfStack) |
protected Maplet |
PrimitiveRelation.relatedTo(Type domain,
Type range,
ConcreteRelation topOfStack) |
protected Maplet |
MirrorRelation.relatedTo(Type domain,
Type range,
ConcreteRelation topOfStack) |
protected Maplet |
InverseRelation.relatedTo(Type domain,
Type range,
ConcreteRelation topOfStack) |
protected abstract Maplet |
ConcreteRelation.relatedTo(Type domain,
Type range,
ConcreteRelation topOfStack) |
protected Maplet |
AsymmetricRelation.relatedTo(Type subject,
Type object,
ConcreteRelation topOfStack)
If this relation is holds in both forward and backward direction then
we must disambiguate using the USES relation if there is one.
|
private Set<Type> |
TransitiveRelation.relatedTo2(Type subject,
TreeSet<Type> recursion,
ConcreteRelation topOfStack) |
private Maplet |
TransitiveRelation.relatedTo2(Type subject,
Type object,
Vector<Maplet> recursion,
ConcreteRelation topOfStack) |
Constructor and Description |
---|
AsymmetricRelation(String name,
Ontology ontology,
ConcreteRelation base,
boolean assignable,
Constraint domConstraint,
Constraint ranConstraint) |
BasedRelation(String name,
Ontology ontology,
ConcreteRelation base,
boolean assignable,
Constraint domainConstraint,
Constraint rangeConstraint) |
InverseRelation(String name,
Ontology ontology,
ConcreteRelation base,
boolean assignable,
Constraint domConstraint,
Constraint ranConstraint,
Relation owner) |
MirrorRelation(String name,
Ontology ontology,
ConcreteRelation base,
boolean assignable,
Constraint domainConstraint,
Constraint rangeConstraint)
A relation that just mirrors it's base and nothing more except check constraints.
|
ReflexiveRelation(String name,
Ontology ontology,
ConcreteRelation base,
boolean assignable,
Constraint domConstraint,
Constraint ranConstraint) |
SymmetricRelation(String name,
Ontology ontology,
ConcreteRelation base,
boolean assignable,
Constraint domConstraint,
Constraint ranConstraint) |
TransitiveRelation(String name,
Ontology ontology,
ConcreteRelation base,
boolean assignable,
Constraint domConstraint,
Constraint ranConstraint) |
UsesRelation(String name,
Ontology ontology,
ConcreteRelation base,
ConcreteRelation uses,
boolean assignable,
Constraint domConstraint,
Constraint ranConstraint,
Relation owner) |