@Test public void testEquals() { assertFalse(getTestObject().equals(null)); assertFalse(getTestObject().equals("DummyString")); assertTrue(getTestObject().equals(getTestObject())); ConnectorTypeProperties sameObject = getTestObject(); assertTrue(sameObject.equals(sameObject)); assertFalse(getTestObject().equals(getDifferentObject())); assertFalse(getTestObject().equals(getAnotherDifferentObject())); }
@Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (!(objectToCompare instanceof ConnectorTypeProperties)) { return false; } if (!super.equals(objectToCompare)) { return false; } ConnectorTypeProperties that = (ConnectorTypeProperties) objectToCompare; return Objects.equals(getConnectorTypeBean(), that.getConnectorTypeBean()); }
ConnectorTypeProperties extends AssetReferenceable { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (!(objectToCompare instanceof ConnectorTypeProperties)) { return false; } if (!super.equals(objectToCompare)) { return false; } ConnectorTypeProperties that = (ConnectorTypeProperties) objectToCompare; return Objects.equals(getConnectorTypeBean(), that.getConnectorTypeBean()); } }
ConnectorTypeProperties extends AssetReferenceable { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (!(objectToCompare instanceof ConnectorTypeProperties)) { return false; } if (!super.equals(objectToCompare)) { return false; } ConnectorTypeProperties that = (ConnectorTypeProperties) objectToCompare; return Objects.equals(getConnectorTypeBean(), that.getConnectorTypeBean()); } ConnectorTypeProperties(ConnectorType   connectorTypeBean);  ConnectorTypeProperties(AssetDescriptor parentAsset,
                                   ConnectorType   connectorTypeBean);  ConnectorTypeProperties(ConnectorTypeProperties templateConnectorType);  ConnectorTypeProperties(AssetDescriptor parentAsset, ConnectorTypeProperties templateConnectorType); }
ConnectorTypeProperties extends AssetReferenceable { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (!(objectToCompare instanceof ConnectorTypeProperties)) { return false; } if (!super.equals(objectToCompare)) { return false; } ConnectorTypeProperties that = (ConnectorTypeProperties) objectToCompare; return Objects.equals(getConnectorTypeBean(), that.getConnectorTypeBean()); } ConnectorTypeProperties(ConnectorType   connectorTypeBean);  ConnectorTypeProperties(AssetDescriptor parentAsset,
                                   ConnectorType   connectorTypeBean);  ConnectorTypeProperties(ConnectorTypeProperties templateConnectorType);  ConnectorTypeProperties(AssetDescriptor parentAsset, ConnectorTypeProperties templateConnectorType); String getDisplayName(); String getDescription(); String getConnectorProviderClassName(); List<String> getRecognizedAdditionalProperties(); List<String> getRecognizedConfigurationProperties(); List<String> getRecognizedSecuredProperties(); @Override String toString(); @Override boolean equals(Object objectToCompare); }
ConnectorTypeProperties extends AssetReferenceable { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (!(objectToCompare instanceof ConnectorTypeProperties)) { return false; } if (!super.equals(objectToCompare)) { return false; } ConnectorTypeProperties that = (ConnectorTypeProperties) objectToCompare; return Objects.equals(getConnectorTypeBean(), that.getConnectorTypeBean()); } ConnectorTypeProperties(ConnectorType   connectorTypeBean);  ConnectorTypeProperties(AssetDescriptor parentAsset,
                                   ConnectorType   connectorTypeBean);  ConnectorTypeProperties(ConnectorTypeProperties templateConnectorType);  ConnectorTypeProperties(AssetDescriptor parentAsset, ConnectorTypeProperties templateConnectorType); String getDisplayName(); String getDescription(); String getConnectorProviderClassName(); List<String> getRecognizedAdditionalProperties(); List<String> getRecognizedConfigurationProperties(); List<String> getRecognizedSecuredProperties(); @Override String toString(); @Override boolean equals(Object objectToCompare);  }