Examples of Director


Examples of be.isencia.passerelle.domain.cap.Director

    try {
      sequencer.createBatchDirector();
    } catch (Exception e) {
      e.printStackTrace();
    }
    Director director = sequencer.getBatchDirector();
    // TODO QUICK HACK
//    SoleilEditorPaneFactory fact = new SoleilEditorPaneFactory();

//    IPasserelleQuery query = fact.createEditorPaneWithAuthorizer(director, application, application);
View Full Code Here

Examples of com.isencia.passerelle.domain.cap.Director

     *
     * @return
     * @throws Exception
     */
    public Director createBatchDirector(final DirectorType directorType) throws Exception {
        final Director d = DirectorFactory.createNewDirector(directorType, WORKSPACE);
        batchDirector = d;
        return d;
    }
View Full Code Here

Examples of org.hibernate.ogm.backendtck.associations.compositeid.Director

    Tournament britishOpen = new Tournament( new TournamentId( "US", "123" ), "British Open" );
    Tournament playersChampionship = new Tournament( new TournamentId( "US", "456" ), "Player's Championship" );
    em.persist( britishOpen );
    em.persist( playersChampionship );

    Director bob = new Director( "bob", "Bob", playersChampionship );
    em.persist( bob );

    commitOrRollback( true );
    em.close();
  }
View Full Code Here

Examples of org.ops4j.pax.exam.sample2.model.Director

                role.setName((String) entry.get("character"));
                em.persist(role);
                movie.getRoles().add(role);
            }
            else if ("Director".equals(jobName)) {
                Director director = new Director();
                director.setId(id);
                director.getMovies().add(movie);
                doImportPerson(director);
                movie.setDirector(director);
            }
            else {
                logger.info("Could not add person with job {} {}", jobName, entry);
View Full Code Here

Examples of org.sfsoft.cine.base.Director

  private void altaDirector() {
    JDirector jDirector = new JDirector();
    if (jDirector.mostrarDialogo() == Util.Accion.CANCELAR)
      return;
   
    Director director = jDirector.getDirector();
    Session sesion = HibernateUtil.getCurrentSession();
    sesion.beginTransaction();
    sesion.save(director);
    sesion.getTransaction().commit();
    sesion.close();
View Full Code Here

Examples of ptolemy.actor.Director

     @param attribute The attribute that has changed.
     *  @exception IllegalActionException If the parameters are out of range.
     */
    public void attributeChanged(Attribute attribute)
            throws IllegalActionException {
        Director director = getDirector();

        if (director != null) {
            // FIXME: should this happen every time we call attribute changed?
            director.invalidateResolvedTypes();
        }
    }
View Full Code Here

Examples of ptolemy.actor.Director

        if (((BooleanToken)fireAtStart.getToken()).booleanValue()) {
            getDirector().fireAt(this, currentTime);
        } else {
            double meanTimeValue = ((DoubleToken)meanTime.getToken()).doubleValue();
            double exp = -Math.log((1 - Math.random())) * meanTimeValue;
            Director director = getDirector();
            $ASSIGN$_nextFiringTime(director.getModelTime().add(exp));
            director.fireAt(this, _nextFiringTime);
        }
    }
View Full Code Here

Examples of ptolemy.actor.Director

    public boolean postfire() throws IllegalActionException  {
        $ASSIGN$_currentOutputIndex(_tentativeCurrentOutputIndex);
        if (_boundaryCrossed) {
            double meanTimeValue = ((DoubleToken)meanTime.getToken()).doubleValue();
            double exp = -Math.log((1 - Math.random())) * meanTimeValue;
            Director director = getDirector();
            $ASSIGN$_nextFiringTime(director.getModelTime().add(exp));
            director.fireAt(this, _nextFiringTime);
        }
        return super.postfire();
    }
View Full Code Here

Examples of ptolemy.actor.Director

            }

            if (_debugging) {
                _manager.addDebugListener(this);

                Director director = executable.getDirector();

                if (director != null) {
                    director.addDebugListener(this);
                }
            } else {
                _manager.removeDebugListener(this);

                Director director = executable.getDirector();

                if (director != null) {
                    director.removeDebugListener(this);
                }
            }

            int i = 0;
            int j = 0;
View Full Code Here

Examples of ptolemy.actor.Director

            double newStopTimeValue = ((DoubleToken) stopTime.getToken())
                    .doubleValue();

            if (_executing) {
                Time newStopTime = new Time(getDirector(), newStopTimeValue);
                Director director = getDirector();

                if (director != null) {
                    Time currentTime = director.getModelTime();

                    if (newStopTime.compareTo(currentTime) > 0) {
                        director.fireAt(this, newStopTime);
                    } else {
                        throw new IllegalActionException(this, "The stop time "
                                + "is earlier than the current time.");
                    }
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.