be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.topEdit.model.constraint
Class InterfacesDomainConstraint

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.topEdit.model.constraint.InterfacesDomainConstraint
All Implemented Interfaces:
DomainConstraint

public class InterfacesDomainConstraint
extends java.lang.Object
implements DomainConstraint

Check that every link is connected to an interface if the node has interfaces. Also check uniqueness of interface use.

Creation date: 23/10/2007

Author:
Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)

Constructor Summary
InterfacesDomainConstraint()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getMessage()
           
 boolean validate(DomainDecorator domain)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterfacesDomainConstraint

public InterfacesDomainConstraint()
Method Detail

validate

public boolean validate(DomainDecorator domain)
Specified by:
validate in interface DomainConstraint

getMessage

public java.lang.String getMessage()
Specified by:
getMessage in interface DomainConstraint

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface DomainConstraint


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.