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

org.yestech.publish.objectmodel.IFileArtifactMetaData Maven / Gradle / Ivy

Go to download

Framework to publish ascii or binary data to different sources. Currently Episodic, Bitgravity, Local, Cloudfs, and S3 are supported

There is a newer version: 1.1.0
Show newest version
/*
 * Copyright LGPL3
 * YES Technology Association
 * http://yestech.org
 *
 * http://www.opensource.org/licenses/lgpl-3.0.html
 */

/*
 *
 * Author:  Artie Copeland
 * Last Modified Date: $DateTime: $
 */
package org.yestech.publish.objectmodel;

import org.yestech.lib.util.Pair;

/**
 * @author Artie Copeland
 * @version $Revision: $
 */
public interface IFileArtifactMetaData extends IArtifactMetaData {

    String getMimeType();

    void setMimeType(String mimeType);

    String getFileName();

    void setFileName(String fileName);

    long getSize();

    void setSize(long size);

    void setLocation(String location);

    String getLocation();

    /**
     * Returns the Path, FileName pair
     *
     * @return the pair
     */
    Pair getUniqueNames();

    /**
     * Sets the Path, FileName pair
     *
     * @param uniqueNames first val - path, second val - filename
     */
    void setUniqueNames(Pair uniqueNames);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy