Package ru.testit.models
Class FixtureResult
- java.lang.Object
-
- ru.testit.models.FixtureResult
-
- All Implemented Interfaces:
java.io.Serializable,ResultWithAttachments,ResultWithSteps
public class FixtureResult extends java.lang.Object implements ResultWithSteps, ResultWithAttachments, java.io.Serializable
Model describes fixture.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FixtureResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getAttachments()Gets attachments.java.lang.StringgetDescription()Gets description.ItemStagegetItemStage()Gets item stage.ItemStatusgetItemStatus()Gets item status.java.util.List<LinkItem>getLinkItems()Gets links.java.lang.StringgetName()Gets name.java.util.Map<java.lang.String,java.lang.String>getParameters()Gets parameters.java.lang.StringgetParent()Gets parent.java.lang.LonggetStart()Gets start.java.util.List<StepResult>getSteps()Gets steps.java.lang.LonggetStop()Gets stop.FixtureResultsetAttachments(java.util.List<java.lang.String> attachments)Sets attachments.FixtureResultsetDescription(java.lang.String description)Sets description.FixtureResultsetItemStage(ItemStage itemStage)Sets item stage.FixtureResultsetItemStatus(ItemStatus itemStatus)Sets item status.FixtureResultsetLinkItems(java.util.List<LinkItem> linkItems)Sets links.FixtureResultsetName(java.lang.String name)Sets name.FixtureResultsetParameters(java.util.Map<java.lang.String,java.lang.String> parameters)Sets parameters.FixtureResultsetParent(java.lang.String parent)Sets parent.FixtureResultsetStart(java.lang.Long start)Sets start.FixtureResultsetSteps(java.util.List<StepResult> steps)Sets steps.FixtureResultsetStop(java.lang.Long stop)Sets stop.java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets name.- Returns:
- the name
-
setName
public FixtureResult setName(java.lang.String name)
Sets name.- Parameters:
name- the value- Returns:
- self for method chaining
-
getItemStatus
public ItemStatus getItemStatus()
Gets item status.- Returns:
- the item status
-
setItemStatus
public FixtureResult setItemStatus(ItemStatus itemStatus)
Sets item status.- Parameters:
itemStatus- the value- Returns:
- self for method chaining
-
getItemStage
public ItemStage getItemStage()
Gets item stage.- Returns:
- the item stage
-
setItemStage
public FixtureResult setItemStage(ItemStage itemStage)
Sets item stage.- Parameters:
itemStage- the value- Returns:
- self for method chaining
-
getDescription
public java.lang.String getDescription()
Gets description.- Returns:
- the description
-
setDescription
public FixtureResult setDescription(java.lang.String description)
Sets description.- Parameters:
description- the value- Returns:
- self for method chaining
-
getAttachments
public java.util.List<java.lang.String> getAttachments()
Gets attachments.- Specified by:
getAttachmentsin interfaceResultWithAttachments- Returns:
- the attachments
-
setAttachments
public FixtureResult setAttachments(java.util.List<java.lang.String> attachments)
Sets attachments.- Parameters:
attachments- the attachments- Returns:
- self for method chaining
-
getSteps
public java.util.List<StepResult> getSteps()
Gets steps.- Specified by:
getStepsin interfaceResultWithSteps- Returns:
- the steps
-
setSteps
public FixtureResult setSteps(java.util.List<StepResult> steps)
Sets steps.- Parameters:
steps- the steps- Returns:
- self for method chaining
-
getLinkItems
public java.util.List<LinkItem> getLinkItems()
Gets links.- Returns:
- the links
-
setLinkItems
public FixtureResult setLinkItems(java.util.List<LinkItem> linkItems)
Sets links.- Parameters:
linkItems- the steps- Returns:
- self for method chaining
-
getParent
public java.lang.String getParent()
Gets parent.- Returns:
- the parent
-
setParent
public FixtureResult setParent(java.lang.String parent)
Sets parent.- Parameters:
parent- the value- Returns:
- self for method chaining
-
getStart
public java.lang.Long getStart()
Gets start.- Returns:
- the start
-
setStart
public FixtureResult setStart(java.lang.Long start)
Sets start.- Parameters:
start- the value- Returns:
- self for method chaining
-
getStop
public java.lang.Long getStop()
Gets stop.- Returns:
- the stop
-
setStop
public FixtureResult setStop(java.lang.Long stop)
Sets stop.- Parameters:
stop- the value- Returns:
- self for method chaining
-
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()
Gets parameters.- Returns:
- the parameters
-
setParameters
public FixtureResult setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
Sets parameters.- Parameters:
parameters- the value- Returns:
- self for method chaining
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-