Class Attribute
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.product.item.Attribute
-
@ApiType("SoftLayer_Product_Item_Attribute") public class Attribute extends Entity
The [[SoftLayer_Product_Item_Attribute]] data type allows us to describe a [[SoftLayer_Product_Item]] by attaching specific attributes, which may dictate how it interacts with other products and services. Most, if not all, of these attributes are geared towards internal usage, so customers should rarely be concerned with them.- See Also:
- SoftLayer_Product_Item_Attribute
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Attribute.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Type
attributeType
This represents the attribute type of this product attribute.protected String
attributeTypeKeyName
This represents the attribute type's key name of this product attribute.protected Long
id
This is the primary key value for the product attribute.protected boolean
idSpecified
protected Item
item
This represents the product that an attribute is tied to.protected Long
itemAttributeTypeId
This is a foreign key value for the [[SoftLayer_Product_Item_Attribute_Type]].protected boolean
itemAttributeTypeIdSpecified
protected Long
itemId
This is a foreign key value for the [[SoftLayer_Product_Item]].protected boolean
itemIdSpecified
protected String
value
This is the value for the attribute.protected boolean
valueSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Attribute()
-
Method Summary
Modifier and Type Method Description Type
getAttributeType()
String
getAttributeTypeKeyName()
Long
getId()
Item
getItem()
Long
getItemAttributeTypeId()
Long
getItemId()
String
getValue()
boolean
isIdSpecified()
boolean
isItemAttributeTypeIdSpecified()
boolean
isItemIdSpecified()
boolean
isValueSpecified()
void
setAttributeType(Type attributeType)
void
setAttributeTypeKeyName(String attributeTypeKeyName)
void
setId(Long id)
void
setItem(Item item)
void
setItemAttributeTypeId(Long itemAttributeTypeId)
void
setItemId(Long itemId)
void
setValue(String value)
void
unsetId()
void
unsetItemAttributeTypeId()
void
unsetItemId()
void
unsetValue()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
attributeType
@ApiProperty protected Type attributeType
This represents the attribute type of this product attribute.
-
attributeTypeKeyName
@ApiProperty protected String attributeTypeKeyName
This represents the attribute type's key name of this product attribute.
-
item
@ApiProperty protected Item item
This represents the product that an attribute is tied to.
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
This is the primary key value for the product attribute.
-
idSpecified
protected boolean idSpecified
-
itemAttributeTypeId
@ApiProperty(canBeNullOrNotSet=true) protected Long itemAttributeTypeId
This is a foreign key value for the [[SoftLayer_Product_Item_Attribute_Type]].
-
itemAttributeTypeIdSpecified
protected boolean itemAttributeTypeIdSpecified
-
itemId
@ApiProperty(canBeNullOrNotSet=true) protected Long itemId
This is a foreign key value for the [[SoftLayer_Product_Item]].
-
itemIdSpecified
protected boolean itemIdSpecified
-
value
@ApiProperty(canBeNullOrNotSet=true) protected String value
This is the value for the attribute.
-
valueSpecified
protected boolean valueSpecified
-
-
Method Detail
-
getAttributeType
public Type getAttributeType()
-
setAttributeType
public void setAttributeType(Type attributeType)
-
getAttributeTypeKeyName
public String getAttributeTypeKeyName()
-
setAttributeTypeKeyName
public void setAttributeTypeKeyName(String attributeTypeKeyName)
-
getItem
public Item getItem()
-
setItem
public void setItem(Item item)
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getItemAttributeTypeId
public Long getItemAttributeTypeId()
-
setItemAttributeTypeId
public void setItemAttributeTypeId(Long itemAttributeTypeId)
-
isItemAttributeTypeIdSpecified
public boolean isItemAttributeTypeIdSpecified()
-
unsetItemAttributeTypeId
public void unsetItemAttributeTypeId()
-
getItemId
public Long getItemId()
-
setItemId
public void setItemId(Long itemId)
-
isItemIdSpecified
public boolean isItemIdSpecified()
-
unsetItemId
public void unsetItemId()
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
isValueSpecified
public boolean isValueSpecified()
-
unsetValue
public void unsetValue()
-
-