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