blob: 25f8a91999306a77fb627457ed2800381ff2922b [file] [log] [blame]
/*
* Copyright (c) 2014, 2020 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 v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0,
* or the Eclipse Distribution License v. 1.0 which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
*/
// Contributors:
// Martin Vojtek - 2.6.0 - initial implementation
package org.eclipse.persistence.testing.perf.largexml.bigpo.core_component_types;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.XmlValue;
import jakarta.xml.bind.annotation.adapters.NormalizedStringAdapter;
import jakarta.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>
* &lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;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"&gt;&lt;ccts:ComponentType&gt;CCT&lt;/ccts:ComponentType&gt;&lt;ccts:DictionaryEntryName&gt;Binary Object. Type&lt;/ccts:DictionaryEntryName&gt;&lt;ccts:Definition&gt;A set of finite-length sequences of binary octets.&lt;/ccts:Definition&gt;&lt;ccts:ObjectClass&gt;Binary Object&lt;/ccts:ObjectClass&gt;&lt;ccts:PropertyTerm&gt;Type&lt;/ccts:PropertyTerm&gt;&lt;/ccts:Component&gt;
* </pre>
*
*
* <p>Java class for BinaryObjectType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="BinaryObjectType">
* &lt;simpleContent>
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>base64Binary">
* &lt;attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="filename" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="encodingCode" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
* &lt;attribute name="characterSetCode" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
* &lt;attribute name="mimeCode" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
* &lt;attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* &lt;/extension>
* &lt;/simpleContent>
* &lt;/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;
}
}