UML.Semantic.BehavioralElements.UseCases
Class Actor
java.lang.Object
|
+--UML.Semantic.Foundation.Core.ModelElement
|
+--UML.Semantic.Foundation.Core.Namespace
|
+--UML.Semantic.Foundation.Core.GeneralizableElement
|
+--UML.Semantic.Foundation.Core.Classifier
|
+--UML.Semantic.BehavioralElements.UseCases.Actor
- All Implemented Interfaces:
- Element, ElementAtt, LinkAtt
- public class Actor
- extends Classifier
An actor defines a coherent set of roles that users of an
entity can play when interacting with the entity. An actor has
one role for each use case with which it communicates.
In the metamodel Actor is a subclass of
Classifier. An Actor has a Name
and may communicate with a set of UseCases, and,
at realization level, with Classifiers taking part
in the realization of these UseCases. An
Actor may also have a set of Interfaces,
each describing how other elements may communicate with the
Actor.
An Actor may inherit other Actors.
This means that the inheriting Actor will be able
to play the same roles as the inherited Actor, i.e.
communicate with the same set of UseCases, as the
inherited Actor.
|
Constructor Summary |
Actor()
|
|
Method Summary |
boolean |
check()
Checks if well-formedness rules are respected in this model
element. |
| Methods inherited from class UML.Semantic.Foundation.Core.Classifier |
add, add, add, allAssociationEnd, allAssociations, allAttributes, allFeatures, allMethods, allOperations, allOppositeAssociationEnd, getAssociationEnd, getAssociations, getAttribute, getAttribute, getAttributeCount, getFeature, getFeature, getInfo, getOperation, getOperation, getOperationCount, getSpecification, inheritedAssociationEnd, inheritedAssociations, inheritedAttributes, inheritedOperations, inheritedOppositeAssociationEnd, oppositeAssociationEnd, setRealization, setSpecification |
| Methods inherited from class UML.Semantic.Foundation.Core.GeneralizableElement |
allOwnedElement, allSupertype, getGeneralization, getIsAbstract, getIsLeaf, getIsRoot, getSpecialization, getSupertype, inheritedOwnedElement, inheritedSupertype, setIsAbstract, setIsLeaf, setIsRoot |
| Methods inherited from class UML.Semantic.Foundation.Core.ModelElement |
add, getBindingList, getConstraintList, getElementType, getErrors, getHref, getId, getIdentification, getIdref, getIndex, getIsOwned, getLabel, getLocator, getName, getNamespace, getNamespaceId, getStereotype, getTemplate, getTemplateParameterList, getTitle, getUuid, getUuidref, getVisibility, getVisibilitySymbol, getWarnings, setElementType, setErrors, setHref, setId, setIdref, setIndex, setIsOwned, setLabel, setName, setNamespace, setTemplate, setTitle, setUuid, setUuidref, setVisibility, setWarnings |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Actor
public Actor()
check
public boolean check()
- Checks if well-formedness rules are respected in this model
element.
- Overrides:
check in class Classifier
- Returns:
- True if check was successful, false otherwise.