class AssetRelatedMediaReference extends AssetExternalReference {

    public List<RelatedMediaUsage> getMediaUsageList()
    {
        List<RelatedMediaUsage>  mediaUsageList = relatedMediaReferenceBean.getMediaUsageList();

        if (mediaUsageList == null)
        {
            return null;
        }
        else if (mediaUsageList.isEmpty())
        {
            return null;
        }
        else
        {
            return new ArrayList<>(mediaUsageList);
        }
    }

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

}