1 package org.omg.uml.foundation.core;2 3 public interface Constraint extends org.omg.uml.foundation.core.ModelElement {4 public org.omg.uml.foundation.datatypes.BooleanExpression getBody();5 public void setBody(org.omg.uml.foundation.datatypes.BooleanExpression newValue);6 public java.util.List getConstrainedElement();7 }8