Package com.avoka.tm.vo
Class SvcDef
- java.lang.Object
-
- com.avoka.tm.vo.SvcDef
-
public class SvcDef extends Object
Provide a Service Definition value object class.- Since:
- 5.0.0
-
-
Field Summary
Fields Modifier and Type Field Description StringclassNameThe service definition class name.StringclientCodeThe organization client code.DatecreatedAtThe time the service definition was created.StringcreatedByThe user who created the service definition.StringdescriptionThe service description.LongidThe service definition id (PK).booleanisCurrentVersionThe service is the current active version for the service name.booleanisJobTemplateThe service definition is a job template.booleanisUnitTestEnabledThe unit testing is enable for the service.DatelastModifiedAtThe time the service definition was last modified.StringlastModifiedByThe user who created the service definition.StringnameThe service definition name.LongorgIdThe organization client id (PK).Map<String,String>paramsMapThe service parameters map.SvcConnsvcConnThe associated service connection.StringtypeThe service type.StringversionThe service definition version.IntegerversionNumberDeprecated.
-
Constructor Summary
Constructors Constructor Description SvcDef(com.avoka.fc.core.entity.ServiceDefinition sd)Create a service definition value object from the given entity.SvcDef(SvcDef svcDef, Map<String,String> params)Create a service definition value object from the given entity and put additional parameters to the service definition's parameters map.SvcDef(Map fields)Create a unit testing SvcDef value object with the given fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClassName()The service definition class name.StringgetClientCode()The organization client code.DategetCreatedAt()The time the service definition was created.StringgetCreatedBy()The user who created the service definition.StringgetDescription()The service description.LonggetId()The service definition id (PK).DategetLastModifiedAt()The time the service definition was last modified.StringgetLastModifiedBy()The user who created the service definition.StringgetName()The service definition name.LonggetOrgId()The organization client id (PK).Map<String,String>getParamsMap()The service parameters map.SvcConngetSvcConn()The associated service connection.StringgetType()The service type.StringgetVersion()The service definition version.booleanisCurrentVersion()The service is the current active version for the service name.booleanisJobTemplate()The service definition is a job template.booleanisUnitTestEnabled()The unit testing is enable for the service.StringtoString()
-
-
-
Field Detail
-
id
public final Long id
The service definition id (PK).
-
name
public final String name
The service definition name.
-
versionNumber
@Deprecated public final Integer versionNumber
Deprecated.The service definition version number.
-
version
public final String version
The service definition version.- Since:
- 17.10.0
-
orgId
public final Long orgId
The organization client id (PK).
-
clientCode
public final String clientCode
The organization client code.
-
type
public final String type
The service type.
-
description
public final String description
The service description.
-
isCurrentVersion
public final boolean isCurrentVersion
The service is the current active version for the service name.
-
isJobTemplate
public final boolean isJobTemplate
The service definition is a job template.
-
isUnitTestEnabled
public final boolean isUnitTestEnabled
The unit testing is enable for the service.
-
className
public final String className
The service definition class name.
-
createdAt
public final Date createdAt
The time the service definition was created.
-
createdBy
public final String createdBy
The user who created the service definition.
-
lastModifiedAt
public final Date lastModifiedAt
The time the service definition was last modified.
-
lastModifiedBy
public final String lastModifiedBy
The user who created the service definition.
-
svcConn
public final SvcConn svcConn
The associated service connection.
-
-
Constructor Detail
-
SvcDef
public SvcDef(com.avoka.fc.core.entity.ServiceDefinition sd)
Create a service definition value object from the given entity.- Parameters:
sd- the service definition entity (required)
-
SvcDef
public SvcDef(SvcDef svcDef, Map<String,String> params)
Create a service definition value object from the given entity and put additional parameters to the service definition's parameters map.- Parameters:
svcDef- the service definition entity (required)params- additional parameters to put to service definition parameters (required)- Since:
- 5.0.2
-
SvcDef
public SvcDef(Map fields)
Create a unit testing SvcDef 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 definition id (PK).
-
getName
public String getName()
The service definition name.
-
getVersion
public String getVersion()
The service definition version.- Since:
- 17.10.0
-
getOrgId
public Long getOrgId()
The organization client id (PK).
-
getClientCode
public String getClientCode()
The organization client code.
-
getType
public String getType()
The service type.
-
getDescription
public String getDescription()
The service description.
-
isCurrentVersion
public boolean isCurrentVersion()
The service is the current active version for the service name.
-
isJobTemplate
public boolean isJobTemplate()
The service definition is a job template.
-
isUnitTestEnabled
public boolean isUnitTestEnabled()
The unit testing is enable for the service.
-
getClassName
public String getClassName()
The service definition class name.
-
getCreatedAt
public Date getCreatedAt()
The time the service definition was created.
-
getCreatedBy
public String getCreatedBy()
The user who created the service definition.
-
getLastModifiedAt
public Date getLastModifiedAt()
The time the service definition was last modified.
-
getLastModifiedBy
public String getLastModifiedBy()
The user who created the service definition.
-
getSvcConn
public SvcConn getSvcConn()
The associated service connection.
-
-