Class Xref
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.product.item.category.question.Xref
-
@ApiType("SoftLayer_Product_Item_Category_Question_Xref") public class Xref extends Entity
The SoftLayer_Product_Item_Category_Question_Xref data type represents a link between an item category and an item category question. It also contains a 'required' field that designates if the question is required to be answered for the given item category.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Xref.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Long
id
Identifier for category question xref record.protected boolean
idSpecified
protected Category
itemCategory
The product item category that this reference points to.protected Long
itemCategoryId
Identifier for item category.protected boolean
itemCategoryIdSpecified
protected Long
locationId
Identifier for the question.protected boolean
locationIdSpecified
protected Question
question
The item category question that this reference points to.protected Long
questionId
Identifier for the question.protected boolean
questionIdSpecified
protected Boolean
required
Flag to indicate whether an answer is required for the question..protected boolean
requiredSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Xref()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getId()
Category
getItemCategory()
Long
getItemCategoryId()
Long
getLocationId()
Question
getQuestion()
Long
getQuestionId()
Boolean
getRequired()
boolean
isIdSpecified()
boolean
isItemCategoryIdSpecified()
boolean
isLocationIdSpecified()
boolean
isQuestionIdSpecified()
boolean
isRequiredSpecified()
void
setId(Long id)
void
setItemCategory(Category itemCategory)
void
setItemCategoryId(Long itemCategoryId)
void
setLocationId(Long locationId)
void
setQuestion(Question question)
void
setQuestionId(Long questionId)
void
setRequired(Boolean required)
void
unsetId()
void
unsetItemCategoryId()
void
unsetLocationId()
void
unsetQuestionId()
void
unsetRequired()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
itemCategory
@ApiProperty protected Category itemCategory
The product item category that this reference points to.
-
question
@ApiProperty protected Question question
The item category question that this reference points to.
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
Identifier for category question xref record.
-
idSpecified
protected boolean idSpecified
-
itemCategoryId
@ApiProperty(canBeNullOrNotSet=true) protected Long itemCategoryId
Identifier for item category.
-
itemCategoryIdSpecified
protected boolean itemCategoryIdSpecified
-
locationId
@ApiProperty(canBeNullOrNotSet=true) protected Long locationId
Identifier for the question.
-
locationIdSpecified
protected boolean locationIdSpecified
-
questionId
@ApiProperty(canBeNullOrNotSet=true) protected Long questionId
Identifier for the question.
-
questionIdSpecified
protected boolean questionIdSpecified
-
required
@ApiProperty(canBeNullOrNotSet=true) protected Boolean required
Flag to indicate whether an answer is required for the question..
-
requiredSpecified
protected boolean requiredSpecified
-
-
Method Detail
-
getItemCategory
public Category getItemCategory()
-
setItemCategory
public void setItemCategory(Category itemCategory)
-
getQuestion
public Question getQuestion()
-
setQuestion
public void setQuestion(Question question)
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getItemCategoryId
public Long getItemCategoryId()
-
setItemCategoryId
public void setItemCategoryId(Long itemCategoryId)
-
isItemCategoryIdSpecified
public boolean isItemCategoryIdSpecified()
-
unsetItemCategoryId
public void unsetItemCategoryId()
-
getLocationId
public Long getLocationId()
-
setLocationId
public void setLocationId(Long locationId)
-
isLocationIdSpecified
public boolean isLocationIdSpecified()
-
unsetLocationId
public void unsetLocationId()
-
getQuestionId
public Long getQuestionId()
-
setQuestionId
public void setQuestionId(Long questionId)
-
isQuestionIdSpecified
public boolean isQuestionIdSpecified()
-
unsetQuestionId
public void unsetQuestionId()
-
getRequired
public Boolean getRequired()
-
setRequired
public void setRequired(Boolean required)
-
isRequiredSpecified
public boolean isRequiredSpecified()
-
unsetRequired
public void unsetRequired()
-
-