test_class.declarator: person1
test_class.modifier: private
test_class.original_string: private Person person1;
test_class.type: Person
test_class.var_name: person1
test_class.declarator: person2
test_class.modifier: private
test_class.original_string: private Person person2;
test_class.type: Person
test_class.var_name: person2
test_class.file: dddlib-examples/organisation-project/organisation-domain/src/test/java/org/dddlib/organisation/domain/PersonTest.java
test_class.identifier: PersonTest
test_class.superclass: extends AbstractIntegrationTest
test_case.body: @Test
      public void testGetIms() {
          String jpql = "select o from Person o join o.ims i where KEY(i) = :imType and i = :im";
          EntityRepository repository = InstanceFactory.getInstance(EntityRepository.class);
          List<Person> persons = repository.createJpqlQuery(jpql)
                  .addParameter("imType", ImType.QQ).addParameter("im", "666666").list();
          assertFalse(persons.contains(person1));
          assertTrue(persons.contains(person2));
      }
test_case.class_method_signature: PersonTest.testGetIms()
test_case.full_signature: @Test public void testGetIms()
test_case.identifier: testGetIms
test_case.invocations: getInstance list addParameter addParameter createJpqlQuery assertFalse contains assertTrue contains
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetIms()
focal_class.declarator: serialVersionUID = 4180083929142881138L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = 4180083929142881138L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: name
focal_class.modifier: @Embedded
      private
focal_class.original_string: @Embedded
      private PersonName name;
focal_class.type: PersonName
focal_class.var_name: name
focal_class.declarator: idNumber
focal_class.modifier: private
focal_class.original_string: private String idNumber;
focal_class.type: String
focal_class.var_name: idNumber
focal_class.declarator: emails = new HashSet<Email>()
focal_class.modifier: @ElementCollection
      @CollectionTable(name = "person_emails", joinColumns = @JoinColumn(name = "person_id"))
      private
focal_class.original_string: @ElementCollection
      @CollectionTable(name = "person_emails", joinColumns = @JoinColumn(name = "person_id"))
      private Set<Email> emails = new HashSet<Email>();
focal_class.type: Set<Email>
focal_class.var_name: emails
focal_class.declarator: ims = new HashMap<ImType, String>()
focal_class.modifier: @ElementCollection
      @CollectionTable(name = "person_ims", joinColumns = @JoinColumn(name = "person_id"))
      @MapKeyColumn(name = "im_type")
      @MapKeyEnumerated(EnumType.STRING)
      @Column(name = "im_address")
      private
focal_class.original_string: @ElementCollection
      @CollectionTable(name = "person_ims", joinColumns = @JoinColumn(name = "person_id"))
      @MapKeyColumn(name = "im_type")
      @MapKeyEnumerated(EnumType.STRING)
      @Column(name = "im_address")
      private Map<ImType, String> ims = new HashMap<ImType, String>();
focal_class.type: Map<ImType, String>
focal_class.var_name: ims
focal_class.declarator: homeAddress
focal_class.modifier: @Embedded
      @AttributeOverrides({
              @AttributeOverride(name = "province", column = @Column(name = "home_province")),
              @AttributeOverride(name = "city", column = @Column(name = "home_city")),
              @AttributeOverride(name = "detail", column = @Column(name = "home_detail"))
      })
      private
focal_class.original_string: @Embedded
      @AttributeOverrides({
              @AttributeOverride(name = "province", column = @Column(name = "home_province")),
              @AttributeOverride(name = "city", column = @Column(name = "home_city")),
              @AttributeOverride(name = "detail", column = @Column(name = "home_detail"))
      })
      private Address homeAddress;
focal_class.type: Address
focal_class.var_name: homeAddress
focal_class.declarator: mailAddress
focal_class.modifier: @Embedded
      @AttributeOverrides({
              @AttributeOverride(name = "province", column = @Column(name = "mail_province")),
              @AttributeOverride(name = "city", column = @Column(name = "mail_city")),
              @AttributeOverride(name = "detail", column = @Column(name = "mail_detail"))
      })
      private
focal_class.original_string: @Embedded
      @AttributeOverrides({
              @AttributeOverride(name = "province", column = @Column(name = "mail_province")),
              @AttributeOverride(name = "city", column = @Column(name = "mail_city")),
              @AttributeOverride(name = "detail", column = @Column(name = "mail_detail"))
      })
      private Address mailAddress;
focal_class.type: Address
focal_class.var_name: mailAddress
focal_class.file: dddlib-examples/organisation-project/organisation-domain/src/main/java/org/dddlib/organisation/domain/Person.java
focal_class.identifier: Person
focal_class.class_method_signature: Person.Person(PersonName name)
focal_class.full_signature: public  Person(PersonName name)
focal_class.identifier: Person
focal_class.modifiers: public
focal_class.parameters: (PersonName name)
focal_class.signature:  Person(PersonName name)
focal_class.class_method_signature: Person.Person(String firstName, String lastName)
focal_class.full_signature: public  Person(String firstName, String lastName)
focal_class.identifier: Person
focal_class.modifiers: public
focal_class.parameters: (String firstName, String lastName)
focal_class.signature:  Person(String firstName, String lastName)
focal_class.class_method_signature: Person.getName()
focal_class.full_signature: public PersonName getName()
focal_class.identifier: getName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: PersonName
focal_class.signature: PersonName getName()
focal_class.class_method_signature: Person.setName(PersonName name)
focal_class.full_signature: public void setName(PersonName name)
focal_class.identifier: setName
focal_class.modifiers: public
focal_class.parameters: (PersonName name)
focal_class.return: void
focal_class.signature: void setName(PersonName name)
focal_class.class_method_signature: Person.getIdNumber()
focal_class.full_signature: public String getIdNumber()
focal_class.identifier: getIdNumber
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getIdNumber()
focal_class.class_method_signature: Person.setIdNumber(String idNumber)
focal_class.full_signature: public void setIdNumber(String idNumber)
focal_class.identifier: setIdNumber
focal_class.modifiers: public
focal_class.parameters: (String idNumber)
focal_class.return: void
focal_class.signature: void setIdNumber(String idNumber)
focal_class.class_method_signature: Person.getEmails()
focal_class.full_signature: public Set<Email> getEmails()
focal_class.identifier: getEmails
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Set<Email>
focal_class.signature: Set<Email> getEmails()
focal_class.class_method_signature: Person.setEmails(Set<Email> emails)
focal_class.full_signature: public void setEmails(Set<Email> emails)
focal_class.identifier: setEmails
focal_class.modifiers: public
focal_class.parameters: (Set<Email> emails)
focal_class.return: void
focal_class.signature: void setEmails(Set<Email> emails)
focal_class.class_method_signature: Person.addEmail(Email email)
focal_class.full_signature: public void addEmail(Email email)
focal_class.identifier: addEmail
focal_class.modifiers: public
focal_class.parameters: (Email email)
focal_class.return: void
focal_class.signature: void addEmail(Email email)
focal_class.class_method_signature: Person.removeEmail(Email email)
focal_class.full_signature: public void removeEmail(Email email)
focal_class.identifier: removeEmail
focal_class.modifiers: public
focal_class.parameters: (Email email)
focal_class.return: void
focal_class.signature: void removeEmail(Email email)
focal_class.class_method_signature: Person.getIms()
focal_class.full_signature: public Map<ImType, String> getIms()
focal_class.identifier: getIms
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<ImType, String>
focal_class.signature: Map<ImType, String> getIms()
focal_class.class_method_signature: Person.setIms(Map<ImType, String> ims)
focal_class.full_signature: public void setIms(Map<ImType, String> ims)
focal_class.identifier: setIms
focal_class.modifiers: public
focal_class.parameters: (Map<ImType, String> ims)
focal_class.return: void
focal_class.signature: void setIms(Map<ImType, String> ims)
focal_class.class_method_signature: Person.setIm(ImType imType, String imAddress)
focal_class.full_signature: public void setIm(ImType imType, String imAddress)
focal_class.identifier: setIm
focal_class.modifiers: public
focal_class.parameters: (ImType imType, String imAddress)
focal_class.return: void
focal_class.signature: void setIm(ImType imType, String imAddress)
focal_class.class_method_signature: Person.removeIm(ImType imType)
focal_class.full_signature: public void removeIm(ImType imType)
focal_class.identifier: removeIm
focal_class.modifiers: public
focal_class.parameters: (ImType imType)
focal_class.return: void
focal_class.signature: void removeIm(ImType imType)
focal_class.class_method_signature: Person.getHomeAddress()
focal_class.full_signature: public Address getHomeAddress()
focal_class.identifier: getHomeAddress
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Address
focal_class.signature: Address getHomeAddress()
focal_class.class_method_signature: Person.setHomeAddress(Address homeAddress)
focal_class.full_signature: public void setHomeAddress(Address homeAddress)
focal_class.identifier: setHomeAddress
focal_class.modifiers: public
focal_class.parameters: (Address homeAddress)
focal_class.return: void
focal_class.signature: void setHomeAddress(Address homeAddress)
focal_class.class_method_signature: Person.getMailAddress()
focal_class.full_signature: public Address getMailAddress()
focal_class.identifier: getMailAddress
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Address
focal_class.signature: Address getMailAddress()
focal_class.class_method_signature: Person.setMailAddress(Address mailAddress)
focal_class.full_signature: public void setMailAddress(Address mailAddress)
focal_class.identifier: setMailAddress
focal_class.modifiers: public
focal_class.parameters: (Address mailAddress)
focal_class.return: void
focal_class.signature: void setMailAddress(Address mailAddress)
focal_class.class_method_signature: Person.businessKeys()
focal_class.full_signature: @Override public String[] businessKeys()
focal_class.identifier: businessKeys
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] businessKeys()
focal_class.class_method_signature: Person.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.superclass: extends AbstractEntity
focal_method.body: public Map<ImType, String> getIms() {
          return Collections.unmodifiableMap(ims);
      }
focal_method.class_method_signature: Person.getIms()
focal_method.full_signature: public Map<ImType, String> getIms()
focal_method.identifier: getIms
focal_method.invocations: unmodifiableMap
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: Map<ImType, String>
focal_method.signature: Map<ImType, String> getIms()