eu.europa.esig.dss.model.tsl.TrustServiceProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dss-model Show documentation
Show all versions of dss-model Show documentation
DSS Model contains the data model representation for DSS
/**
* DSS - Digital Signature Services
* Copyright (C) 2015 European Commission, provided under the CEF programme
*
* This file is part of the "DSS - Digital Signature Services" project.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package eu.europa.esig.dss.model.tsl;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
/**
* This class is a DTO representation for a trust service provider
*/
public class TrustServiceProvider implements Serializable {
private static final long serialVersionUID = -2690449134555769275L;
/*
* Key = lang
*
* List = values / lang
*/
/** The map of names */
private Map> names;
/** The map of trade names */
private Map> tradeNames;
/** The list of registration identifiers */
private List registrationIdentifiers;
/** The map of postal addresses */
private Map postalAddresses;
/** The map of electronic addresses */
private Map> electronicAddresses;
/** The map of information */
private Map information;
/** The list of trust services */
private List services;
/** The territory (country) */
private String territory;
/**
* Default constructor
*
*/
public TrustServiceProvider() {
// empty
}
/**
* Gets a map of names
*
* @return a map of names
*/
public Map> getNames() {
return names;
}
/**
* Sets a map of names
*
* @param names a map of names
*/
public void setNames(Map> names) {
this.names = names;
}
/**
* Gets a map of trade names
*
* @return a map of trade names
*/
public Map> getTradeNames() {
return tradeNames;
}
/**
* Sets a map of trade names
*
* @param tradeNames a map of trade names
*/
public void setTradeNames(Map> tradeNames) {
this.tradeNames = tradeNames;
}
/**
* Gets a list of registration identifiers
*
* @return a list of {@link String}s
*/
public List getRegistrationIdentifiers() {
return registrationIdentifiers;
}
/**
* Sets a list of registration identifiers
*
* @param registrationIdentifiers a list of registration identifiers
*/
public void setRegistrationIdentifiers(List registrationIdentifiers) {
this.registrationIdentifiers = registrationIdentifiers;
}
/**
* Gets a map of postal addresses
*
* @return a map of postal addresses
*/
public Map getPostalAddresses() {
return postalAddresses;
}
/**
* Sets a map of postal addresses
*
* @param postalAddresses a map of postal addresses
*/
public void setPostalAddresses(Map postalAddresses) {
this.postalAddresses = postalAddresses;
}
/**
* Gets a map of electronic addresses
*
* @return a map of electronic addresses
*/
public Map> getElectronicAddresses() {
return electronicAddresses;
}
/**
* Sets a map of electronic addresses
*
* @param electronicAddresses a map of electronic addresses
*/
public void setElectronicAddresses(Map> electronicAddresses) {
this.electronicAddresses = electronicAddresses;
}
/**
* Gets a map of information
*
* @return a map of information
*/
public Map getInformation() {
return information;
}
/**
* Sets a map of information
*
* @param information a map of information
*/
public void setInformation(Map information) {
this.information = information;
}
/**
* Gets a list of trust services
*
* @return a list of {@link TrustService}s
*/
public List getServices() {
return services;
}
/**
* Sets a list of trust services
*
* @param services a list of trust services
*/
public void setServices(List services) {
this.services = services;
}
/**
* Gets territory (country)
*
* @return {@link String}
*/
public String getTerritory() {
return territory;
}
/**
* Sets territory (country)
* @param territory {@link String}
*/
public void setTerritory(String territory) {
this.territory = territory;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy