/* * Copyright 2014 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.04.07 at 04:43:56 PM EDT // package org.oasis_open.docs.s_ramp.ns.s_ramp_v1; import java.io.Serializable; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for DocumentArtifactType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="DocumentArtifactType"> * <complexContent> * <extension base="{http://docs.oasis-open.org/s-ramp/ns/s-ramp-v1.0}BaseArtifactType"> * <attribute name="contentType" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="contentSize" type="{http://www.w3.org/2001/XMLSchema}long" /> * <attribute name="contentHash" type="{http://www.w3.org/2001/XMLSchema}string" /> * <anyAttribute/> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DocumentArtifactType") @XmlSeeAlso({ Document.class, XmlDocument.class, ExtendedDocument.class }) public abstract class DocumentArtifactType extends BaseArtifactType implements Serializable { private static final long serialVersionUID = 3109880514447980145L; @XmlAttribute(name = "contentType") protected String contentType; @XmlAttribute(name = "contentSize") protected Long contentSize; @XmlAttribute(name = "contentHash") protected String contentHash; /** * Gets the value of the contentType property. * * @return * possible object is * {@link String } * */ public String getContentType() { return contentType; } /** * Sets the value of the contentType property. * * @param value * allowed object is * {@link String } * */ public void setContentType(String value) { this.contentType = value; } /** * Gets the value of the contentSize property. * * @return * possible object is * {@link Long } * */ public Long getContentSize() { return contentSize; } /** * Sets the value of the contentSize property. * * @param value * allowed object is * {@link Long } * */ public void setContentSize(Long value) { this.contentSize = value; } /** * Gets the value of the contentHash property. * * @return * possible object is * {@link String } * */ public String getContentHash() { return contentHash; } /** * Sets the value of the contentHash property. * * @param value * allowed object is * {@link String } * */ public void setContentHash(String value) { this.contentHash = value; } }