View Javadoc

1   package org.ocltf.model;
2   
3   
4   /***
5    * Specifies a "facade" for an underlying constraint. 
6    *
7    * @author Chad Brandon
8    */
9   public interface ConstraintFacade extends ElementFacade {
10  	
11  	/***
12  	 * Returns the name of the constraint.
13       * 
14       * @return String the name.
15  	 */
16  	public String getName();
17  	
18  	/***
19  	 * Returns the OCL expression text.
20       * 
21       * @return String the body.
22  	 */
23  	public String getBody();
24  	
25  	/***
26  	 * Returns the constrained element.
27  	 * @return ElementFacade the constrained element
28  	 */
29  	public ElementFacade getConstrainedElement();
30  	
31   }