UML.Semantic.Foundation.Core
Class BehavioralFeature

java.lang.Object
  |
  +--UML.Semantic.Foundation.Core.ModelElement
        |
        +--UML.Semantic.Foundation.Core.Feature
              |
              +--UML.Semantic.Foundation.Core.BehavioralFeature
All Implemented Interfaces:
Element, ElementAtt, LinkAtt
Direct Known Subclasses:
Method, Operation, Reception

public abstract class BehavioralFeature
extends Feature

A behavioral feature refers to a dynamic feature of a model element, such as an operation or method.

In the metamodel a BehavioralFeature specifies a behavioral aspect of a Classifier. All different kinds of behavioral aspects of a Classifier, such as Operation and Method, are subclasses of BehavioralFeature. BehavioralFeature is an abstract metaclass.


Constructor Summary
BehavioralFeature()
          Constructor.
 
Method Summary
 void add(Parameter elem)
          Adds a paramter to this feature.
 boolean check()
          Checks if well-formedness rules are respected in this model element.
 boolean getIsQuery()
          Gets the value of the isQuery attribute.
 java.util.Vector getParameter()
          Gets the set of parameters of this feature.
 Parameter getParameterAt(int i)
          Gets the i-th parameter of this feature.
 java.lang.String getParameterList()
          Gets a string representing tha parameters of this feature.
 java.lang.String getReturnList()
          Gets a string representing the return values of this feature.
 java.lang.String getSignature()
          Gets the signature of this behavioral feature.
 void setIsQuery(java.lang.String mode)
          Sets the value of isQuery attribute.
 
Methods inherited from class UML.Semantic.Foundation.Core.Feature
getOwner, getOwnerScope, setOwner, setOwnerScope
 
Methods inherited from class UML.Semantic.Foundation.Core.ModelElement
add, add, getBindingList, getConstraintList, getElementType, getErrors, getHref, getId, getIdentification, getIdref, getIndex, getInfo, 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
 

Constructor Detail

BehavioralFeature

public BehavioralFeature()
Constructor.

Method Detail

setIsQuery

public void setIsQuery(java.lang.String mode)
Sets the value of isQuery attribute.


getIsQuery

public boolean getIsQuery()
Gets the value of the isQuery attribute.

Returns:
true or false according to isQuery attribute value.

add

public void add(Parameter elem)
Adds a paramter to this feature.


getParameter

public java.util.Vector getParameter()
Gets the set of parameters of this feature.

Returns:
A set of Parameter indentifiers.

getParameterAt

public Parameter getParameterAt(int i)
Gets the i-th parameter of this feature.


getParameterList

public java.lang.String getParameterList()
Gets a string representing tha parameters of this feature.


getReturnList

public java.lang.String getReturnList()
Gets a string representing the return values of this feature.


getSignature

public java.lang.String getSignature()
Gets the signature of this behavioral feature.

Returns:
A string representing signature.

check

public boolean check()
Checks if well-formedness rules are respected in this model element.

Overrides:
check in class Feature
Returns:
True if check was successful, false otherwise.