javax.jmi.model
Interface Constrains

All Superinterfaces:
RefAssociation, RefBaseObject

public interface Constrains
extends RefAssociation


Method Summary
 boolean add(Constraint constraint, ModelElement constrainedElement)
           
 boolean exists(Constraint constraint, ModelElement constrainedElement)
           
 java.util.Collection getConstrainedElement(Constraint constraint)
           
 java.util.Collection getConstraint(ModelElement constrainedElement)
           
 boolean remove(Constraint constraint, ModelElement constrainedElement)
           
 
Methods inherited from interface javax.jmi.reflect.RefAssociation
refAddLink, refAllLinks, refLinkExists, refQuery, refQuery, refRemoveLink
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

add

boolean add(Constraint constraint,
            ModelElement constrainedElement)

exists

boolean exists(Constraint constraint,
               ModelElement constrainedElement)

getConstrainedElement

java.util.Collection getConstrainedElement(Constraint constraint)

getConstraint

java.util.Collection getConstraint(ModelElement constrainedElement)

remove

boolean remove(Constraint constraint,
               ModelElement constrainedElement)