Class GeoRestriction

    • Field Detail

      • region

        @NotNull(message="nl.vpro.constraints.NotNull")
        protected @NotNull(message="nl.vpro.constraints.NotNull") Region region
      • platform

        @NotNull(message="nl.vpro.constraints.NotNull")
        protected @NotNull(message="nl.vpro.constraints.NotNull") Platform platform
    • Constructor Detail

      • GeoRestriction

        public GeoRestriction()
      • GeoRestriction

        public GeoRestriction​(String region)
      • GeoRestriction

        public GeoRestriction​(Region region)
    • Method Detail

      • getJsonValue

        protected String getJsonValue()
      • getRegion

        @NotNull(message="nl.vpro.constraints.NotNull")
        public @NotNull(message="nl.vpro.constraints.NotNull") Region getRegion()
      • setRegion

        public void setRegion​(@NotNull(message="nl.vpro.constraints.NotNull")
                              @NotNull(message="nl.vpro.constraints.NotNull") Region region)
      • getPlatform

        @NotNull(message="nl.vpro.constraints.NotNull")
        public @NotNull(message="nl.vpro.constraints.NotNull") Platform getPlatform()
      • setPlatform

        public void setPlatform​(@NotNull(message="nl.vpro.constraints.NotNull")
                                @NotNull(message="nl.vpro.constraints.NotNull") Platform platform)
      • isAuthoritative

        public boolean isAuthoritative()
      • setAuthoritative

        public void setAuthoritative​(boolean authoritative)