@Entity public class Product extends AbstractUUIDEntity implements Serializable
A single product will have multiple deployment patterns
| Modifier and Type | Class and Description |
|---|---|
static class |
Product.Channel
This defines the possible channels of the Product.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
CHANNEL_COLUMN |
static String |
NAME_COLUMN
Column names of the table.
|
static String |
PRODUCT_TABLE
Product test plan table name.
|
static String |
VERSION_COLUMN |
ID_COLUMN| Constructor and Description |
|---|
Product() |
| Modifier and Type | Method and Description |
|---|---|
Product.Channel |
getChannel()
Returns the channel of the product test plan.
|
List<DeploymentPattern> |
getDeploymentPatterns()
Returns the associated test plans list.
|
String |
getName()
Returns the product name.
|
String |
getVersion()
Returns the product version.
|
void |
setChannel(Product.Channel channel)
Sets the channel of the product test plan.
|
void |
setDeploymentPatterns(List<DeploymentPattern> deploymentPatterns)
Sets the associated test plans list.
|
void |
setName(String name)
Sets the product name.
|
void |
setVersion(String version)
Sets the product version.
|
String |
toString() |
generateUUID, getCreatedTimestamp, getId, getModifiedTimestamp, setCreatedTimestamp, setId, setModifiedTimestamppublic static final String PRODUCT_TABLE
public static final String NAME_COLUMN
public static final String VERSION_COLUMN
public static final String CHANNEL_COLUMN
public String getName()
public void setName(String name)
name - product namepublic String getVersion()
public void setVersion(String version)
version - product versionpublic Product.Channel getChannel()
public void setChannel(Product.Channel channel)
channel - product test plan channelpublic List<DeploymentPattern> getDeploymentPatterns()
public void setDeploymentPatterns(List<DeploymentPattern> deploymentPatterns)
deploymentPatterns - associated test plans listCopyright © 2018 WSO2. All rights reserved.