com.xerox.amazonws.ec2
Class ProductCodesAttribute

java.lang.Object
  extended by com.xerox.amazonws.ec2.ImageAttribute
      extended by com.xerox.amazonws.ec2.ImageListAttribute
          extended by com.xerox.amazonws.ec2.ProductCodesAttribute

public class ProductCodesAttribute
extends ImageListAttribute

Attribute class for the productCodes attribute type.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.xerox.amazonws.ec2.ImageListAttribute
ImageListAttribute.ImageListAttributeItemType
 
Nested classes/interfaces inherited from class com.xerox.amazonws.ec2.ImageAttribute
ImageAttribute.ImageAttributeType
 
Constructor Summary
ProductCodesAttribute()
           
 
Method Summary
 boolean itemTypeCompatible(ImageListAttribute.ImageListAttributeItemType type)
          Indicates if the list attribute may contain items of the given type.
 
Methods inherited from class com.xerox.amazonws.ec2.ImageListAttribute
addImageListAttributeItem, getImageListAttributeItems
 
Methods inherited from class com.xerox.amazonws.ec2.ImageAttribute
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductCodesAttribute

public ProductCodesAttribute()
Method Detail

itemTypeCompatible

public boolean itemTypeCompatible(ImageListAttribute.ImageListAttributeItemType type)
Description copied from class: ImageListAttribute
Indicates if the list attribute may contain items of the given type.

Specified by:
itemTypeCompatible in class ImageListAttribute
Parameters:
type - The list item type to test if membership is valid for this list attribute.
Returns:
true if the item type is admissable, false otherwise