Tabnine Logo
Project$Builder.withDescription
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using it.tidalwave.accounting.model.Project$Builder.withDescription (Showing top 3 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-model-impl-inmemory

.withCustomer(c1)
.withName("Project 1")
.withDescription("description of project 1")
.withStartDate(parseDate("2014-01-03"))
.withEndDate(parseDate("2014-02-12"))
origin: it.tidalwave.accounting/it-tidalwave-accounting-model

.withId(new Id("" + nextId++))
.withCustomer(acmeConsulting)
.withDescription("Acme Consulting Project 1")
.withName("Acme Consulting Project 1")
.withStartDate(project1StartDate)
.withId(new Id("" + nextId++))
.withCustomer(acmeConsulting)
.withDescription("Acme Consulting Project 2")
.withName("Acme Consulting Project 2")
.withStartDate(project2StartDate)
.withId(new Id("" + nextId++))
.withCustomer(acmeFinancing)
.withDescription("Acme Financing Project 1")
.withName("Acme Financing Project 1")
.withStartDate(project3StartDate)
.withId(new Id("" + nextId++))
.withCustomer(acmeFinancing)
.withDescription("Acme Financing Project 2")
.withName("Acme Financing Project 2")
.withStartDate(project4StartDate)
it.tidalwave.accounting.modelProject$BuilderwithDescription

Popular methods of Project$Builder

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

Popular in Java

  • Making http post requests using okhttp
  • putExtra (Intent)
  • requestLocationUpdates (LocationManager)
  • notifyDataSetChanged (ArrayAdapter)
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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