|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.ashridgetech.jamda.uml.ModelElement
|
+--com.ashridgetech.jamda.uml.Feature
The base class for features of a StructuredType.
| Nested Class Summary |
| Nested classes inherited from class com.ashridgetech.jamda.uml.ModelElement |
ModelElement.DuplicateElementException, ModelElement.ElementListStore, ModelElement.ElementNameListStore, ModelElement.ElementNameStore, ModelElement.ElementStore, ModelElement.TaggedValue, ModelElement.UnknownElementException |
| Field Summary | |
static java.lang.String |
DEFAULT_OID_NAME
|
| Fields inherited from class com.ashridgetech.jamda.uml.ModelElement |
DUMMY_STORE |
| Constructor Summary | |
protected |
Feature(ru.novosoft.uml.foundation.core.MFeature mf,
StructuredType owner)
Creates new Feature from a NSUML MFeature object. |
| Method Summary | |
java.util.Set |
getReaders()
Get Actors who can read this Property |
StructuredType.Visibility |
getVisibility()
Get the visibility of this Attribute. |
java.util.Set |
getWriters()
Get Actors who can write this Property |
boolean |
isReadableBy(Actor actor)
Indicate whether the value(s) of this property can be read by a given Actor. |
boolean |
isStatic()
Show whether this Feature is of static scope. |
boolean |
isWritableBy(Actor actor)
Indicate whether the value(s) of this property can be written by a given Actor. |
protected Feature |
setFeatureStatic(boolean isStatic)
Set whether this Feature is of static scope. |
protected Feature |
setFeatureVisibility(StructuredType.Visibility visibility)
Set the visibility of this Attribute. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String DEFAULT_OID_NAME
| Constructor Detail |
protected Feature(ru.novosoft.uml.foundation.core.MFeature mf,
StructuredType owner)
| Method Detail |
public boolean isStatic()
Feature is of static scope.
protected Feature setFeatureStatic(boolean isStatic)
Feature is of static scope.
isStatic - true if this is to be static
public StructuredType.Visibility getVisibility()
Attribute.
Visibility instance representing this Attributes visibilityprotected Feature setFeatureVisibility(StructuredType.Visibility visibility)
Attribute.
visibility - the Visibility instance representing
this Attribute's visibility - must not be null
public boolean isReadableBy(Actor actor)
Actor.
public boolean isWritableBy(Actor actor)
Actor.
public java.util.Set getReaders()
Actors who can read this Property
Actors. May be null to indicate that ALL Actors
can read this Property, or an empty Set to indicate that
NO Actors can read this Propertypublic java.util.Set getWriters()
Actors who can write this Property
Actors. May be null to indicate that ALL Actors
can write this Property, or an empty Set to indicate that
NO Actors can write this Property
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||