UML.Semantic.Foundation.AuxiliaryElements
Class Refinement

java.lang.Object
  |
  +--UML.Semantic.Foundation.Core.ModelElement
        |
        +--UML.Semantic.Foundation.Core.Dependency
              |
              +--UML.Semantic.Foundation.AuxiliaryElements.Refinement
All Implemented Interfaces:
Element, ElementAtt, LinkAtt

public class Refinement
extends Dependency

A refinement is a relationship between model elements at different semantics levels, such as analysis and design.

In the metamodel a Refinement is a Dependency where the clients are derived from the suppliers. The derivation cannot necessarily be described by an algorithm; human decisions may be required to produce the clients. The details of specifying the derivation are beyond the scope of UML but can be indicated with constraints. Refinement can be used to model stepwise refinement, optimizations, transformations, templates, model synthesis, framework composition, etc.


Constructor Summary
Refinement()
           
 
Method Summary
 boolean check()
          Checks if well-formedness rules are respected in this mode-element.
 java.lang.String getMapping()
          Gets the description of the mapping.
 void setMapping(java.lang.String map)
          Sets the descritpion of the mapping to the given value.
 
Methods inherited from class UML.Semantic.Foundation.Core.Dependency
getDescription, setClient, setDescription, setSupplier
 
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

Refinement

public Refinement()
Method Detail

setMapping

public void setMapping(java.lang.String map)
Sets the descritpion of the mapping to the given value.


getMapping

public java.lang.String getMapping()
Gets the description of the mapping.

Returns:
The description string.

check

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

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