Class Item
java.lang.Object
com.amazonaws.services.simpledb.model.Item
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of attributes.getName()
The name of the item.int
hashCode()
void
setAlternateNameEncoding
(String alternateNameEncoding) void
setAttributes
(Collection<Attribute> attributes) A list of attributes.void
The name of the item.toString()
Returns a string representation of this object; useful for testing and debugging.withAlternateNameEncoding
(String alternateNameEncoding) withAttributes
(Attribute... attributes) A list of attributes.withAttributes
(Collection<Attribute> attributes) A list of attributes.The name of the item.
-
Constructor Details
-
Item
public Item()Default constructor for Item object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
Item
Constructs a new Item object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
name
- The name of the item.attributes
- A list of attributes.
-
-
Method Details
-
setName
The name of the item.- Parameters:
name
- The name of the item.
-
getName
The name of the item.- Returns:
- The name of the item.
-
withName
The name of the item.- Parameters:
name
- The name of the item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAlternateNameEncoding
- Parameters:
alternateNameEncoding
-
-
getAlternateNameEncoding
- Returns:
-
withAlternateNameEncoding
- Parameters:
alternateNameEncoding
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttributes
A list of attributes.- Returns:
- A list of attributes.
-
setAttributes
A list of attributes.- Parameters:
attributes
- A list of attributes.
-
withAttributes
A list of attributes.NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
orwithAttributes(java.util.Collection)
if you want to override the existing values.- Parameters:
attributes
- A list of attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttributes
A list of attributes.- Parameters:
attributes
- A list of attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-