public abstract class SimpleAttDesc extends AttributeDesc
| Constructor and Description |
|---|
SimpleAttDesc(Concept owner,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFct(ISimFct f) |
abstract boolean |
canOverride(AttributeDesc desc)
Checks whether this attribute description
can override the given attribute description
|
void |
deleteAllFcts() |
void |
deleteSimFct(ISimFct f)
Deletes the given function from the list of known functions for the given
description.
|
ISimFct |
getFct(java.lang.String name) |
java.util.List<ISimFct> |
getSimFcts()
Returns the available similarity functions for the specified description.
|
void |
renameFct(java.lang.String nameOLD,
java.lang.String nameNEW) |
delete, fits, fitsSingle, getAttribute, getExpType, getName, getOwner, isMultiple, setMultiple, setName, setOwner, toString, updatepublic SimpleAttDesc(Concept owner, java.lang.String name) throws java.lang.Exception
owner - the owner of thisname - the name of thisjava.lang.Exception - if the owner has another description with this namepublic final java.util.List<ISimFct> getSimFcts()
public final ISimFct getFct(java.lang.String name)
name - the name of the function to be returnedpublic final void deleteSimFct(ISimFct f)
f - the function to be deletedpublic final void addFct(ISimFct f)
f - the function to be added to thispublic abstract boolean canOverride(AttributeDesc desc)
AttributeDesccanOverride in class AttributeDescpublic final void deleteAllFcts()
deleteAllFcts in class AttributeDescpublic void renameFct(java.lang.String nameOLD,
java.lang.String nameNEW)
nameOLD - nameNEW -