public class ConnectionMetaDataDTO
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CONNECTION_TYPE_KEY |
protected java.util.Map<java.lang.String,java.lang.String> |
metaData |
Constructor and Description |
---|
ConnectionMetaDataDTO() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ConnectionMetaDataDTO> |
fromJson(java.lang.String jsonString)
Deserialize a list of ConnectionMetaDataDTO instances from a given json string
|
java.lang.String |
getConnectionType()
Gets the connection type string that discriminates what type of acceptor this device supports.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetaData()
Get the metadata.
|
void |
setAcceptorType(java.lang.String acceptorType)
Set the acceptor type
|
static java.lang.String |
toJson(java.util.List<ConnectionMetaDataDTO> connectionMetaDataDTOList)
Get a json string serializing the given connection meta data list
|
java.lang.String |
toString() |
protected static final java.lang.String CONNECTION_TYPE_KEY
protected java.util.Map<java.lang.String,java.lang.String> metaData
public java.lang.String getConnectionType()
public void setAcceptorType(java.lang.String acceptorType)
acceptorType
- the acceptor typepublic java.util.Map<java.lang.String,java.lang.String> getMetaData()
public static java.util.List<ConnectionMetaDataDTO> fromJson(java.lang.String jsonString)
jsonString
- the string to deserializepublic static java.lang.String toJson(java.util.List<ConnectionMetaDataDTO> connectionMetaDataDTOList)
connectionMetaDataDTOList
- the list of connection metadata objects that is to be serializedpublic java.lang.String toString()
toString
in class java.lang.Object