nl.vpro.domain.api.Order 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
/*
* Copyright (C) 2013 All rights reserved
* VPRO The Netherlands
*/
package nl.vpro.domain.api;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
import nl.vpro.domain.media.search.Pager;
/**
* @author Roelof Jan Koekoek
* @since 2.0
*/
@XmlEnum
@XmlType(name = "orderTypeEnum")
public enum Order {
ASC(Pager.Direction.ASC),
DESC(Pager.Direction.DESC);
private final Pager.Direction direction;
Order(Pager.Direction direction) {
this.direction = direction;
}
public Pager.Direction direction() {
return direction;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy