|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.simpledb.model.Attribute
public class Attribute
Constructor Summary | |
---|---|
Attribute()
Default constructor for a new Attribute object. |
|
Attribute(String name,
String value)
Constructs a new Attribute object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAlternateNameEncoding()
|
String |
getAlternateValueEncoding()
|
String |
getName()
The name of the attribute. |
String |
getValue()
The value of the attribute. |
int |
hashCode()
|
void |
setAlternateNameEncoding(String alternateNameEncoding)
|
void |
setAlternateValueEncoding(String alternateValueEncoding)
|
void |
setName(String name)
The name of the attribute. |
void |
setValue(String value)
The value of the attribute. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Attribute |
withAlternateNameEncoding(String alternateNameEncoding)
Returns a reference to this object so that method calls can be chained together. |
Attribute |
withAlternateValueEncoding(String alternateValueEncoding)
Returns a reference to this object so that method calls can be chained together. |
Attribute |
withName(String name)
The name of the attribute. |
Attribute |
withValue(String value)
The value of the attribute. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Attribute()
public Attribute(String name, String value)
name
- The name of the attribute.value
- The value of the attribute.Method Detail |
---|
public String getName()
public void setName(String name)
name
- The name of the attribute.public Attribute withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the attribute.
public String getAlternateNameEncoding()
public void setAlternateNameEncoding(String alternateNameEncoding)
alternateNameEncoding
- public Attribute withAlternateNameEncoding(String alternateNameEncoding)
Returns a reference to this object so that method calls can be chained together.
alternateNameEncoding
-
public String getValue()
public void setValue(String value)
value
- The value of the attribute.public Attribute withValue(String value)
Returns a reference to this object so that method calls can be chained together.
value
- The value of the attribute.
public String getAlternateValueEncoding()
public void setAlternateValueEncoding(String alternateValueEncoding)
alternateValueEncoding
- public Attribute withAlternateValueEncoding(String alternateValueEncoding)
Returns a reference to this object so that method calls can be chained together.
alternateValueEncoding
-
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 |