Esempio n. 1
0
 /**
  * @param attribute The attribute that changed.
  * @exception IllegalActionException
  */
 public void attributeChanged(Attribute attribute) throws IllegalActionException {
   getLogger().trace("{} attributeChanged() - entry : {}", getFullName(), attribute);
   if (attribute == startValueParam) {
     LongToken valueToken = (LongToken) startValueParam.getToken();
     if (valueToken != null) {
       setStartValue(valueToken.longValue());
       getLogger().debug("{} Counter start value changed to {}", getFullName(), getStartValue());
     }
   } else {
     super.attributeChanged(attribute);
   }
   getLogger().trace("{} attributeChanged() - exit", getFullName());
 }