simulink

edu.tum.cs.simulink.constraints
Class SimulinkElementNameConstraint

java.lang.Object
  extended by edu.tum.cs.simulink.constraints.SimulinkElementNameConstraint

public class SimulinkElementNameConstraint
extends java.lang.Object

This constraint checks if a Simulink element has a defined name and ensures that the name does not start or end with a slash. This is a mandatory constraint.

Version:
$Rev: 26285 $
Author:
deissenb, $Author: juergens $
Rating:
GREEN Hash: 21131D262A9472165AD27FB43B08D542

Constructor Summary
SimulinkElementNameConstraint()
           
 
Method Summary
 void checkLocalConstraint(SimulinkElementBase element)
          See class comment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulinkElementNameConstraint

public SimulinkElementNameConstraint()
Method Detail

checkLocalConstraint

public void checkLocalConstraint(SimulinkElementBase element)
                          throws ConstraintViolationException
See class comment.

Throws:
ConstraintViolationException

simulink

simulink - 2.7