Dresden OCL Toolkit

tudresden.ocl.lib
Interface OclAddable

All Superinterfaces:
Cloneable, OclRoot
All Known Implementing Classes:
OclReal

public interface OclAddable
extends OclRoot

This interface defines the operation add. It is implemented by OclReal.

Author:
Frank Finger

Method Summary
 OclAddable add(OclAddable a)
          This operation implements the + operator that is currently defined on Real and Integer values only.
 
Methods inherited from interface tudresden.ocl.lib.OclRoot
getFeature, getFeatureAsCollection, getUndefinedReason, isEqualTo, isNotEqualTo, isUndefined
 

Method Detail

add

public OclAddable add(OclAddable a)
This operation implements the + operator that is currently defined on Real and Integer values only.

Throws:
OclClassCastException - if the type of the parameter prevents it from being added to this object

Dresden OCL Toolkit

Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.