class AssetOwnerEvent extends AssetOwnerEventHeader {

    @Override
    public boolean equals(Object objectToCompare)
    {
        if (this == objectToCompare)
        {
            return true;
        }
        if (!(objectToCompare instanceof AssetOwnerEvent))
        {
            return false;
        }
        if (!super.equals(objectToCompare))
        {
            return false;
        }
        AssetOwnerEvent that = (AssetOwnerEvent) objectToCompare;
        return getEventType() == that.getEventType() &&
                Objects.equals(getOriginalAsset(), that.getOriginalAsset()) &&
                Objects.equals(getAsset(), that.getAsset());
    }

    public  AssetOwnerEvent();
    public  AssetOwnerEvent(AssetOwnerEvent template);

}