class AssetLicense extends AssetReferenceable {

    @Override
    public boolean equals(Object objectToCompare)
    {
        if (this == objectToCompare)
        {
            return true;
        }
        if (!(objectToCompare instanceof AssetLicense))
        {
            return false;
        }
        if (!super.equals(objectToCompare))
        {
            return false;
        }
        AssetLicense that = (AssetLicense) objectToCompare;
        return Objects.equals(getLicenseBean(), that.getLicenseBean());
    }

    public  AssetLicense(License   licenseBean);
    public  AssetLicense(AssetDescriptor     parentAsset,
                        License             licenseBean);
    public  AssetLicense(AssetDescriptor   parentAsset, AssetLicense templateLicense);

}