Examples of Reference


Examples of org.springframework.social.facebook.api.Reference

    assertNotNull(friendListId);
   
    PagedList<Reference> friendLists = fb.friendOperations().getFriendLists();
    assertEquals(1, friendLists.size());
   
    Reference friendList = fb.friendOperations().getFriendList(friendListId);
    assertEquals(friendListId, friendList.getId());
    assertEquals("My Good Friends", friendList.getName());
   
    fb.friendOperations().deleteFriendList(friendListId);
    friendLists = fb.friendOperations().getFriendLists();
    assertEquals(0, friendLists.size());
  }

Examples of org.switchyard.admin.Reference

   
    @Override
    public ObjectName getReference(String referenceName) {
        ObjectName name = null;
        if (referenceName != null) {
            Reference reference = _application.getReference(QName.valueOf(referenceName));
            if (reference != null) {
                name = MBeans.getObjectName(reference);
            }
        }
        return name;

Examples of org.switchyard.component.bean.Reference

            Class<?> reference = field.getType();
            ComponentReferenceModel referenceModel = new V1ComponentReferenceModel(switchyardNamespace.uri());
            InterfaceModel interfaceModel = new V1InterfaceModel(InterfaceModel.JAVA);
                 
            if (field.getAnnotation(Reference.class) != null) {
                Reference ref = field.getAnnotation(Reference.class);
                if (ref.value() == null || "".equals(ref.value())) {
                    referenceModel.setName(reference.getSimpleName());
                } else {
                    QName qname = QName.valueOf(ref.value());
                    referenceModel.setName(qname.getLocalPart());
                }
            } else {
                referenceModel.setName(reference.getSimpleName());
            }

Examples of org.teiid.query.sql.symbol.Reference

 
  @Test public void testEvaluatedSetCriteria() throws Exception {
    DependentAccessNode dan = new DependentAccessNode(0);
    CommandContext cc = new CommandContext();
    dan.setContext(cc);
    List<Reference> references = Arrays.asList(new Reference(1), new Reference(2));
    for (Reference reference : references) {
      cc.getVariableContext().setGlobalValue(reference.getContextSymbol(), 1);
    }
    SetCriteria sc = new SetCriteria(new ElementSymbol("e1"), references); //$NON-NLS-1$
    DependentCriteriaProcessor dcp = new DependentCriteriaProcessor(1, -1, dan, sc);

Examples of org.zkoss.zss.engine.Reference

  //find a reference with this CellIndex as the left-top and the specified right-bottom.
  /*package*/ Reference getLtRef(int right, int bottom) {
    if (_ltRefs != null) {
      for (int j = _ltRefs.size() - 1; j >= 0; --j) {
        final Reference ref = (Reference) _ltRefs.get(j);
        if (ref.getRight() == right && ref.getBottom() == bottom) { //match!
          return ref;
        }
      }
    }
    return null;

Examples of pathfinder.bean.spell.Reference

      }

      HashMap<String, Integer> parseLevels = parseLevels(element
          .element("levels"));

      Reference ref = parseReference(element.element("source"));

      System.out.println(name + " - " + school + " - " + composant
          + " - " + range + " - " + castingTime + " - " + description
          + " - " + parseLevels);

Examples of quickdb.complexmodel.Reference

        boolean value = admin.save(single);
        System.out.println(value);
    }

    public void testQuerySystemSimpleCondition(){
        Reference ref = new Reference();
        ref.setValue("housemd");

        Parent parent = new Parent();
        parent.setDescription("this is a test for parent");
        parent.setReference(ref);

Examples of ru.aristar.jnuget.Reference

     */
    @Test
    public void testParseWithReferences() throws Exception {
        // GIVEN
        final String fileName = "/nuspec/NUnit.nuspec.xml";
        Reference dll = new Reference().setFile("nunit.framework.dll");
        Reference xml = new Reference().setFile("nunit.framework.xml");
        Reference[] references = new Reference[]{dll, xml};
        String[] tags = new String[]{"Unit", "test"};

        // WHEN
        NuspecFile result = NuspecFile.Parse(NuspecFileTest.class.getResourceAsStream(fileName));

Examples of st.gravel.support.compiler.ast.Reference

    return site;
  }

  public static CallSite constructorBootstrap(Lookup lookup, String selector,
      MethodType type, String referenceString) throws Throwable {
    Reference reference = Reference.factory.value_(referenceString);
    Constructor constructor = ImageBootstrapper.systemMapping.classMappingAtReference_(reference).identityClass().getConstructor();
    MethodHandle constructorHandle = lookup.unreflectConstructor(constructor);
    return new ConstantCallSite(constructorHandle.asType(type));
  }

Examples of ugh.dl.Reference

     * -------------------------------- alle Seiten hinzufügen --------------------------------
     */
    if (inOldDocstruct.getAllToReferences() != null) {
      // TODO: get rid of Iterators, use a for Loop instead
      for (Iterator<Reference> iterator = inOldDocstruct.getAllToReferences().iterator(); iterator.hasNext();) {
        Reference p = iterator.next();
        newDocstruct.addReferenceTo(p.getTarget(), p.getType());
      }
    }

    /*
     * -------------------------------- alle Docstruct-Children hinzufügen --------------------------------
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.