/* * Copyright (C) 2013 Intel Corporation * All rights reserved. */ package com.intel.mtwilson.tag.model; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import com.intel.dcsg.cpg.validation.Regex; import com.intel.mtwilson.jaxrs2.Document; /** * * @author jbuhacoff */ @JacksonXmlRootElement(localName="file") public class File extends Document { private String name; private byte[] content; private String contentType; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getContentType() { return contentType; } public void setContentType(String contentType) { this.contentType = contentType; } public byte[] getContent() { return content; } public void setContent(byte[] content) { this.content = content; } }