|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.simpledb.model.Item
public class Item
Constructor Summary | |
---|---|
Item()
Default constructor for a new Item object. |
|
Item(java.lang.String name,
java.util.List<Attribute> attributes)
Constructs a new Item object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAlternateNameEncoding()
|
java.util.List<Attribute> |
getAttributes()
A list of attributes. |
java.lang.String |
getName()
The name of the item. |
int |
hashCode()
|
void |
setAlternateNameEncoding(java.lang.String alternateNameEncoding)
|
void |
setAttributes(java.util.Collection<Attribute> attributes)
A list of attributes. |
void |
setName(java.lang.String name)
The name of the item. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Item |
withAlternateNameEncoding(java.lang.String alternateNameEncoding)
|
Item |
withAttributes(Attribute... attributes)
A list of attributes. |
Item |
withAttributes(java.util.Collection<Attribute> attributes)
A list of attributes. |
Item |
withName(java.lang.String name)
The name of the item. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Item()
public Item(java.lang.String name, java.util.List<Attribute> attributes)
name
- The name of the item.attributes
- A list of attributes.Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the item.public Item withName(java.lang.String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the item.
public java.lang.String getAlternateNameEncoding()
public void setAlternateNameEncoding(java.lang.String alternateNameEncoding)
alternateNameEncoding
- public Item withAlternateNameEncoding(java.lang.String alternateNameEncoding)
Returns a reference to this object so that method calls can be chained together.
alternateNameEncoding
-
public java.util.List<Attribute> getAttributes()
public void setAttributes(java.util.Collection<Attribute> attributes)
attributes
- A list of attributes.public Item withAttributes(Attribute... attributes)
Returns a reference to this object so that method calls can be chained together.
attributes
- A list of attributes.
public Item withAttributes(java.util.Collection<Attribute> attributes)
Returns a reference to this object so that method calls can be chained together.
attributes
- A list of attributes.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |