Class StandaloneMemberRef

  • All Implemented Interfaces:
    Serializable, ParentChildRelation, nl.vpro.domain.media.support.Ownable

    @MappedSuperclass
    public class StandaloneMemberRef
    extends Object
    implements Serializable, nl.vpro.domain.media.support.Ownable, ParentChildRelation
    An representation of a memberRef also having a 'memberRef' attribute in the XML. A MemberRef doesn't have that because is always represented embedded in a MediaObject. This object also has getObjectType() to make it possible the distinguish Program.getEpisodeOf() from MediaObject.getMemberOf(). The original and use case of this object is to be a standalone JSON representation of a 'memberref' relation in poms in ElasticSearch. It is also annotated with javax.persistence annotations, which makes it possible to easily store this object in other databases too (though poms itself is not doing that).
    Since:
    4.7
    Author:
    Michiel Meeuwissen
    See Also:
    Serialized Form