Dresden OCL Toolkit

tudresden.ocl.lib
Interface OclMultiplyable

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

public interface OclMultiplyable
extends OclRoot

A interface declaring operations expected of classes that have the * and / operators defined.

Author:
Frank Finger
See Also:
OclReal

Method Summary
 OclMultiplyable divide(OclMultiplyable m)
          This operation corresponds to the / operator.
 OclMultiplyable multiply(OclMultiplyable m)
          This operation corresponds to the * operator.
 
Methods inherited from interface tudresden.ocl.lib.OclRoot
getFeature, getFeatureAsCollection, getUndefinedReason, isEqualTo, isNotEqualTo, isUndefined
 

Method Detail

multiply

public OclMultiplyable multiply(OclMultiplyable m)
This operation corresponds to the * operator.

Throws:
OclClassCastException - if the type of the parameter prevents it from being multiplied with this object; this should never happen as long as only one class implements this interface

divide

public OclMultiplyable divide(OclMultiplyable m)
This operation corresponds to the / operator.

Throws:
OclClassCastException - if the type of the parameter prevents this object from being divided by it; this should never happen as long as only one class implements this interface

Dresden OCL Toolkit

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