Package de.crowdcode.kissmda.examples.apptest.components

Examples of de.crowdcode.kissmda.examples.apptest.components.CompanyImpl


    person.setName("Lofi");
  }

  @Test
  public void testApp() {
    Company company = new CompanyImpl();
    company.setName("CrowdCode");

    CompanyAttribute<String, Integer> companyAttribute = new CompanyAttributeImpl();
    companyAttribute.setName("Lofi");
    companyAttribute.add("Test Element", 23);
    company.setCompanyAttribute(companyAttribute);

    Address address1 = new AddressImpl();
    address1.setStreet("Jakarta");
    address1.setAddressType(AddressType.HOME);
    address1.setPerson(person);
View Full Code Here


    assertEquals(company.getName(), privateCompany.getName());
  }

  private Address prepareAddressAndCompany() {
    Company company = new CompanyImpl();
    company.setName("CrowdCode");

    CompanyAttribute<String, Integer> companyAttribute = new CompanyAttributeImpl();
    companyAttribute.setName("Lofi");
    companyAttribute.add("Test Element", 23);
    company.setCompanyAttribute(companyAttribute);

    String owner = "Lofi";
    Collection<String> owners = new ArrayList<String>();
    owners.add(owner);
    company.defineCompany(owners, owner);

    Address address = new AddressImpl();
    address.setStreet("Jakarta");
    address.setAddressType(AddressType.HOME);
    address.setAddressSimpleType(AddressSimpleType.HOME);
View Full Code Here

TOP

Related Classes of de.crowdcode.kissmda.examples.apptest.components.CompanyImpl

Copyright © 2018 www.massapicom. 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.