org.oma.protocols.mlp.svc_result.Msid Maven / Gradle / Ivy
package org.oma.protocols.mlp.svc_result;
/**
* Schema fragment(s) for this class:
*
* <xs:element xmlns:ns="MLP_SVC_RESULT_310.dtd" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="msid">
* <xs:complexType>
* <xs:simpleContent>
* <xs:extension base="xs:string">
* <xs:attribute default="MSISDN" name="type">
* <xs:simpleType>
* <!-- Reference to inner class Type -->
* </xs:simpleType>
* </xs:attribute>
* <xs:attribute default="ASC" name="enc">
* <xs:simpleType>
* <!-- Reference to inner class Enc -->
* </xs:simpleType>
* </xs:attribute>
* </xs:extension>
* </xs:simpleContent>
* </xs:complexType>
* </xs:element>
*
*/
public class Msid
{
private String string;
private Type type;
private Enc enc;
/**
* Get the extension value.
*
* @return value
*/
public String getString() {
return string;
}
/**
* Set the extension value.
*
* @param string
*/
public void setString(String string) {
this.string = string;
}
/**
* Get the 'type' attribute value.
*
* @return value
*/
public Type getType() {
return type;
}
/**
* Set the 'type' attribute value.
*
* @param type
*/
public void setType(Type type) {
this.type = type;
}
/**
* Get the 'enc' attribute value.
*
* @return value
*/
public Enc getEnc() {
return enc;
}
/**
* Set the 'enc' attribute value.
*
* @param enc
*/
public void setEnc(Enc enc) {
this.enc = enc;
}
/**
* Schema fragment(s) for this class:
*
* <xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
* <xs:restriction base="xs:string">
* <xs:enumeration value="MSISDN"/>
* <xs:enumeration value="IMSI"/>
* <xs:enumeration value="IMEI"/>
* <xs:enumeration value="MIN"/>
* <xs:enumeration value="MDN"/>
* <xs:enumeration value="EME_MSID"/>
* <xs:enumeration value="ASID"/>
* <xs:enumeration value="OPE_ID"/>
* <xs:enumeration value="IPV4"/>
* <xs:enumeration value="IPV6"/>
* <xs:enumeration value="SESSID"/>
* </xs:restriction>
* </xs:simpleType>
*
*/
public static enum Type {
MSISDN("MSISDN"), IMSI("IMSI"), IMEI("IMEI"), MIN("MIN"), MDN("MDN"), EME_MSID(
"EME_MSID"), ASID("ASID"), OPE_ID("OPE_ID"), IP_V4("IPV4"), IP_V6(
"IPV6"), SESSID("SESSID");
private final String value;
private Type(String value) {
this.value = value;
}
public String xmlValue() {
return value;
}
public static Type convert(String value) {
for (Type inst : values()) {
if (inst.xmlValue().equals(value)) {
return inst;
}
}
return null;
}
}
/**
* Schema fragment(s) for this class:
*
* <xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
* <xs:restriction base="xs:string">
* <xs:enumeration value="ASC"/>
* <xs:enumeration value="CRP"/>
* </xs:restriction>
* </xs:simpleType>
*
*/
public static enum Enc {
ASC, CRP
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy