All Downloads are FREE. Search and download functionalities are using the official Maven repository.

annis.service.objects.AnnisBinaryMetaData Maven / Gradle / Ivy

There is a newer version: 4.0.0-beta.4
Show newest version
package annis.service.objects;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

/**
 * Provides the meta data of a binary file.
 *
 * @author Benjamin Weißenfels 
 */
@XmlRootElement
public class AnnisBinaryMetaData implements Serializable
{

  private String localFileName;
  private String mimeType;
  private String fileName;
  private int length;

  public String getMimeType()
  {
    return mimeType;
  }

  public void setMimeType(String mimeType)
  {
    this.mimeType = mimeType;
  }

  public String getFileName()
  {
    return fileName;
  }

  public void setFileName(String fileName)
  {
    this.fileName = fileName;
  }

  public int getLength()
  {
    return length;
  }

  public void setLength(int length)
  {
    this.length = length;
  }

  @XmlTransient
  public String getLocalFileName()
  {
    return localFileName;
  }

  public void setLocalFileName(String localFileName)
  {
    this.localFileName = localFileName;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy