cz.active24.client.fred.data.common.contact.IdentificationData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fred-client Show documentation
Show all versions of fred-client Show documentation
A Java EPP client for FRED (Free Registry for ENUM and Domains)
package cz.active24.client.fred.data.common.contact;
/**
* Identity-document identification.
*
*
* - {@link IdentificationData#type} – the type of the identity document as one of values
*
* - op (identity card number),
* - passport (passport number),
* - mpsv (number from the Ministry of Labour and Social Affairs),
* - ico (company number),
* - birthday (the date of birth).
*
* - {@link IdentificationData#value} - the identification number
*
*
* @see FRED documentation
*/
public class IdentificationData {
private IdentType type;
private String value;
protected IdentificationData() {
}
public IdentificationData(IdentType type, String value) {
this.setType(type);
this.setValue(value);
}
public IdentType getType() {
return type;
}
public void setType(IdentType type) {
this.type = type;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("IdentificationData{");
sb.append("type=").append(type);
sb.append(", value='").append(value).append('\'');
sb.append('}');
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy