org.jclouds.softlayer.domain
Class ProductItemCategory

java.lang.Object
  extended by 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:

Nested Class Summary
static class ProductItemCategory.Builder
           
 
Constructor Summary
ProductItemCategory(int id, String name, String categoryCode)
           
 
Method Summary
static ProductItemCategory.Builder builder()
           
 int compareTo(ProductItemCategory arg0)
           
 boolean equals(Object obj)
           
 String getCategoryCode()
           
 int getId()
           
 String getName()
           
 int hashCode()
           
 ProductItemCategory.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProductItemCategory

public ProductItemCategory(int id,
                           String name,
                           String categoryCode)
Method Detail

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.