Package com.avoka.tm.vo
Class SvcDef
java.lang.Object
com.avoka.tm.vo.SvcDef
Provide a Service Definition value object class.
- Since:
- 5.0.0
-
Constructor Summary
ConstructorDescriptionSvcDef()
SvcDef
(com.avoka.fc.core.entity.ServiceDefinition sd) Create a service definition value object from the given entity.Create a service definition value object from the given entity and put additional parameters to the service definition's parameters map.Create a unit testing SvcDef value object with the given fields. -
Method Summary
Modifier and TypeMethodDescriptionThe service definition class name.The organization client code.The time the service definition was created.The user who created the service definition.The service description.getId()
The service definition id (PK).The time the service definition was last modified.The user who created the service definition.getName()
The service definition name.getOrgId()
The organization client id (PK).The service parameters map.The associated service connection.getType()
The service type.The service definition version.Deprecated.boolean
The service is the current active version for the service name.boolean
The service definition is a job template.boolean
The unit testing is enable for the service.toString()
-
Constructor Details
-
SvcDef
public SvcDef() -
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
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
Create a unit testing SvcDef value object with the given fields.- Parameters:
fields
- the service definition entity fields (required)- Since:
- 5.1.4
-
-
Method Details
-
toString
-
getId
The service definition id (PK). -
getName
The service definition name. -
getVersion
The service definition version.- Since:
- 17.10.0
-
getVersionNumber
Deprecated.The service definition version.- Since:
- 21.5.0
-
getOrgId
The organization client id (PK). -
getClientCode
The organization client code. -
getType
The service type. -
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
The service definition class name. -
getCreatedAt
The time the service definition was created. -
getCreatedBy
The user who created the service definition. -
getLastModifiedAt
The time the service definition was last modified. -
getLastModifiedBy
The user who created the service definition. -
getSvcConn
The associated service connection. -
getParamsMap
The service parameters map.
-