Examples of Annotation


Examples of org.pau.assetmanager.entities.Annotation

    propertyBook.setDescription("property_book_description");
    propertyBook.setName("property_book");
    propertyBook.setProperty(property);
    propertyBook = BooksBusiness.addBook(propertyBook);

    Annotation propertyIncomeAnnotationDoneForCompany = getPropertyIncomeAnnotationDoneForCompany(propertyBook);
    Annotation propertyIncomeAnnotationNotDoneNotForCompany = getPropertyIncomeAnnotationNotDoneNotForCompany(propertyBook);
    Annotation propertyIncomeAnnotationDoneNotForCompany = getPropertyIncomeAnnotationDoneNotForCompany(propertyBook);
    Annotation propertyExpensesAnnotationNotCommunityUseQuarterly = getPropertyExpensesAnnotationNotCommunityUseQuarterly(propertyBook);
    Annotation propertyExpensesAnnotationNotCommunityNotUseQuarterly = getPropertyExpensesAnnotationNotCommunityNotUseQuarterly(propertyBook);
   
    List<Annotation> annotationsExpectedToBeUsedInQuarterly = Lists.newArrayList(propertyIncomeAnnotationDoneForCompany,
        propertyIncomeAnnotationDoneNotForCompany,propertyExpensesAnnotationNotCommunityUseQuarterly
        );
    checkQuarterly(propertyBook, annotationsExpectedToBeUsedInQuarterly);
View Full Code Here

Examples of org.protege.notesapi.notes.Annotation

    }


    @Override
    public void deleteNoteAndReplies(NoteId noteId) {
        Annotation note = notesManager.getNote(noteId.getLexicalForm());
        if (note != null) {
            notesManager.deleteNote(noteId.getLexicalForm());
            project.getEventManager().postEvent(new NoteDeletedEvent(project.getProjectId(), noteId));
        }
    }
View Full Code Here

Examples of org.sbml.jsbml.Annotation

    // an AnnotationParser can only be used for the annotations of a SBML
    // component. If the contextObject is not
    // an Annotation instance, this parser doesn't process any XML
    // attributes.
    if (contextObject instanceof Annotation) {
      Annotation annotation = (Annotation) contextObject;

      // If there is a prefix, the AnnotationParser will also store the
      // prefix within the key
      // and appends the attribute to the 'otherAnnotation' String of
      // annotation.
      if (!prefix.equals("")) {
        annotation.appendNoRDFAnnotation(" " + prefix + ":"
            + attributeName + "=\"" + value + "\"");
      } else {
        annotation.appendNoRDFAnnotation(" " + attributeName + "=\""
            + value + "\"");
      }

      // If the attribute is the last attribute of its element, we need to
      // close the element tag.
      if (isLastAttribute) {
        annotation.appendNoRDFAnnotation(">");
      }
    } else {
      // There is a syntax error, the attribute can't be read?
      // TODO: log the problem
    }
View Full Code Here

Examples of org.springframework.ide.eclipse.core.java.annotation.Annotation

  @Test
  public void testSimpleConfigurationClass() throws Exception {
    IType type = JdtUtils.getJavaType(project, "org.test.spring.SimpleConfigurationClass");
    IAnnotationMetadata metadata = getAnnotationMetadata(type);

    Annotation annotation = metadata.getTypeLevelAnnotation(Configuration.class.getName());
    assertEquals(Configuration.class.getName(), annotation.getAnnotationClass());
   
    Set<AnnotationMemberValuePair> members = annotation.getMembers();
    assertEquals(0, members.size());
  }
View Full Code Here

Examples of org.teiid.client.plan.Annotation

       
        Collection<GroupSymbol> leftGroups = FrameUtil.findJoinSourceNode(current).getGroups();

    if (!planQuery(leftGroups, false, plannedResult)) {
      if (plannedResult.mergeJoin && analysisRecord != null && analysisRecord.recordAnnotations()) {
        this.analysisRecord.addAnnotation(new Annotation(Annotation.HINTS, "could not plan as a merge join: " + crit, "ignoring hint", Priority.MEDIUM)); //$NON-NLS-1$ //$NON-NLS-2$
      }
      return current;
    }
   
    //add an order by, which hopefully will get pushed down
View Full Code Here

Examples of org.zkoss.zk.ui.metainfo.Annotation

  }

  //[0] expr, [1] loadWhenEvents, [2] saveWhenEvents, [3] access, [4] converter, [5] args, [6] loadAfterEvents, [7] saveAfterEvents
  protected Object[] loadPropertyAnnotation(Component comp, String propName, String bindName) {
    ComponentCtrl compCtrl = (ComponentCtrl) comp;
    Annotation ann = compCtrl.getAnnotation(propName, bindName);
    if (ann != null) {
      final Map attrs = ann.getAttributes(); //(tag, tagExpr)
      List loadWhenEvents = null;
      List saveWhenEvents = null;
      List loadAfterEvents = null;
      List saveAfterEvents = null;
      String access = null;
View Full Code Here

Examples of pignlproc.markup.Annotation

        converter = new AnnotatingMarkupParser();
        simpleText = converter.parse(markup);
        assertTrue(simpleText.startsWith("\nAnarchism is a political philosophy"
                + " encompassing theories and attitudes"));
        assertEquals(465, converter.getWikiLinkAnnotations().size());
        Annotation firstLink = converter.getWikiLinkAnnotations().get(0);
        assertEquals("political philosophy", firstLink.label);
        assertEquals("http://en.wikipedia.org/wiki/Political_philosophy",
                firstLink.value);
        assertEquals(16, firstLink.begin);
        assertEquals(36, firstLink.end);
View Full Code Here

Examples of rocks.xmpp.extensions.privatedata.rosternotes.model.Annotation

                                public void handle(ActionEvent actionEvent) {
                                    PrivateDataManager privateDataManager = xmppSession.getExtensionManager(PrivateDataManager.class);
                                    try {
                                        List<Annotation.Note> notes = new ArrayList<>();
                                        notes.add(new Annotation.Note("Hallo", item.contact.get().getJid()));
                                        privateDataManager.storeData(new Annotation(notes));
                                    } catch (XmppException e) {
                                        e.printStackTrace();
                                    }

                                }
                            });
                            MenuItem getAnnotationsItems = new MenuItem("Get annotations");
                            getAnnotationsItems.setOnAction(new EventHandler<ActionEvent>() {
                                @Override
                                public void handle(ActionEvent actionEvent) {
                                    PrivateDataManager privateDataManager = xmppSession.getExtensionManager(PrivateDataManager.class);
                                    try {
                                        Annotation annotations = privateDataManager.getData(Annotation.class);
                                        int i = 0;
                                    } catch (XmppException e) {
                                        e.printStackTrace();
                                    }
                                }
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.