cz.mmsparams.api.websocket.model.smsc.TlvModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of MmsParamsAPI Show documentation
Show all versions of MmsParamsAPI Show documentation
Common library for MmsParams system
The newest version!
package cz.mmsparams.api.websocket.model.smsc;
import java.io.Serializable;
import java.util.Arrays;
import cz.mmsparams.api.websocket.WebSocketModelBase;
public class TlvModel extends WebSocketModelBase implements Serializable
{
private short tag;
private byte[] value; // length is stored in array
private String tagName; // short description of this tag
private String valueString;
public short getTag()
{
return tag;
}
public void setTag(short tag)
{
this.tag = tag;
}
public byte[] getValue()
{
return value;
}
public void setValue(byte[] value)
{
this.value = value;
}
public String getTagName()
{
return tagName;
}
public void setTagName(String tagName)
{
this.tagName = tagName;
}
public String getValueString()
{
return valueString;
}
public void setValueString(String valueString)
{
this.valueString = valueString;
}
@Override
public String toString()
{
return "TlvModel{" +
"tag=" + tag +
", value=" + Arrays.toString(value) +
", tagName='" + tagName + '\'' +
", valueString='" + valueString + '\'' +
"} " + super.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy