package org.jboss.media.entity;
import java.io.Serializable;
import java.net.URL;
public class MediaEntityDTO implements Serializable
{
private byte[] content;
private URL location;
private String description;
private String name;
private String mimeType;
public MediaEntityDTO()
{
}
public MediaEntityDTO(
byte[] content,
URL location,
String description,
String name,
String mimeType)
{
this.content = content;
this.location = location;
this.description = description;
this.name = name;
this.mimeType = mimeType;
}
public byte[] getContent()
{
return content;
}
public void setContent(byte[] content)
{
this.content = content;
}
public String getDescription()
{
return description;
}
public void setDescription(String description)
{
this.description = description;
}
public URL getLocation()
{
return location;
}
public void setLocation(URL location)
{
this.location = location;
}
public String getMimeType()
{
return mimeType;
}
public void setMimeType(String mimeType)
{
this.mimeType = mimeType;
}
public String getName()
{
return name;
}
public void setName(String name)
{
this.name = name;
}
}