/* **************************************
                Object : SiteServer
--------------------------------------------------
 Version :
     1.0 - 080218 - KIG
 Description :
    Permet d'associer à l'url d'un site, l'url eRepo par défaut 
 Attributes :
    + urlSite : l'url du site
    + eRepoUrl : l'url du serveur eRepo associé
************************************** */
function SiteServer(urlSite, eRepoUrl){
    this.urlSite = urlSite ;
    this.eRepoUrl = eRepoUrl ;
}

SiteServer.prototype.getUrlSite = function(){
    if(this.urlSite){
        return this.urlSite ;
    }
    else{
        return "" ;
    }
}

SiteServer.prototype.getERepoUrl = function(){
    if(this.eRepoUrl){
        return this.eRepoUrl ;
    }
    else{
        return "" ;
    }
}

