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

com.jeesuite.cos.CObjectMetadata Maven / Gradle / Ivy

The newest version!
package com.jeesuite.cos;

import java.util.Date;
import java.util.Map;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 
 * 
* Class Name : ObjectMetadata * * @author jiangwei * @version 1.0.0 * @date 2017年1月7日 */ public class CObjectMetadata { private long filesize; private String hash; private Date createTime; private String mimeType; private Date expirationTime; private Map customMetadatas; /** * @return the filesize */ public long getFilesize() { return filesize; } /** * @param filesize the filesize to set */ public void setFilesize(long filesize) { this.filesize = filesize; } /** * @return the hash */ public String getHash() { return hash; } /** * @param hash the hash to set */ public void setHash(String hash) { this.hash = hash; } /** * @return the createTime */ public Date getCreateTime() { return createTime; } /** * @param createTime the createTime to set */ public void setCreateTime(Date createTime) { this.createTime = createTime; } /** * @return the mimeType */ public String getMimeType() { return mimeType; } /** * @param mimeType the mimeType to set */ public void setMimeType(String mimeType) { this.mimeType = mimeType; } /** * @return the expirationTime */ public Date getExpirationTime() { return expirationTime; } /** * @param expirationTime the expirationTime to set */ public void setExpirationTime(Date expirationTime) { this.expirationTime = expirationTime; } /** * @return the customMetadatas */ public Map getCustomMetadatas() { return customMetadatas; } /** * @param customMetadatas the customMetadatas to set */ public void setCustomMetadatas(Map customMetadatas) { this.customMetadatas = customMetadatas; } @Override public String toString() { return ToStringBuilder.reflectionToString(this,ToStringStyle.JSON_STYLE); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy