@Test public void testAdditionalProperties() { Map<String, String> propertyMap; GlossaryTerm testObject = new GlossaryTerm(); assertTrue(testObject.getAdditionalProperties() == null); propertyMap = null; testObject = new GlossaryTerm(); testObject.setAdditionalProperties(propertyMap); assertTrue(testObject.getAdditionalProperties() == null); propertyMap = new HashMap<>(); testObject = new GlossaryTerm(); testObject.setAdditionalProperties(propertyMap); assertTrue(testObject.getAdditionalProperties() == null); propertyMap.put("propertyName", "propertyValue"); testObject = new GlossaryTerm(); testObject.setAdditionalProperties(propertyMap); Map<String, String> retrievedPropertyMap = testObject.getAdditionalProperties(); assertTrue(retrievedPropertyMap != null); assertFalse(retrievedPropertyMap.isEmpty()); assertTrue("propertyValue".equals(retrievedPropertyMap.get("propertyName"))); }
@Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (objectToCompare == null || getClass() != objectToCompare.getClass()) { return false; } if (!super.equals(objectToCompare)) { return false; } GlossaryTerm that = (GlossaryTerm) objectToCompare; return Objects.equals(getDisplayName(), that.getDisplayName()) && Objects.equals(getSummary(), that.getSummary()) && Objects.equals(getDescription(), that.getDescription()) && Objects.equals(getExamples(), that.getExamples()) && Objects.equals(getAbbreviation(), that.getAbbreviation()) && Objects.equals(getUsage(), that.getUsage()); }
GlossaryTerm extends Referenceable { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (objectToCompare == null || getClass() != objectToCompare.getClass()) { return false; } if (!super.equals(objectToCompare)) { return false; } GlossaryTerm that = (GlossaryTerm) objectToCompare; return Objects.equals(getDisplayName(), that.getDisplayName()) && Objects.equals(getSummary(), that.getSummary()) && Objects.equals(getDescription(), that.getDescription()) && Objects.equals(getExamples(), that.getExamples()) && Objects.equals(getAbbreviation(), that.getAbbreviation()) && Objects.equals(getUsage(), that.getUsage()); } }
GlossaryTerm extends Referenceable { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (objectToCompare == null || getClass() != objectToCompare.getClass()) { return false; } if (!super.equals(objectToCompare)) { return false; } GlossaryTerm that = (GlossaryTerm) objectToCompare; return Objects.equals(getDisplayName(), that.getDisplayName()) && Objects.equals(getSummary(), that.getSummary()) && Objects.equals(getDescription(), that.getDescription()) && Objects.equals(getExamples(), that.getExamples()) && Objects.equals(getAbbreviation(), that.getAbbreviation()) && Objects.equals(getUsage(), that.getUsage()); } GlossaryTerm();  GlossaryTerm(GlossaryTerm template); }
GlossaryTerm extends Referenceable { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (objectToCompare == null || getClass() != objectToCompare.getClass()) { return false; } if (!super.equals(objectToCompare)) { return false; } GlossaryTerm that = (GlossaryTerm) objectToCompare; return Objects.equals(getDisplayName(), that.getDisplayName()) && Objects.equals(getSummary(), that.getSummary()) && Objects.equals(getDescription(), that.getDescription()) && Objects.equals(getExamples(), that.getExamples()) && Objects.equals(getAbbreviation(), that.getAbbreviation()) && Objects.equals(getUsage(), that.getUsage()); } GlossaryTerm();  GlossaryTerm(GlossaryTerm template); String getDisplayName(); void setDisplayName(String displayName); String getSummary(); void setSummary(String summary); String getDescription(); void setDescription(String description); String getExamples(); void setExamples(String examples); String getAbbreviation(); void setAbbreviation(String abbreviation); String getUsage(); void setUsage(String usage); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode(); }
GlossaryTerm extends Referenceable { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (objectToCompare == null || getClass() != objectToCompare.getClass()) { return false; } if (!super.equals(objectToCompare)) { return false; } GlossaryTerm that = (GlossaryTerm) objectToCompare; return Objects.equals(getDisplayName(), that.getDisplayName()) && Objects.equals(getSummary(), that.getSummary()) && Objects.equals(getDescription(), that.getDescription()) && Objects.equals(getExamples(), that.getExamples()) && Objects.equals(getAbbreviation(), that.getAbbreviation()) && Objects.equals(getUsage(), that.getUsage()); } GlossaryTerm();  GlossaryTerm(GlossaryTerm template); String getDisplayName(); void setDisplayName(String displayName); String getSummary(); void setSummary(String summary); String getDescription(); void setDescription(String description); String getExamples(); void setExamples(String examples); String getAbbreviation(); void setAbbreviation(String abbreviation); String getUsage(); void setUsage(String usage); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }