nl.vpro.domain.constraint.media.And Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-domain Show documentation
Show all versions of api-domain Show documentation
Contains the objects used by the Frontend API, like forms and result objects
package nl.vpro.domain.constraint.media;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import nl.vpro.domain.constraint.AbstractAnd;
import nl.vpro.domain.constraint.Constraint;
import nl.vpro.domain.media.MediaObject;
/**
* @author Michiel Meeuwissen
* @since ...
*/
public class And extends AbstractAnd {
protected And() {
}
public And(List> constraints) {
super(constraints);
}
@SafeVarargs
public And(Constraint... constraints) {
super(constraints);
}
@Override
@XmlElements({
@XmlElement(name = "and", type = And.class),
@XmlElement(name = "or", type = Or.class),
@XmlElement(name = "not", type = Not.class),
@XmlElement(name = "avType", type = AvTypeConstraint.class),
@XmlElement(name = "avFileFormat", type = AvFileFormatConstraint.class),
@XmlElement(name = "avFileExtension", type = AVFileExtensionConstraint.class),
@XmlElement(name = "programUrl", type = ProgramUrlConstraint.class),
@XmlElement(name = "descendantOf", type = DescendantOfConstraint.class),
@XmlElement(name = "broadcaster", type = BroadcasterConstraint.class),
@XmlElement(name = "hasImage", type = HasImageConstraint.class),
@XmlElement(name = "hasLocation", type = HasLocationConstraint.class),
@XmlElement(name = "hasPrediction", type = HasPredictionConstraint.class),
@XmlElement(name = "type", type = MediaTypeConstraint.class),
@XmlElement(name = "channel", type = ChannelConstraint.class),
@XmlElement(name = "scheduleEvent", type = ScheduleEventDateConstraint.class),
//@XmlElement(name = "sortDate", type = SortDateConstraint.class),
@XmlElement(name = "hasPortal", type = HasPortalConstraint.class),
@XmlElement(name = "portal", type = PortalConstraint.class),
@XmlElement(name = "isExclusive", type = HasPortalRestrictionConstraint.class),
@XmlElement(name = "exclusive", type = PortalRestrictionConstraint.class),
@XmlElement(name = "hasGeoRestriction", type = HasGeoRestrictionConstraint.class),
@XmlElement(name = "geoRestriction", type = GeoRestrictionConstraint.class),
@XmlElement(name = "ageRating", type = AgeRatingConstraint.class),
@XmlElement(name = "hasAgeRating", type = HasAgeRatingConstraint.class),
@XmlElement(name = "contentRating", type = ContentRatingConstraint.class),
@XmlElement(name = "hasContentRating", type = HasContentRatingConstraint.class),
@XmlElement(name = "genre", type = GenreConstraint.class),
})
public List> getConstraints() {
return constraints;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy