congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Project$Builder.withId
Code IndexAdd Tabnine to your IDE (free)

How to use
withId
method
in
it.tidalwave.accounting.model.Project$Builder

Best Java code snippets using it.tidalwave.accounting.model.Project$Builder.withId (Showing top 4 results out of 315)

origin: it.tidalwave.accounting/it-tidalwave-accounting-marshalling-xml

 @Nonnull
 public Project.Builder toBuilder (final @Nonnull Accounting accounting)
  {
   try 
    {
     final Customer customer = accounting.getCustomerRegistry().findCustomers().withId(customerXml.getId()).result();
     return new Project.Builder().withId(id)
                   .withCustomer(customer) 
                   .withName(name)
                   .withNumber(number)
                   .withDescription(description)
                   .withNotes(notes)
                   .withStatus(status)
                   .withHourlyRate(hourlyRate)
                   .withBudget(budget)
                   .withStartDate(startDate)
                   .withEndDate(endDate)
                   .withEvents(JobEventXml.toJobEvents(jobEventsXml));
    } 
   catch (NotFoundException e) 
    {
     throw new RuntimeException(e);
    }
  }
}
origin: it.tidalwave.accounting/it-tidalwave-accounting-importer-ibiz

projectRegistry.addProject().withId(projectConfig.getId("uniqueIdentifier"))
              .withBudget(projectConfig.getMoney("projectEstimate"))
              .withCustomer(customer)
origin: it.tidalwave.accounting/it-tidalwave-accounting-model-impl-inmemory

                   .withBillingAddress(a1)
                   .create();
final Project p = Project.builder().withId(new Id("2"))
                  .withBudget(new Money(10500, "EUR"))
                  .withCustomer(c1)
origin: it.tidalwave.accounting/it-tidalwave-accounting-model

      .withId(new Id("" + nextId++))
      .withCustomer(acmeConsulting)
      .withDescription("Acme Consulting Project 1")
final Project acmeConsultingProject2 =
    projectRegistry.addProject()
      .withId(new Id("" + nextId++))
      .withCustomer(acmeConsulting)
      .withDescription("Acme Consulting Project 2")
final Project acmeFinancingProject1 =
    projectRegistry.addProject()
      .withId(new Id("" + nextId++))
      .withCustomer(acmeFinancing)
      .withDescription("Acme Financing Project 1")
final Project acmeFinancingProject2 =
    projectRegistry.addProject()
      .withId(new Id("" + nextId++))
      .withCustomer(acmeFinancing)
      .withDescription("Acme Financing Project 2")
it.tidalwave.accounting.modelProject$BuilderwithId

Popular methods of Project$Builder

  • create
  • withBudget
  • withCustomer
  • withEndDate
  • withHourlyRate
  • withName
  • withNumber
  • withStartDate
  • withDescription
  • withEvents
  • withNotes
  • <init>
  • withNotes,
  • <init>,
  • withStatus,
  • getBudget,
  • getCustomer,
  • getDescription,
  • getEndDate,
  • getHourlyRate,
  • getId

Popular in Java

  • Running tasks concurrently on multiple threads
  • notifyDataSetChanged (ArrayAdapter)
  • getExternalFilesDir (Context)
  • getContentResolver (Context)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • Path (java.nio.file)
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Table (org.hibernate.mapping)
    A relational table
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now