|
|||||||
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(String name,
List<Attribute> attributes)
Constructs a new Item object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAlternateNameEncoding()
|
List<Attribute> |
getAttributes()
A list of attributes. |
String |
getName()
The name of the item. |
int |
hashCode()
|
void |
setAlternateNameEncoding(String alternateNameEncoding)
|
void |
setAttributes(Collection<Attribute> attributes)
A list of attributes. |
void |
setName(String name)
The name of the item. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Item |
withAlternateNameEncoding(String alternateNameEncoding)
Returns a reference to this object so that method calls can be chained together. |
Item |
withAttributes(Attribute... attributes)
A list of attributes. |
Item |
withAttributes(Collection<Attribute> attributes)
A list of attributes. |
Item |
withName(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(String name, List<Attribute> attributes)
name
- The name of the item.attributes
- A list of attributes.Method Detail |
---|
public String getName()
public void setName(String name)
name
- The name of the item.public Item withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the item.
public String getAlternateNameEncoding()
public void setAlternateNameEncoding(String alternateNameEncoding)
alternateNameEncoding
- public Item withAlternateNameEncoding(String alternateNameEncoding)
Returns a reference to this object so that method calls can be chained together.
alternateNameEncoding
-
public List<Attribute> getAttributes()
public void setAttributes(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(Collection<Attribute> attributes)
Returns a reference to this object so that method calls can be chained together.
attributes
- A list of attributes.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |