// Path: src/test/java/ch/ifocusit/plantuml/test/helper/domain/material/Car.java
// @Machine
// public class Car implements Vehicule {
// 
//     @Machine
//     // must be ignored
//     private Long ignored;
//     @Machine
//     private String brand;
//     @Machine
//     private String model;
// 
//     private Set<Driver> drivers = new HashSet<>();
// 
//     private Price price;
// 
//     @Machine
//     private Collection<Wheel> wheels;
// 
//     public Driver buyBy(Driver driver, BigDecimal amount, Devise devise) {
//         this.drivers.add(driver);
//         driver.buy(this);
//         this.price = Price.of(amount, devise);
//         return driver;
//     }
// 
//     public Car addDriver(Driver anotherDriver) {
//         drivers.add(anotherDriver);
//         anotherDriver.addCar(this);
//         return this;
//     }
// 
//     public Collection<Wheel> getWheels() {
//         return wheels;
//     }
// 
//     public void addWheel(Wheel wheel) {
//         wheels.add(wheel);
//     }
// 
//     @Override
//     public String toString() {
//         return showMeTheCarInfo();
//     }
// 
//     @Override
//     public boolean equals(final Object obj) {
//         return EqualsBuilder.reflectionEquals(this, obj);
//     }
// 
//     @Override
//     public int hashCode() {
//         return HashCodeBuilder.reflectionHashCode(this);
//     }
// 
//     private String showMeTheCarInfo() {
//         return brand + "/" + model;
//     }
// }


import ch.ifocusit.plantuml.test.helper.domain.material.Car;
import java.util.ArrayList;
import java.util.List;
/*-
 * Plantuml builder
 *
 * Copyright (C) 2017 Focus IT
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package ch.ifocusit.plantuml.test.helper.domain;



public class Driver {
    private String name;
    private Long ignored;
// Path: src/test/java/ch/ifocusit/plantuml/test/helper/domain/material/Car.java
// @Machine
// public class Car implements Vehicule {
// 
//     @Machine
//     // must be ignored
//     private Long ignored;
//     @Machine
//     private String brand;
//     @Machine
//     private String model;
// 
//     private Set<Driver> drivers = new HashSet<>();
// 
//     private Price price;
// 
//     @Machine
//     private Collection<Wheel> wheels;
// 
//     public Driver buyBy(Driver driver, BigDecimal amount, Devise devise) {
//         this.drivers.add(driver);
//         driver.buy(this);
//         this.price = Price.of(amount, devise);
//         return driver;
//     }
// 
//     public Car addDriver(Driver anotherDriver) {
//         drivers.add(anotherDriver);
//         anotherDriver.addCar(this);
//         return this;
//     }
// 
//     public Collection<Wheel> getWheels() {
//         return wheels;
//     }
// 
//     public void addWheel(Wheel wheel) {
//         wheels.add(wheel);
//     }
// 
//     @Override
//     public String toString() {
//         return showMeTheCarInfo();
//     }
// 
//     @Override
//     public boolean equals(final Object obj) {
//         return EqualsBuilder.reflectionEquals(this, obj);
//     }
// 
//     @Override
//     public int hashCode() {
//         return HashCodeBuilder.reflectionHashCode(this);
//     }
// 
//     private String showMeTheCarInfo() {
//         return brand + "/" + model;
//     }
// }


// Path: src/test/java/ch/ifocusit/plantuml/test/helper/domain/Driver.java
import ch.ifocusit.plantuml.test.helper.domain.material.Car;
import java.util.ArrayList;
import java.util.List;

/*-
 * Plantuml builder
 *
 * Copyright (C) 2017 Focus IT
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package ch.ifocusit.plantuml.test.helper.domain;



public class Driver {
    private String name;
    private Long ignored;
    private List<Car> cars = new ArrayList<>();