|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectptolemy.kernel.util.NamedObj
ptolemy.kernel.util.Attribute
ptolemy.kernel.util.AbstractSettableAttribute
ptolemy.kernel.util.StringAttribute
ptolemy.data.properties.AnnotationAttribute
public class AnnotationAttribute
An annotation attribute that specifies property constraints in the model. The name of the attribute is prefixed by the use case or solver's name.
| Red (mankit) |
| Red (mankit) |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ptolemy.kernel.util.NamedObj |
|---|
NamedObj.ContainedObjectsIterator |
| Nested classes/interfaces inherited from interface ptolemy.kernel.util.Settable |
|---|
Settable.Visibility |
| Field Summary |
|---|
| Fields inherited from class ptolemy.kernel.util.NamedObj |
|---|
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS |
| Fields inherited from interface ptolemy.kernel.util.Settable |
|---|
EXPERT, FULL, NONE, NOT_EDITABLE |
| Constructor Summary | |
|---|---|
AnnotationAttribute(NamedObj container,
java.lang.String name)
Construct a PropertyAttribute with the specified name, and container. |
|
| Method Summary | |
|---|---|
java.lang.String |
getUseCaseIdentifier()
|
void |
setName(java.lang.String name)
Set the name of the attribute and error-check for name format. |
| Methods inherited from class ptolemy.kernel.util.StringAttribute |
|---|
_propagateValue, addValueListener, exportMoML, getExpression, getVisibility, removeValueListener, setExpression, setVisibility, validate |
| Methods inherited from class ptolemy.kernel.util.AbstractSettableAttribute |
|---|
getDefaultExpression, getValueAsString |
| Methods inherited from class ptolemy.kernel.util.Attribute |
|---|
_checkContainer, _getContainedObject, _propagateExistence, clone, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setContainer, updateContent |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ptolemy.kernel.util.Settable |
|---|
getDisplayName |
| Methods inherited from interface ptolemy.kernel.util.Nameable |
|---|
description, getContainer, getFullName, getName, getName |
| Constructor Detail |
|---|
public AnnotationAttribute(NamedObj container,
java.lang.String name)
throws IllegalActionException,
NameDuplicationException
container - Containername - The given name for the attribute.
IllegalActionException - If the attribute is not of an
acceptable class for the container, or if the name contains a period.
NameDuplicationException - If the name coincides with an
attribute already in the container.| Method Detail |
|---|
public void setName(java.lang.String name)
throws IllegalActionException,
NameDuplicationException
setName in interface NameablesetName in class Attributename - The new name.
IllegalActionException - If the name contains a period.
NameDuplicationException - If there is already an
attribute with the same name in the container.NamedObj.getName(),
NamedObj.getName(NamedObj)
public java.lang.String getUseCaseIdentifier()
throws IllegalActionException
IllegalActionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||