/*******************************************************************************
* Copyright (c) 2014, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
* which accompanies this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* Contributors:
* Martin Vojtek - 2.6.0 - initial implementation
******************************************************************************/
package org.eclipse.persistence.testing.perf.largexml.bigpo.core_component_types;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.eclipse.persistence.testing.perf.largexml.bigpo.unspecialized_data_types.GraphicType;
import org.eclipse.persistence.testing.perf.largexml.bigpo.unspecialized_data_types.PictureType;
import org.eclipse.persistence.testing.perf.largexml.bigpo.unspecialized_data_types.SoundType;
import org.eclipse.persistence.testing.perf.largexml.bigpo.unspecialized_data_types.VideoType;
/**
*
* <pre>
* <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentTypes-1.0" xmlns:cct="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentTypes-1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>CCT</ccts:ComponentType><ccts:DictionaryEntryName>Binary Object. Type</ccts:DictionaryEntryName><ccts:Definition>A set of finite-length sequences of binary octets.</ccts:Definition><ccts:ObjectClass>Binary Object</ccts:ObjectClass><ccts:PropertyTerm>Type</ccts:PropertyTerm></ccts:Component>
* </pre>
*
*
* <p>Java class for BinaryObjectType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="BinaryObjectType">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary">
* <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="filename" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="encodingCode" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
* <attribute name="characterSetCode" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
* <attribute name="mimeCode" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
* <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BinaryObjectType", propOrder = {
"value"
})
@XmlSeeAlso({
VideoType.class,
GraphicType.class,
SoundType.class,
org.eclipse.persistence.testing.perf.largexml.bigpo.unspecialized_data_types.BinaryObjectType.class,
PictureType.class
})
public class BinaryObjectType {
@XmlValue
protected byte[] value;
@XmlAttribute(name = "format")
protected String format;
@XmlAttribute(name = "filename")
protected String filename;
@XmlAttribute(name = "encodingCode")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected String encodingCode;
@XmlAttribute(name = "characterSetCode")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected String characterSetCode;
@XmlAttribute(name = "mimeCode")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected String mimeCode;
@XmlAttribute(name = "URI")
@XmlSchemaType(name = "anyURI")
protected String uri;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* byte[]
*/
public void setValue(byte[] value) {
this.value = ((byte[]) value);
}
/**
* Gets the value of the format property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFormat() {
return format;
}
/**
* Sets the value of the format property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFormat(String value) {
this.format = value;
}
/**
* Gets the value of the filename property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFilename() {
return filename;
}
/**
* Sets the value of the filename property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFilename(String value) {
this.filename = value;
}
/**
* Gets the value of the encodingCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEncodingCode() {
return encodingCode;
}
/**
* Sets the value of the encodingCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEncodingCode(String value) {
this.encodingCode = value;
}
/**
* Gets the value of the characterSetCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCharacterSetCode() {
return characterSetCode;
}
/**
* Sets the value of the characterSetCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCharacterSetCode(String value) {
this.characterSetCode = value;
}
/**
* Gets the value of the mimeCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMimeCode() {
return mimeCode;
}
/**
* Sets the value of the mimeCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMimeCode(String value) {
this.mimeCode = value;
}
/**
* Gets the value of the uri property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getURI() {
return uri;
}
/**
* Sets the value of the uri property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setURI(String value) {
this.uri = value;
}
}