public class Part extends GenericModel
| Constructor and Description |
|---|
Part()
Instantiates a new part.
|
Part(String name,
String data,
String contentType)
Instantiates a new part.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
Gets the content type.
|
String |
getData()
Gets the data.
|
String |
getName()
Gets the name.
|
void |
setContentType(String contentType)
Sets the content type.
|
void |
setData(String data)
Sets the data.
|
void |
setName(String name)
Sets the name.
|
equals, hashCode, toStringpublic String getContentType()
public String getData()
public String getName()
public void setContentType(String contentType)
contentType - The content-typepublic void setData(String data)
data - The datapublic void setName(String name)
name - The nameCopyright © 2015–2016. All rights reserved.