Package com.avoka.tm.vo
Class SvcConn
- java.lang.Object
-
- com.avoka.tm.vo.SvcConn
-
public class SvcConn extends Object
Provides a Service Connection value object.- Since:
- 5.0.0
-
-
Field Summary
Fields Modifier and Type Field Description StringclientCodeThe organization client code.StringendpointThe service connection endpoint.byte[]fileDataThe service connection file data.StringfileNameThe service connection file name.LongidThe service connection id (PK).StringnameThe service connection name.LongorgIdThe organization client id (PK).Stringparam1The service connection parameter 1.Stringparam2The service connection parameter 2.Stringparam3The service connection parameter 3.Stringparam4The service connection parameter 4.StringpasswordThe service connection password.StringtypeThe service connection type.StringusernameThe service connection username.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientCode()The organization client code.StringgetEndpoint()The service connection endpoint.byte[]getFileData()The service connection file data.StringgetFileName()The service connection file name.LonggetId()The service connection id (PK).StringgetName()The service connection name.LonggetOrgId()The organization client id (PK).StringgetParam1()The service connection parameter 1.StringgetParam2()The service connection parameter 2.StringgetParam3()The service connection parameter 3.StringgetParam4()The service connection parameter 4.StringgetPassword()The service connection password.StringgetType()The service connection type.StringgetUsername()The service connection username.StringtoString()
-
-
-
Field Detail
-
id
public final Long id
The service connection id (PK).
-
name
public final String name
The service connection name.
-
orgId
public final Long orgId
The organization client id (PK).
-
clientCode
public final String clientCode
The organization client code.
-
endpoint
public final String endpoint
The service connection endpoint.
-
type
public final String type
The service connection type.
-
username
public final String username
The service connection username.
-
password
public final String password
The service connection password.
-
param1
public final String param1
The service connection parameter 1.
-
param2
public final String param2
The service connection parameter 2.
-
param3
public final String param3
The service connection parameter 3.
-
param4
public final String param4
The service connection parameter 4.
-
fileData
public final byte[] fileData
The service connection file data.
-
fileName
public final String fileName
The service connection file name.
-
-
Constructor Detail
-
SvcConn
public SvcConn(com.avoka.fc.core.entity.ServiceConnection sc)
Create a service connection value object from the given entity parameter.- Parameters:
sc- the service connection entity (required)
-
SvcConn
public SvcConn(Map fields)
Create a unit testing SvcConn value object with the given fields.- Parameters:
fields- the submission entity fields (required)- Since:
- 5.1.4
-
-
Method Detail
-
toString
public String toString()
-
getId
public Long getId()
The service connection id (PK).
-
getName
public String getName()
The service connection name.
-
getOrgId
public Long getOrgId()
The organization client id (PK).
-
getClientCode
public String getClientCode()
The organization client code.
-
getEndpoint
public String getEndpoint()
The service connection endpoint.
-
getType
public String getType()
The service connection type.
-
getUsername
public String getUsername()
The service connection username.
-
getPassword
public String getPassword()
The service connection password.
-
getParam1
public String getParam1()
The service connection parameter 1.
-
getParam2
public String getParam2()
The service connection parameter 2.
-
getParam3
public String getParam3()
The service connection parameter 3.
-
getParam4
public String getParam4()
The service connection parameter 4.
-
getFileData
public byte[] getFileData()
The service connection file data.
-
getFileName
public String getFileName()
The service connection file name.
-
-