public class Attachment extends Object implements Serializable
| Constructor and Description |
|---|
Attachment() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ByteBuffer |
getData()
Returns the value of the Data property for this object.
|
String |
getFileName()
Returns the value of the FileName property for this object.
|
int |
hashCode() |
void |
setData(ByteBuffer data)
Sets the value of the Data property for this object.
|
void |
setFileName(String fileName)
Sets the value of the FileName property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Attachment |
withData(ByteBuffer data)
Sets the value of the Data property for this object.
|
Attachment |
withFileName(String fileName)
Sets the value of the FileName property for this object.
|
public String getFileName()
public void setFileName(String fileName)
fileName - The new value for the FileName property for this object.public Attachment withFileName(String fileName)
Returns a reference to this object so that method calls can be chained together.
fileName - The new value for the FileName property for this object.public ByteBuffer getData()
public void setData(ByteBuffer data)
data - The new value for the Data property for this object.public Attachment withData(ByteBuffer data)
Returns a reference to this object so that method calls can be chained together.
data - The new value for the Data property for this object.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.