Package com.emc.d2fs.models.common
Class DataHandler
java.lang.Object
com.emc.d2fs.models.common.DataHandler
- All Implemented Interfaces:
Serializable
Java class for dataHandler complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="dataHandler">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="data" use="required" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
<attribute name="dataString" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="mime" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getData()Gets the value of the data property.Gets the value of the dataString property.getMime()Gets the value of the mime property.getName()Gets the value of the name property.voidsetData(byte[] value) Sets the value of the data property.voidsetDataString(String value) Sets the value of the dataString property.voidSets the value of the mime property.voidSets the value of the name property.
-
Constructor Details
-
DataHandler
public DataHandler()
-
-
Method Details
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getData
public byte[] getData()Gets the value of the data property.- Returns:
- possible object is byte[]
-
setData
public void setData(byte[] value) Sets the value of the data property.- Parameters:
value- allowed object is byte[]
-
getDataString
Gets the value of the dataString property.- Returns:
- possible object is
String
-
setDataString
Sets the value of the dataString property.- Parameters:
value- allowed object isString
-
getMime
Gets the value of the mime property.- Returns:
- possible object is
String
-
setMime
Sets the value of the mime property.- Parameters:
value- allowed object isString
-