class AssetRelatedMediaReference extends AssetExternalReference {

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

    public  AssetRelatedMediaReference(RelatedMediaReference  relatedMediaReferenceBean);
    public  AssetRelatedMediaReference(AssetDescriptor        parentAsset,
                                      RelatedMediaReference  relatedMediaReferenceBean);
    public  AssetRelatedMediaReference(AssetDescriptor            parentAsset,
                                      AssetRelatedMediaReference templateRelatedMediaReference);

}