![JAR search and dependency download from the Maven repository](/logo.png)
sdmx.message.PartyType Maven / Gradle / Ivy
The newest version!
/*
This file is part of sdmx-sax.
Copyright 2015 James Stanley Gardner
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
*/
package sdmx.message;
import java.util.List;
import sdmx.common.Name;
import sdmx.commonreferences.IDType;
import sdmx.structure.base.NameableType;
/**
*
PartyType defines the information which is sent about various parties such as senders and receivers of messages.
Name is a human-readable name of the party.
Contact provides contact information for the party in regard to the transmission of the message.
The id attribute holds the identification of the party.
* @author James
*/
public class PartyType extends NameableType {
private List names;
private List contacts;
private IDType id;
public PartyType(){
super();
}
/**
* @return the name
*/
public List getNames() {
return names;
}
/**
* @param name the name to set
*/
public void setNames(List name) {
this.names = name;
}
/**
* @return the contact
*/
public List getContacts() {
return contacts;
}
/**
* @param contact the contact to set
*/
public void setContacts(List contact) {
this.contacts = contact;
}
/**
* @return the id
*/
public IDType getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(IDType id) {
this.id = id;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy