Examples of Created


Examples of com.tinkerpop.frames.domain.incidences.Created

        assertEquals("v[1]", marko.toString());

        CreatedInfo markoCreatedLopInfo = framedGraph.getEdge(9, CreatedInfo.class);
        assertEquals("e[9][1-created->3]", markoCreatedLopInfo.toString());
        //Using deprecated Domain/Range annotations:
        Created markoCreatedLop = framedGraph.getEdge(9, Direction.OUT, Created.class);
        assertEquals("e[9][1-created->3]", markoCreatedLop.toString());
    }
View Full Code Here

Examples of net.fortuna.ical4j.model.property.Created

      vEvent.getProperties().getProperty(Property.DTSTART).getParameters().add(Value.DATE);
      vEvent.getProperties().getProperty(Property.DTEND).getParameters().add(Value.DATE);
    }
   
    if(kEvent.getCreated() > 0) {
      Created created = new Created(new DateTime(kEvent.getCreated()));
      vEvent.getProperties().add(created);
    }
   
    if(kEvent.getLastModified() > 0) {
      LastModified lastMod = new LastModified(new DateTime(kEvent.getLastModified()));
View Full Code Here

Examples of net.fortuna.ical4j.model.property.Created

      else if (sClass.equals(ICAL_CLASS_X_FREEBUSY.getValue())) iClassification = KalendarEvent.CLASS_X_FREEBUSY;
      else if (sClass.equals(ICAL_CLASS_PUBLIC.getValue())) iClassification = KalendarEvent.CLASS_PUBLIC;
      calEvent.setClassification(iClassification);
    }
    // created/last modified
    Created created = event.getCreated();
    if (created != null) {
      calEvent.setCreated(created.getDate().getTime());
    }
    LastModified lastModified = event.getLastModified();
    if (lastModified != null) {
      calEvent.setLastModified(lastModified.getDate().getTime());
    }
View Full Code Here

Examples of net.fortuna.ical4j.model.property.Created

    protected static Created toCreated(Timestamp javaObj) {
        if (javaObj == null) {
            return null;
        }
        return new Created(new DateTime(javaObj));
    }
View Full Code Here

Examples of net.fortuna.ical4j.model.property.Created

            if(event.isOccupied())
                vevent.getProperties().add(new Transp("OPAQUE"));
            else
                vevent.getProperties().add(new Transp("TRANSPARENT"));
            vevent.getProperties().add(new Summary(event.getTitle()));
            vevent.getProperties().add(new Created(new DateTime(event.getCreateDate())));
            vevent.getProperties().add(new DtStamp(new DateTime(event.getModifyDate())));
            vevent.getProperties().add(new LastModified(new DateTime(event.getModifyDate())));
            vevent.getProperties().add(new Description(event.getDescription()));
            vevent.getProperties().add(new Uid(event.getId().toString() + "@opencustomer"));
            vevent.getProperties().add(new XProperty("X-OC-ID",event.getId().toString()));
View Full Code Here

Examples of net.fortuna.ical4j.model.property.Created

    protected static Created toCreated(Timestamp javaObj) {
        if (javaObj == null) {
            return null;
        }
        return new Created(new DateTime(javaObj));
    }
View Full Code Here

Examples of net.jini.core.transaction.Transaction.Created

   
    TransactionTemplate tt = new TransactionTemplate(jiniTM);
    assertSynchronizationManager();
   

    Created crtd = new Created(tx, lease);
    // bind tx object
    JiniHolder holder = new JiniHolder(crtd);
   
      TransactionSynchronizationManager.bindResource(space, holder);
     
View Full Code Here

Examples of net.jini.core.transaction.Transaction.Created

    mockReplay();
   
    TransactionTemplate tt = new TransactionTemplate(jiniTM);
    assertSynchronizationManager();
   
    Created crtd = new Created(tx, lease);
    // bind tx object
    JiniHolder holder = new JiniHolder(crtd);
   
      TransactionSynchronizationManager.bindResource(space, holder);
     
View Full Code Here

Examples of net.jini.core.transaction.Transaction.Created

  public XmlSuite getSuite(long timeout) throws InterruptedException,
  IOException
  {
    try
    {
      Created created = TransactionFactory.create(m_tm, m_transactionTimeout);
      m_currentTransaction = created.transaction;
     
      m_currentSuite = (SuiteEntry) m_space.take( _suiteTemplate, m_currentTransaction, m_transactionTimeout);
      created.lease.renew(m_transactionTimeout);
      return m_currentSuite.getSuite();
View Full Code Here

Examples of net.jini.core.transaction.server.TransactionManager.Created

        // Get Mailbox references
  TransactionManager[] mbs = getTransactionManagers(2);
  TransactionManager txnmgr1 = mbs[0];
  TransactionManager txnmgr2 = mbs[1];

  Created txn1 = getCreated(txnmgr1, DURATION);
  ServerTransaction st1 = new ServerTransaction(txnmgr1, txn1.id);
  Created txn2 = getCreated(txnmgr2, DURATION);
  ServerTransaction st2 = new ServerTransaction(txnmgr2, txn2.id);

        logger.log(Level.INFO, "ServerTransaction #1: " + st1);
        logger.log(Level.INFO, "ServerTransaction #2: " + st2);
    }
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.