public class SemanticTypeDefinition extends ConfigurableAttribute
NamedObj.ContainedObjectsIterator
Settable.Visibility
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
EXPERT, FULL, NONE, NOT_EDITABLE
Constructor and Description |
---|
SemanticTypeDefinition()
Constructor
|
SemanticTypeDefinition(NamedObj container,
java.lang.String name)
Constructor
|
SemanticTypeDefinition(Workspace workspace)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Description of the Method
|
java.lang.String |
getConceptDef() |
java.lang.String |
getConceptId()
return the value of the semantic type
|
java.lang.String |
getDefaultExpression()
returns the default expression which is null
|
Settable.Visibility |
getVisibility()
Get the visibility of this attribute, as set by setVisibility().
|
void |
setConceptDef(java.lang.String text) |
void |
setVisibility(Settable.Visibility visibility)
this method does not change the visibility.
|
java.util.Collection |
validate()
validate the expression.
|
_exportMoMLContents, _propagateValue, addValueListener, clone, configure, getBase, getConfigureSource, getConfigureText, getExpression, getValueAsString, removeValueListener, setExpression, value
_checkContainer, _getContainedObject, _propagateExistence, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setContainer, setName, updateContent
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _description, _executeChangeRequests, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _removeAttribute, _splitName, _stripNumericSuffix, _validateSettables, addChangeListener, addDebugListener, addHierarchyListener, attributeChanged, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, containedObjectsIterator, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getElementName, getFullName, getModelErrorHandler, getName, getName, getPrototypeList, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, notifyOfNameChange, propagateExistence, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, uniqueName, validateSettables, workspace
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDisplayName
description, getContainer, getFullName, getName, getName, setName
public SemanticTypeDefinition()
public SemanticTypeDefinition(NamedObj container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container
- Description of the Parametername
- The value of the propertyIllegalActionException
- Description of the ExceptionNameDuplicationException
- Description of the Exceptionpublic SemanticTypeDefinition(Workspace workspace)
workspace
- Description of the Parameterpublic java.lang.String getDefaultExpression()
getDefaultExpression
in interface Settable
getDefaultExpression
in class ConfigurableAttribute
ConfigurableAttribute.setExpression(String)
public java.lang.String getConceptId()
public void setConceptDef(java.lang.String text) throws java.lang.Exception
java.lang.Exception
public java.lang.String getConceptDef() throws java.io.IOException
java.io.IOException
public Settable.Visibility getVisibility()
ConfigurableAttribute
getVisibility
in interface Settable
getVisibility
in class ConfigurableAttribute
ConfigurableAttribute.setVisibility(Settable.Visibility)
public void setVisibility(Settable.Visibility visibility)
setVisibility
in interface Settable
setVisibility
in class ConfigurableAttribute
visibility
- The new visibility valueConfigurableAttribute.getVisibility()
public java.util.Collection validate() throws IllegalActionException
validate
in interface Settable
validate
in class ConfigurableAttribute
IllegalActionException
- If the change is not acceptable
to the container.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Description of the Parameter