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
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 Details
-
itemCategory
The product item category that this reference points to. -
question
The item category question that this reference points to. -
id
Identifier for category question xref record. -
idSpecified
protected boolean idSpecified -
itemCategoryId
Identifier for item category. -
itemCategoryIdSpecified
protected boolean itemCategoryIdSpecified -
locationId
Identifier for the question. -
locationIdSpecified
protected boolean locationIdSpecified -
questionId
Identifier for the question. -
questionIdSpecified
protected boolean questionIdSpecified -
required
Flag to indicate whether an answer is required for the question.. -
requiredSpecified
protected boolean requiredSpecified
-
-
Constructor Details
-
Xref
public Xref()
-
-
Method Details
-
getItemCategory
-
setItemCategory
-
getQuestion
-
setQuestion
-
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getItemCategoryId
-
setItemCategoryId
-
isItemCategoryIdSpecified
public boolean isItemCategoryIdSpecified() -
unsetItemCategoryId
public void unsetItemCategoryId() -
getLocationId
-
setLocationId
-
isLocationIdSpecified
public boolean isLocationIdSpecified() -
unsetLocationId
public void unsetLocationId() -
getQuestionId
-
setQuestionId
-
isQuestionIdSpecified
public boolean isQuestionIdSpecified() -
unsetQuestionId
public void unsetQuestionId() -
getRequired
-
setRequired
-
isRequiredSpecified
public boolean isRequiredSpecified() -
unsetRequired
public void unsetRequired()
-