@Test public void testHashCode() { assertTrue(getTestObject().hashCode() == getTestObject().hashCode()); AssetElementHeader anotherObject = getTestObject(); anotherObject.setBean(null); assertFalse(anotherObject.hashCode() == getTestObject().hashCode()); }
@Override public int hashCode() { if (elementHeaderBean == null) { return new ElementHeader().hashCode(); } return elementHeaderBean.hashCode(); }
AssetElementHeader extends AssetPropertyBase { @Override public int hashCode() { if (elementHeaderBean == null) { return new ElementHeader().hashCode(); } return elementHeaderBean.hashCode(); } }
AssetElementHeader extends AssetPropertyBase { @Override public int hashCode() { if (elementHeaderBean == null) { return new ElementHeader().hashCode(); } return elementHeaderBean.hashCode(); } protected  AssetElementHeader(AssetDescriptor parentAsset); protected  AssetElementHeader(ElementHeader elementHeaderBean); protected  AssetElementHeader(AssetDescriptor parentAsset,
                                 ElementHeader elementHeaderBean); protected  AssetElementHeader(AssetDescriptor parentAsset, AssetElementHeader assetElementHeader); }
AssetElementHeader extends AssetPropertyBase { @Override public int hashCode() { if (elementHeaderBean == null) { return new ElementHeader().hashCode(); } return elementHeaderBean.hashCode(); } protected  AssetElementHeader(AssetDescriptor parentAsset); protected  AssetElementHeader(ElementHeader elementHeaderBean); protected  AssetElementHeader(AssetDescriptor parentAsset,
                                 ElementHeader elementHeaderBean); protected  AssetElementHeader(AssetDescriptor parentAsset, AssetElementHeader assetElementHeader); AssetElementType getType(); String getGUID(); String getURL(); List<AssetClassification> getAssetClassifications(); Map<String, Object> getExtendedProperties(); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode(); }
AssetElementHeader extends AssetPropertyBase { @Override public int hashCode() { if (elementHeaderBean == null) { return new ElementHeader().hashCode(); } return elementHeaderBean.hashCode(); } protected  AssetElementHeader(AssetDescriptor parentAsset); protected  AssetElementHeader(ElementHeader elementHeaderBean); protected  AssetElementHeader(AssetDescriptor parentAsset,
                                 ElementHeader elementHeaderBean); protected  AssetElementHeader(AssetDescriptor parentAsset, AssetElementHeader assetElementHeader); AssetElementType getType(); String getGUID(); String getURL(); List<AssetClassification> getAssetClassifications(); Map<String, Object> getExtendedProperties(); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }