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

exists

public boolean exists(Constraint constraint,
                      ModelElement constrainedElement)

getConstraint

public java.util.Collection getConstraint(ModelElement constrainedElement)

getConstrainedElement

public java.util.Collection getConstrainedElement(Constraint constraint)

add

public boolean add(Constraint constraint,
                   ModelElement constrainedElement)

remove

public boolean remove(Constraint constraint,
                      ModelElement constrainedElement)