public class ConceptSlotFunction extends AbsConceptSlotFunction
Person with a slot name and a slot age,
it is possible to create expressions such asuseConceptSlotsAsFunctions method of the Ontology class.ABS_AGENT_ACTION, ABS_AGGREGATE, ABS_CONCEPT, ABS_CONCEPT_SLOT_FUNCTION, ABS_CONTENT_ELEMENT_LIST, ABS_IRE, ABS_PREDICATE, ABS_PRIMITIVE, ABS_VARIABLE, UNKNOWN| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
apply() |
java.lang.Object |
apply(Concept c) |
void |
fill(Concept c,
java.lang.Object val) |
void |
fill(java.lang.Object val) |
AbsObject |
getAbsObject(java.lang.String name)
Gets the value of an attribute of the object held by this
abstract descriptor.
|
Concept |
getConcept() |
int |
getCount()
Gets the number of attributes.
|
java.lang.String[] |
getNames() |
java.lang.String |
getSlotName() |
boolean |
isGrounded()
Tests if the object is grounded, i.e., if no one of its attributes
is associated with a variable
|
getAbsTypegetAbsTerm, getJavaClass, setgetBoolean, getByteSequence, getDate, getDouble, getFloat, getInteger, getLong, getString, set, set, set, set, set, set, set, set, setequals, getTypeName, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTypeNamepublic java.lang.String getSlotName()
public Concept getConcept()
public AbsObject getAbsObject(java.lang.String name)
AbsObjectImplgetAbsObject in interface AbsObjectgetAbsObject in class AbsObjectImplname - The name of the attribute.AbsObject.getAbsObject(String)public java.lang.String[] getNames()
getNames in interface AbsObjectgetNames in class AbsObjectImplAbsObject.getNames()public boolean isGrounded()
AbsObjectImplisGrounded in interface AbsObjectisGrounded in class AbsObjectImpltrue if the object is grounded.AbsObject.isGrounded()public int getCount()
AbsObjectImplgetCount in interface AbsObjectgetCount in class AbsObjectImplAbsObject.getCount()public java.lang.Object apply()
throws OntologyException
OntologyExceptionpublic java.lang.Object apply(Concept c) throws OntologyException
OntologyExceptionpublic void fill(java.lang.Object val)
throws OntologyException
OntologyExceptionpublic void fill(Concept c, java.lang.Object val) throws OntologyException
OntologyException