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

org.duracloud.snapshot.service.impl.ContentProperties Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
/*
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 *     http://duracloud.org/license/
 */
package org.duracloud.snapshot.service.impl;

import java.util.Map;

import org.apache.commons.lang3.builder.ToStringBuilder;
/**
 * 
 * @author Daniel Bernstein
 *         Date: Aug 26, 2014
 */
public class ContentProperties {
    private String contentId;
    private Map properties;

    /**
     * @param contentId
     * @param properties
     */
    public ContentProperties(
        String contentId, Map properties) {
        super();
        this.contentId = contentId;
        this.properties = properties;
    }

    /**
     * @return the contentId
     */
    public String getContentId() {
        return contentId;
    }

    /**
     * @return the properties
     */
    public Map getProperties() {
        return properties;
    }
    
    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy