Class PolarionWorkItemFieldToTCAttributeAssignment
- java.lang.Object
-
- com.piketec.tpt.api.requirements.polarion.PolarionWorkItemFieldToTCAttributeAssignment
-
- All Implemented Interfaces:
java.io.Serializable
public class PolarionWorkItemFieldToTCAttributeAssignment extends java.lang.Object implements java.io.Serializable
The assignment of a Polarion Work Item field to a TPT test case attribute.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PolarionWorkItemFieldToTCAttributeAssignment.WorkItemFieldType
The type of the Polarion Work Item field.
-
Constructor Summary
Constructors Constructor Description PolarionWorkItemFieldToTCAttributeAssignment(PolarionWorkItemFieldToTCAttributeAssignment.WorkItemFieldType fieldType, java.lang.String fieldId)
The constructor for the assignment of a Polarion Work Item field to a TPT test case attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAttribute()
java.lang.String
getFieldId()
PolarionWorkItemFieldToTCAttributeAssignment.WorkItemFieldType
getFieldType()
void
setAttribute(java.lang.String attribute)
-
-
-
Constructor Detail
-
PolarionWorkItemFieldToTCAttributeAssignment
public PolarionWorkItemFieldToTCAttributeAssignment(PolarionWorkItemFieldToTCAttributeAssignment.WorkItemFieldType fieldType, java.lang.String fieldId)
The constructor for the assignment of a Polarion Work Item field to a TPT test case attribute.- Parameters:
fieldType
- The type of the Polarion Work Item field.fieldId
- The ID of the Polarion Work Item field.
-
-
Method Detail
-
getFieldType
public PolarionWorkItemFieldToTCAttributeAssignment.WorkItemFieldType getFieldType()
- Returns:
- The type of the Polarion Work Item field.
-
getFieldId
public java.lang.String getFieldId()
- Returns:
- The ID of the Polarion Work Item field.
-
getAttribute
public java.lang.String getAttribute()
- Returns:
- The name of an existing TPT test case attribute. If
null
, a new test case attribute is created during import.
-
setAttribute
public void setAttribute(java.lang.String attribute)
- Parameters:
attribute
- The name of an existing TPT test case attribute. Ifnull
, a new test case attribute is created during import.
-
-