001    package org.tynamo.blob;
002    
003    import org.tynamo.descriptor.extension.TynamoBlob;
004    
005    public class TynamoBlobImpl implements TynamoBlob
006    {
007            private static final long serialVersionUID = 283361091832362230L;
008    
009            private String fileName;
010            private String filePath;
011            private String contentType;
012            private byte[] bytes;
013    
014            public String getFileName()
015            {
016                    return fileName;
017            }
018    
019            public void setFileName(String fileName)
020            {
021                    this.fileName = fileName;
022            }
023    
024            public String getFilePath()
025            {
026                    return filePath;
027            }
028    
029            public void setFilePath(String filePath)
030            {
031                    this.filePath = filePath;
032            }
033    
034            public String getContentType()
035            {
036                    return contentType;
037            }
038    
039            public void setContentType(String contentType)
040            {
041                    this.contentType = contentType;
042            }
043    
044            public byte[] getBytes()
045            {
046                    return bytes;
047            }
048    
049            public void setBytes(byte[] bytes)
050            {
051                    this.bytes = bytes;
052            }
053    
054            public void reset()
055            {
056                    fileName = null;
057                    filePath = null;
058                    contentType = null;
059                    bytes = null;
060            }
061    }