public class AttributeValue extends Object implements Serializable
Represents the data for an attribute. You can set one, and only one, of the elements.
Constructor and Description |
---|
AttributeValue()
Default constructor for a new AttributeValue object.
|
AttributeValue(List<String> sS)
Constructs a new AttributeValue object.
|
AttributeValue(String s)
Constructs a new AttributeValue object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ByteBuffer |
getB()
A Binary data type
|
List<ByteBuffer> |
getBS()
A Binary set data type
|
String |
getN()
A Number data type
|
List<String> |
getNS()
Number set data type
|
String |
getS()
A String data type
|
List<String> |
getSS()
A String set data type
|
int |
hashCode() |
void |
setB(ByteBuffer b)
A Binary data type
|
void |
setBS(Collection<ByteBuffer> bS)
A Binary set data type
|
void |
setN(String n)
A Number data type
|
void |
setNS(Collection<String> nS)
Number set data type
|
void |
setS(String s)
A String data type
|
void |
setSS(Collection<String> sS)
A String set data type
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttributeValue |
withB(ByteBuffer b)
A Binary data type
|
AttributeValue |
withBS(ByteBuffer... bS)
A Binary set data type
|
AttributeValue |
withBS(Collection<ByteBuffer> bS)
A Binary set data type
|
AttributeValue |
withN(String n)
A Number data type
|
AttributeValue |
withNS(Collection<String> nS)
Number set data type
|
AttributeValue |
withNS(String... nS)
Number set data type
|
AttributeValue |
withS(String s)
A String data type
|
AttributeValue |
withSS(Collection<String> sS)
A String set data type
|
AttributeValue |
withSS(String... sS)
A String set data type
|
public AttributeValue()
public AttributeValue(String s)
s
- A String data typepublic String getS()
public void setS(String s)
s
- A String data typepublic AttributeValue withS(String s)
Returns a reference to this object so that method calls can be chained together.
s
- A String data typepublic String getN()
public void setN(String n)
n
- A Number data typepublic AttributeValue withN(String n)
Returns a reference to this object so that method calls can be chained together.
n
- A Number data typepublic ByteBuffer getB()
public void setB(ByteBuffer b)
b
- A Binary data typepublic AttributeValue withB(ByteBuffer b)
Returns a reference to this object so that method calls can be chained together.
b
- A Binary data typepublic void setSS(Collection<String> sS)
sS
- A String set data typepublic AttributeValue withSS(String... sS)
Returns a reference to this object so that method calls can be chained together.
sS
- A String set data typepublic AttributeValue withSS(Collection<String> sS)
Returns a reference to this object so that method calls can be chained together.
sS
- A String set data typepublic void setNS(Collection<String> nS)
nS
- Number set data typepublic AttributeValue withNS(String... nS)
Returns a reference to this object so that method calls can be chained together.
nS
- Number set data typepublic AttributeValue withNS(Collection<String> nS)
Returns a reference to this object so that method calls can be chained together.
nS
- Number set data typepublic List<ByteBuffer> getBS()
public void setBS(Collection<ByteBuffer> bS)
bS
- A Binary set data typepublic AttributeValue withBS(ByteBuffer... bS)
Returns a reference to this object so that method calls can be chained together.
bS
- A Binary set data typepublic AttributeValue withBS(Collection<ByteBuffer> bS)
Returns a reference to this object so that method calls can be chained together.
bS
- A Binary set data typepublic String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.