|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.simpledb.model.ReplaceableAttribute
public class ReplaceableAttribute
Constructor Summary | |
---|---|
ReplaceableAttribute()
Default constructor for a new ReplaceableAttribute object. |
|
ReplaceableAttribute(java.lang.String name,
java.lang.String value,
java.lang.Boolean replace)
Constructs a new ReplaceableAttribute object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
The name of the replaceable attribute. |
java.lang.Boolean |
getReplace()
A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. |
java.lang.String |
getValue()
The value of the replaceable attribute. |
int |
hashCode()
|
java.lang.Boolean |
isReplace()
A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. |
void |
setName(java.lang.String name)
The name of the replaceable attribute. |
void |
setReplace(java.lang.Boolean replace)
A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. |
void |
setValue(java.lang.String value)
The value of the replaceable attribute. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReplaceableAttribute |
withName(java.lang.String name)
The name of the replaceable attribute. |
ReplaceableAttribute |
withReplace(java.lang.Boolean replace)
A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. |
ReplaceableAttribute |
withValue(java.lang.String value)
The value of the replaceable attribute. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReplaceableAttribute()
public ReplaceableAttribute(java.lang.String name, java.lang.String value, java.lang.Boolean replace)
name
- The name of the replaceable attribute.value
- The value of the replaceable attribute.replace
- A flag specifying whether or not to replace the
attribute/value pair or to add a new attribute/value pair. The default
setting is false
.Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the replaceable attribute.public ReplaceableAttribute withName(java.lang.String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the replaceable attribute.
public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- The value of the replaceable attribute.public ReplaceableAttribute withValue(java.lang.String value)
Returns a reference to this object so that method calls can be chained together.
value
- The value of the replaceable attribute.
public java.lang.Boolean isReplace()
false
.
false
.public void setReplace(java.lang.Boolean replace)
false
.
replace
- A flag specifying whether or not to replace the attribute/value pair
or to add a new attribute/value pair. The default setting is
false
.public ReplaceableAttribute withReplace(java.lang.Boolean replace)
false
.
Returns a reference to this object so that method calls can be chained together.
replace
- A flag specifying whether or not to replace the attribute/value pair
or to add a new attribute/value pair. The default setting is
false
.
public java.lang.Boolean getReplace()
false
.
false
.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 |