org.jclouds.softlayer.domain
Class ProductItemCategory
java.lang.Object
org.jclouds.softlayer.domain.ProductItemCategory
- All Implemented Interfaces:
- Comparable<ProductItemCategory>
public class ProductItemCategory
- extends Object
- implements Comparable<ProductItemCategory>
The SoftLayer_Product_Item_Category data type contains
general category information for prices.
- Author:
- Jason King
- See Also:
ProductItemCategory
public ProductItemCategory(int id,
String name,
String categoryCode)
builder
public static ProductItemCategory.Builder builder()
compareTo
public int compareTo(ProductItemCategory arg0)
- Specified by:
compareTo
in interface Comparable<ProductItemCategory>
getId
public int getId()
- Returns:
- The unique identifier of a specific location.
getName
public String getName()
- Returns:
- The friendly, descriptive name of the category as seen on the order forms and on invoices.
getCategoryCode
public String getCategoryCode()
- Returns:
- The code used to identify this category.
toBuilder
public ProductItemCategory.Builder toBuilder()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.