Examples of action()


Examples of org.hibernate.annotations.OnDelete.action()

      Cascade hibernateCascade = property.getAnnotation( Cascade.class );
      NotFound notFound = property.getAnnotation( NotFound.class );
      boolean ignoreNotFound = notFound != null && notFound.action().equals( NotFoundAction.IGNORE );
      OnDelete onDeleteAnn = property.getAnnotation( OnDelete.class );
      boolean onDeleteCascade = onDeleteAnn != null && OnDeleteAction.CASCADE.equals( onDeleteAnn.action() );
      JoinTable assocTable = property.getAnnotation( JoinTable.class );
      if ( assocTable != null ) {
        Join join = propertyHolder.addJoin( assocTable, false );
        for (Ejb3JoinColumn joinColumn : joinColumns) {
          joinColumn.setSecondaryTableName( join.getTable().getName() );
View Full Code Here

Examples of org.hibernate.annotations.OnDelete.action()

          || property.isAnnotationPresent( PrimaryKeyJoinColumns.class );
      Cascade hibernateCascade = property.getAnnotation( Cascade.class );
      NotFound notFound = property.getAnnotation( NotFound.class );
      boolean ignoreNotFound = notFound != null && notFound.action().equals( NotFoundAction.IGNORE );
      OnDelete onDeleteAnn = property.getAnnotation( OnDelete.class );
      boolean onDeleteCascade = onDeleteAnn != null && OnDeleteAction.CASCADE.equals( onDeleteAnn.action() );
      JoinTable assocTable = property.getAnnotation( JoinTable.class );
      if ( assocTable != null ) {
        Join join = propertyHolder.addJoin( assocTable, false );
        for (Ejb3JoinColumn joinColumn : joinColumns) {
          joinColumn.setSecondaryTableName( join.getTable().getName() );
View Full Code Here

Examples of org.hibernate.annotations.OnDelete.action()

      Cascade hibernateCascade = property.getAnnotation( Cascade.class );
      NotFound notFound = property.getAnnotation( NotFound.class );
      boolean ignoreNotFound = notFound != null && notFound.action().equals( NotFoundAction.IGNORE );
      OnDelete onDeleteAnn = property.getAnnotation( OnDelete.class );
      boolean onDeleteCascade = onDeleteAnn != null && OnDeleteAction.CASCADE.equals( onDeleteAnn.action() );
      JoinTable assocTable = property.getAnnotation( JoinTable.class );
      if ( assocTable != null ) {
        Join join = propertyHolder.addJoin( assocTable, false );
        for (Ejb3JoinColumn joinColumn : joinColumns) {
          joinColumn.setSecondaryTableName( join.getTable().getName() );
View Full Code Here

Examples of org.hibernate.annotations.OnDelete.action()

      bindJoinedTableAssociation(
          assocTable, mappings, entityBinder, collectionBinder, propertyHolder, inferredData, mappedBy
      );

      OnDelete onDeleteAnn = property.getAnnotation( OnDelete.class );
      boolean onDeleteCascade = onDeleteAnn != null && OnDeleteAction.CASCADE.equals( onDeleteAnn.action() );
      collectionBinder.setCascadeDeleteEnabled( onDeleteCascade );
      if ( isIdentifierMapper ) {
        collectionBinder.setInsertable( false );
        collectionBinder.setUpdatable( false );
      }
View Full Code Here

Examples of org.infinispan.test.concurrent.StateSequencer.action()

      sequencer.logicalThread("st", "st:cache0_before_send_state");
      sequencer.logicalThread("write", "write:before_start", "write:start", "write:cache1_before_return", "write:cache2_before_dist", "write:end", "write:after_end");
      sequencer.logicalThread("remote_get_cache0", "remote_get_cache0");
      sequencer.logicalThread("remote_get_cache1", "remote_get_cache1");
      sequencer.order("write:end", "remote_get_cache0").order("write:end", "remote_get_cache1");
      sequencer.action("st:cache0_before_send_state", new Callable<Object>() {
         @Override
         public Object call() throws Exception {
            sequencer.advance("write:before_start");
            // The whole write logical thread happens here
            sequencer.advance("write:after_end");
View Full Code Here

Examples of org.jboss.aophelper.annotation.AopHelperAction.action()

   {
      AopHelperAction helperAction = (AopHelperAction) invocation.resolveAnnotation(org.jboss.aophelper.annotation.AopHelperAction.class);
      System.out.println("state: "+helperAction.state().name());
     
      System.out.println("option: "+helperAction.option().name());
      System.out.println("action: "+helperAction.action().name());
     
      if(helperAction.state().equals(AopState.COMPILE))
      {
         new CompileManager().performAction(helperAction.action(), helperAction.option());
      }
View Full Code Here

Examples of org.mitre.sim.Trigger.action()

        for (Iterator lpi = lps.iterator(); lpi.hasNext(); ) {
          LogicalProcess lp = (LogicalProcess)lpi.next();
          lp.setSelectedTrigger(t);
          lp.setTriggerOccurred(true);
        }
        t.action();
        if (!lps.isEmpty()) lpsToActivate.addAll(lps);
      }
      else {
        stillWaiting.put(t, map.get(t));
      }
View Full Code Here

Examples of org.sonar.api.server.ws.WebService.Controller.action()

    assertThat(controller).isNotNull();
    assertThat(controller.path()).isEqualTo("api/qualitygates");
    assertThat(controller.description()).isNotEmpty();
    assertThat(controller.actions()).hasSize(15);

    Action list = controller.action("list");
    assertThat(list).isNotNull();
    assertThat(list.handler()).isNotNull();
    assertThat(list.since()).isEqualTo("4.3");
    assertThat(list.isPost()).isFalse();
    assertThat(list.isInternal()).isFalse();
View Full Code Here

Examples of pdp.scrabble.ihm.PlayerPanel.action()

    });

    ppanel.getButton("Reset").addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        if (mainFrame.getGameSelection() == 2) {
          List<Integer> selectedLetters = ppanel.action().getLettersToReset();
          Iterator<Integer> itr = selectedLetters.iterator();
          while (itr.hasNext()) {
            int letterToReset = itr.next();
            Letter letter = player.getRack().getLetter(letterToReset);
            if (letter != null) {
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.