org.ocltf.model
Interface ConstraintFacade

All Superinterfaces:
ElementFacade

public interface ConstraintFacade
extends ElementFacade

Specifies a "facade" for an underlying constraint.

Author:
Chad Brandon

Method Summary
 java.lang.String getBody()
          Returns the OCL expression text.
 ElementFacade getConstrainedElement()
          Returns the constrained element.
 java.lang.String getName()
          Returns the name of the constraint.
 
Methods inherited from interface org.ocltf.model.ElementFacade
findConstraint, findTagValue, getConstraints, getFullyQualifiedName, getGeneralizations, getId, getPackageName, getStereotypeNames, getTaggedValues, getType
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the constraint.

Specified by:
getName in interface ElementFacade
Returns:
String the name.

getBody

public java.lang.String getBody()
Returns the OCL expression text.

Returns:
String the body.

getConstrainedElement

public ElementFacade getConstrainedElement()
Returns the constrained element.

Returns:
ElementFacade the constrained element


Copyright © 2003-2004 Chad Brandon. All Rights Reserved.