Class Question


  • @ApiType("SoftLayer_Product_Item_Category_Question")
    public class Question
    extends Entity
    The SoftLayer_Product_Item_Category_Question data type represents a single question to be answered by an end user. The question may or may not be required which can be located by looking at the 'required' property on the item category references. The answerValueExpression property is a regular expression that is used to validate the answer to the question. The description and valueExample properties can be used to get an idea of the type of answer that should be provided.
    See Also:
    SoftLayer_Product_Item_Category_Question
    • Field Detail

      • fieldType

        @ApiProperty
        protected Type fieldType
        The type of field that should be used in an HTML form to accept an answer from an end user.
      • itemCategoryReferences

        @ApiProperty
        protected List<Xref> itemCategoryReferences
        The link between an item category and an item category question.
      • answerValueExpressionSpecified

        protected boolean answerValueExpressionSpecified
      • descriptionSpecified

        protected boolean descriptionSpecified
      • fieldTypeIdSpecified

        protected boolean fieldTypeIdSpecified
      • idSpecified

        protected boolean idSpecified
      • keyNameSpecified

        protected boolean keyNameSpecified
      • questionSpecified

        protected boolean questionSpecified
      • valueExampleSpecified

        protected boolean valueExampleSpecified
      • itemCategoryReferenceCount

        @ApiProperty
        protected Long itemCategoryReferenceCount
        A count of the link between an item category and an item category question.
    • Constructor Detail

      • Question

        public Question()
    • Method Detail

      • getFieldType

        public Type getFieldType()
      • setFieldType

        public void setFieldType​(Type fieldType)
      • getItemCategoryReferences

        public List<Xref> getItemCategoryReferences()
      • getAnswerValueExpression

        public String getAnswerValueExpression()
      • setAnswerValueExpression

        public void setAnswerValueExpression​(String answerValueExpression)
      • isAnswerValueExpressionSpecified

        public boolean isAnswerValueExpressionSpecified()
      • unsetAnswerValueExpression

        public void unsetAnswerValueExpression()
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • isDescriptionSpecified

        public boolean isDescriptionSpecified()
      • unsetDescription

        public void unsetDescription()
      • getFieldTypeId

        public Long getFieldTypeId()
      • setFieldTypeId

        public void setFieldTypeId​(Long fieldTypeId)
      • isFieldTypeIdSpecified

        public boolean isFieldTypeIdSpecified()
      • unsetFieldTypeId

        public void unsetFieldTypeId()
      • getId

        public Long getId()
      • setId

        public void setId​(Long id)
      • isIdSpecified

        public boolean isIdSpecified()
      • unsetId

        public void unsetId()
      • getKeyName

        public String getKeyName()
      • setKeyName

        public void setKeyName​(String keyName)
      • isKeyNameSpecified

        public boolean isKeyNameSpecified()
      • unsetKeyName

        public void unsetKeyName()
      • getQuestion

        public String getQuestion()
      • setQuestion

        public void setQuestion​(String question)
      • isQuestionSpecified

        public boolean isQuestionSpecified()
      • unsetQuestion

        public void unsetQuestion()
      • getValueExample

        public String getValueExample()
      • setValueExample

        public void setValueExample​(String valueExample)
      • isValueExampleSpecified

        public boolean isValueExampleSpecified()
      • unsetValueExample

        public void unsetValueExample()
      • getItemCategoryReferenceCount

        public Long getItemCategoryReferenceCount()
      • setItemCategoryReferenceCount

        public void setItemCategoryReferenceCount​(Long itemCategoryReferenceCount)