
it.bancaditalia.oss.sdmx.api.SdmxMetaElement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdmx Show documentation
Show all versions of sdmx Show documentation
Sdmx Connectors for Statistical Software
/* Copyright 2010,2014 Bank Of Italy
*
* Licensed under the EUPL, Version 1.1 or - as soon they
* will be approved by the European Commission - subsequent
* versions of the EUPL (the "Licence");
* You may not use this work except in compliance with the
* Licence.
* You may obtain a copy of the Licence at:
*
*
* http://ec.europa.eu/idabc/eupl
*
* Unless required by applicable law or agreed to in
* writing, software distributed under the Licence is
* distributed on an "AS IS" basis,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied.
* See the Licence for the specific language governing
* permissions and limitations under the Licence.
*/
package it.bancaditalia.oss.sdmx.api;
/**
*
* @author Valentino Pinna
*/
public class SdmxMetaElement {
private String id = null;
private Codelist codeList = null;
private String name;
/**
* Creates an empty sdmx metadata element.
*/
public SdmxMetaElement() {
super();
}
/**
* Creates a sdmx metadata element with id and codelist
*
* @param id The id of this metadata element
* @param codeList The codelist of this metadata element
*/
public SdmxMetaElement(String id, Codelist codeList) {
super();
this.id = id;
this.codeList = codeList;
}
/**
* @return The id of this metadata element
*/
public String getId() {
return id;
}
/**
* @param id The id of this metadata element
*/
public void setId(String id) {
this.id = id;
}
/**
* @return The codelist of this metadata element
*/
public Codelist getCodeList() {
return codeList;
}
/**
* @param codeList The codelist of this metadata element
*/
public void setCodeList(Codelist codeList) {
this.codeList = codeList;
}
/**
* @return The name of this metadata element
*/
public String getName() {
return name;
}
/**
* @param name The name of this metadata element
*/
public void setName(String name) {
this.name = name;
}
/* (non-Javadoc)
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("Attribute [id=").append(id)
.append(", name=").append(name)
.append(", codelist=").append(codeList).append("]\n");
return builder.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy