Examples of Reference


Examples of net.sf.laja.parser.grammar.element.Reference

    return new Marker();
  }

  @Override
  public IReference createReference(IGrammar grammar) {
    return new Reference((Row)grammar);
  }

Examples of net.sf.laja.template.data.Reference

  }

  @Override
  public IReference createReference(ITemplate itemplate, IMacro imacro, IFunction ifunction) {
    Context context = getContext(itemplate, imacro, ifunction);
    return new Reference(source, context, templateTextWriter, namespaces);
  }

Examples of net.sf.minuteProject.configuration.bean.Reference

  public static List<Reference> getParents (Database database, Table table) {
    //return getParents(table);
    // Duplicated code
    List<Reference> list = new ArrayList<Reference>();
    net.sf.minuteProject.configuration.bean.model.data.Reference ref;
    Reference reference;
    ForeignKey [] foreignKeys = table.getForeignKeys();
    //logger.info("table = "+table.getName()+", count FK = "+foreignKeys.length);
    for (int i = 0; i < foreignKeys.length; i++) {
      ref = foreignKeys[i].getFirstReference();
      String tablename = foreignKeys[i].getForeignTableName();
      Table table2 = TableUtils.getTable(database,tablename);
      String columnName = null;
      if (ref!=null)
        columnName = ref.getForeignColumnName();
      Column column2 = ColumnUtils.getColumn (table2, columnName);
      //reference = new Reference(table2, ColumnUtils.getColumn(table2, ref.getLocalColumnName()), tablename, ref.getLocalColumnName());
      reference = new Reference(table2, column2, tablename, columnName);
      reference.setLocalColumn(ref.getLocalColumn());
     
      //logger.info("table = "+tablename+", columnName = "+columnName);
      addReference(list, reference);       
    }
    return list;

Examples of net.sf.minuteProject.configuration.bean.model.data.Reference

    List<Column> noPrimaryKeyNoForeignKeyColumnsName = new ArrayList<Column>();
    if (noPrimaryKeyNoForeignKeyColumns==null) {
      // populate with foreign key columns
      ForeignKey [] foreignKeys =  getForeignKeys();
      for (int i=0; i < foreignKeys.length; i++) {
        Reference references [] = foreignKeys[i].getReferences();
        for (int j=0; j < references.length; j++) {
          primaryKeyAndForeignKeyColumnsName.add (references[j].getLocalColumnName());
        }
      }
      // add pk columns

Examples of net.sourceforge.yagsbook.encyclopedia.indexing.Reference

            String      uri = e.getUri();
            set.add(uri);
        }

        while (links.hasNext()) {
            Reference   reference = (Reference)links.next();
            String      uri = reference.getUri();
            if (!set.contains(uri)) {
                String  warning = entry.getSubject().getUri() + " references <i>"+uri+"</i>";
                missing.add(warning);
            }
        }

Examples of net.yacy.kelondro.rwi.Reference

                index = segment.termIndex().get(keyhash, null);
                // built urlCache
                final Iterator<WordReference> urlIter = index.entries();
                final TreeMap<byte[], URIMetadataRow> knownURLs = new TreeMap<byte[], URIMetadataRow>(Base64Order.enhancedCoder);
                final HandleSet unknownURLEntries = new HandleSet(WordReferenceRow.urlEntryRow.primaryKeyLength, WordReferenceRow.urlEntryRow.objectOrder, index.size());
                Reference iEntry;
                URIMetadataRow lurl;
                while (urlIter.hasNext()) {
                    iEntry = urlIter.next();
                    lurl = segment.urlMetadata().load(iEntry.urlhash());
                    if (lurl == null) {
                        try {
                            unknownURLEntries.put(iEntry.urlhash());
                        } catch (final RowSpaceExceededException e) {
                            Log.logException(e);
                        }
                        urlIter.remove();
                    } else {
                        knownURLs.put(iEntry.urlhash(), lurl);
                    }
                }

                // make an indexContainerCache
                final ReferenceContainerCache<WordReference> icc = new ReferenceContainerCache<WordReference>(Segment.wordReferenceFactory, Segment.wordOrder, Word.commonHashLength);

Examples of nl.clockwork.mule.ebms.model.ebxml.Reference

    return new EbMSMessage(messageHeader,ackRequested,manifest,attachments);
  }

  private static Reference createReference(int cid)
  {
    Reference reference = new Reference();
    reference.setHref("cid:" + cid);
    reference.setType("simple");
    //reference.setRole("XLinkRole");
    return reference;
  }

Examples of org.alfresco.webservice.types.Reference

 
  public Reference getTestFolder() throws RepositoryFault, RemoteException{
    WebServiceFactory.setTimeoutMilliseconds(SOCKET_TIMEOUT);
    WebServiceFactory.setEndpointAddress(ALFRESCO_ENDPOINT_TEST_SERVER);
    AuthenticationUtils.startSession(ALFRESCO_USERNAME, ALFRESCO_PASSWORD);
    Reference reference = new Reference();
    try{
      RepositoryServiceSoapBindingStub repositoryService = WebServiceFactory.getRepositoryService();
      Query query = new Query(Constants.QUERY_LANG_LUCENE, ALFRESCO_TEST_QUERY);
      QueryResult queryResult = repositoryService.query(STORE, query, false);
      ResultSetRow row = queryResult.getResultSet().getRows(0);
      reference.setStore(STORE);
      reference.setUuid(row.getNode().getId());
      return reference;
    } finally {
      AuthenticationUtils.endSession();
    }
  }

Examples of org.apache.archiva.redback.components.registry.modello.test.model.Reference

public class RegistryWriterVerifier
    extends Verifier
{
    private static Reference createReference( String name )
    {
        Reference reference = new Reference();
        reference.setName( name );
        return reference;
    }

Examples of org.apache.aries.blueprint.annotation.Reference

            Field[] fields = clazz.getDeclaredFields();
            for (int i = 0; i < fields.length; i++) {
                if (fields[i].isAnnotationPresent(Inject.class)) {
                    if (fields[i].isAnnotationPresent(Reference.class)) {
                        // the field is also annotated with @Reference
                        Reference ref = (Reference)fields[i].getAnnotation(Reference.class);
                        Treference tref = generateTref(ref, reflMap);
                        components.add(tref);
                    } else if (fields[i].isAnnotationPresent(ReferenceList.class)) {
                        // the field is also annotated with @ReferenceList
                        ReferenceList ref = (ReferenceList)fields[i].getAnnotation(ReferenceList.class);
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.