public class StringDesc extends SimpleAttDesc
| Constructor and Description |
|---|
StringDesc(Concept owner,
java.lang.String name)
Initializes this with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
StringFct |
addStringFct(StringConfig config,
java.lang.String name,
boolean active)
Creates a new StringFct for the given description.
|
boolean |
canOverride(AttributeDesc desc)
Checks whether this can override the given description.
|
StringAttribute |
getStringAttribute(java.lang.String string)
Returns
StringAttribute object representing the specified
string. |
addFct, deleteAllFcts, deleteSimFct, getFct, getSimFcts, renameFctdelete, fits, fitsSingle, getAttribute, getExpType, getName, getOwner, isMultiple, setMultiple, setName, setOwner, toString, updatepublic StringDesc(Concept owner, java.lang.String name) throws java.lang.Exception
owner - the owner of this descriptionname - the name of this descriptionjava.lang.Exception - if the owner already has a description for this namepublic final StringAttribute getStringAttribute(java.lang.String string)
StringAttribute object representing the specified
string.string - the string representing the value that should be returnedpublic final StringFct addStringFct(StringConfig config, java.lang.String name, boolean active)
config - the configuration for the function to be createdname - the name of the new functionactive - if true, the new function will be used in all amalgamation
functions known for the owner of thispublic final boolean canOverride(AttributeDesc desc)
canOverride in class SimpleAttDescdesc - the description to be overridden.