|
|||||||
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(String name,
String value,
Boolean replace)
Constructs a new ReplaceableAttribute object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getName()
The name of the replaceable attribute. |
Boolean |
getReplace()
A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. |
String |
getValue()
The value of the replaceable attribute. |
int |
hashCode()
|
Boolean |
isReplace()
A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. |
void |
setName(String name)
The name of the replaceable attribute. |
void |
setReplace(Boolean replace)
A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. |
void |
setValue(String value)
The value of the replaceable attribute. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReplaceableAttribute |
withName(String name)
The name of the replaceable attribute. |
ReplaceableAttribute |
withReplace(Boolean replace)
A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. |
ReplaceableAttribute |
withValue(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(String name, String value, 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 String getName()
public void setName(String name)
name
- The name of the replaceable attribute.public ReplaceableAttribute withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the replaceable attribute.
public String getValue()
public void setValue(String value)
value
- The value of the replaceable attribute.public ReplaceableAttribute withValue(String value)
Returns a reference to this object so that method calls can be chained together.
value
- The value of the replaceable attribute.
public Boolean isReplace()
false
.
false
.public void setReplace(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(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 Boolean getReplace()
false
.
false
.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 |