public class ConceptDesc extends AttributeDesc
| Constructor and Description |
|---|
ConceptDesc(Concept owner,
java.lang.String name,
Concept concept)
Creates a new attribute description of type concept.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
delete, getAttribute, getExpType, getName, getOwner, isMultiple, setMultiple, setName, setOwner, toStringpublic ConceptDesc(Concept owner, java.lang.String name, Concept concept) throws java.lang.Exception
owner - name - concept - java.lang.Exceptionpublic Concept getConcept()
public boolean canOverride(AttributeDesc desc)
AttributeDesccanOverride 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 checkedpublic 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