// Path: src/main/java/cz/jiripinkas/jsitemapgenerator/exception/InvalidPriorityException.java
// public class InvalidPriorityException extends RuntimeException {
// 
//     public InvalidPriorityException(String message) {
//         super(message);
//     }
// }


import cz.jiripinkas.jsitemapgenerator.exception.InvalidPriorityException;
import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.util.*;
import java.util.function.Supplier;
    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getShortDescription() {
        return shortDescription;
    }

    public void setShortDescription(String shortDescription) {
        this.shortDescription = shortDescription;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAlternateNames(Map<String, String> alternateNames) {
        this.alternateNames = alternateNames;
    }

    public void setLastMod(Date lastMod) {
        this.lastMod = lastMod;
    }

    public void setChangeFreq(ChangeFreq changeFreq) {
        this.changeFreq = changeFreq;
    }

    public void setPriority(Double priority) {
        if (priority < MIN_PRIORITY || priority > MAX_PRIORITY) {
// Path: src/main/java/cz/jiripinkas/jsitemapgenerator/exception/InvalidPriorityException.java
// public class InvalidPriorityException extends RuntimeException {
// 
//     public InvalidPriorityException(String message) {
//         super(message);
//     }
// }


// Path: src/main/java/cz/jiripinkas/jsitemapgenerator/WebPage.java
import cz.jiripinkas.jsitemapgenerator.exception.InvalidPriorityException;
import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.util.*;
import java.util.function.Supplier;

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getShortDescription() {
        return shortDescription;
    }

    public void setShortDescription(String shortDescription) {
        this.shortDescription = shortDescription;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAlternateNames(Map<String, String> alternateNames) {
        this.alternateNames = alternateNames;
    }

    public void setLastMod(Date lastMod) {
        this.lastMod = lastMod;
    }

    public void setChangeFreq(ChangeFreq changeFreq) {
        this.changeFreq = changeFreq;
    }

    public void setPriority(Double priority) {
        if (priority < MIN_PRIORITY || priority > MAX_PRIORITY) {
            throw new InvalidPriorityException("Priority must be between " + MIN_PRIORITY + " and " + MAX_PRIORITY);