|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
de.dfki.mycbr.core.model.AttributeDesc
de.dfki.mycbr.core.model.ConceptDesc
public class ConceptDesc
The vocabulary of a myCBR project consists of several attribute descriptions which describe a tree like structure as a class hierarchy (with composition and inheritance). The classes in this hierarchy are represented by objects of type c description. Each c description contains several other attribute descriptions (like integer, float, boolean descriptions ...). Concept description can have sub/super c description (representing inheritance) and can have c descriptions as attribute descriptions themselves (representing composition).
| Constructor Summary | |
|---|---|
ConceptDesc(Concept owner,
java.lang.String name,
Concept concept)
Creates a new attribute description of type concept. |
|
| Method Summary | |
|---|---|
boolean |
canOverride(AttributeDesc desc)
Checks whether this attribute description can override the given attribute description |
void |
deleteAllFcts()
|
boolean |
fits(Attribute att)
Checks whether the given attribute fits this. |
boolean |
fitsSingle(Attribute att)
Checks whether a single attribute fits the constraints for this. |
Concept |
getConcept()
|
MultipleConfig |
getMultipleConfig(AmalgamationFct f)
|
void |
setConcept(Concept c)
|
void |
setMultipleConfig(AmalgamationFct f,
MultipleConfig mc)
|
void |
update(java.util.Observable o,
java.lang.Object arg)
|
| Methods inherited from class de.dfki.mycbr.core.model.AttributeDesc |
|---|
delete, getAttribute, getExpType, getName, getOwner, isMultiple, setMultiple, setName, setOwner, toString |
| Methods inherited from class java.util.Observable |
|---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConceptDesc(Concept owner,
java.lang.String name,
Concept concept)
throws java.lang.Exception
owner - name - concept -
java.lang.Exception| Method Detail |
|---|
public Concept getConcept()
public boolean canOverride(AttributeDesc desc)
AttributeDesc
canOverride in class AttributeDescpublic void setConcept(Concept c)
public boolean fits(Attribute att)
AttributeDescAttributeDesc.fitsSingle(Attribute)
fits in class AttributeDescatt -
public boolean fitsSingle(Attribute att)
AttributeDescAttributeDesc.fits(Attribute)
fitsSingle in class AttributeDescatt - the attribute which should be checked
public void deleteAllFcts()
deleteAllFcts in class AttributeDescpublic MultipleConfig getMultipleConfig(AmalgamationFct f)
public void setMultipleConfig(AmalgamationFct f,
MultipleConfig mc)
public void update(java.util.Observable o,
java.lang.Object arg)
update in interface java.util.Observerupdate in class AttributeDesc
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||