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
-
-
Constructor Summary
Constructors Constructor Description SvcDef()
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 Deprecated Methods Modifier and Type Method Description String
getClassName()
The service definition class name.String
getClientCode()
The organization client code.Date
getCreatedAt()
The time the service definition was created.String
getCreatedBy()
The user who created the service definition.String
getDescription()
The service description.Long
getId()
The service definition id (PK).Date
getLastModifiedAt()
The time the service definition was last modified.String
getLastModifiedBy()
The user who created the service definition.String
getName()
The service definition name.Long
getOrgId()
The organization client id (PK).Map<String,String>
getParamsMap()
The service parameters map.SvcConn
getSvcConn()
The associated service connection.String
getType()
The service type.String
getVersion()
The service definition version.Integer
getVersionNumber()
Deprecated.boolean
isCurrentVersion()
The service is the current active version for the service name.boolean
isJobTemplate()
The service definition is a job template.boolean
isUnitTestEnabled()
The unit testing is enable for the service.String
toString()
-
-
-
Constructor Detail
-
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
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 service definition 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
-
getVersionNumber
@Deprecated public Integer getVersionNumber()
Deprecated.The service definition version.- Since:
- 21.5.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.
-
-