org.omg.spec.bpmn.model.TTextAnnotation Maven / Gradle / Ivy
The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.10.05 at 10:10:30 AM UTC
//
package org.omg.spec.bpmn.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for tTextAnnotation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="tTextAnnotation">
* <complexContent>
* <extension base="{http://www.omg.org/spec/BPMN/20100524/MODEL}tArtifact">
* <sequence>
* <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}text" minOccurs="0"/>
* </sequence>
* <attribute name="textFormat" type="{http://www.w3.org/2001/XMLSchema}string" default="text/plain" />
* <anyAttribute processContents='lax' namespace='##other'/>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "tTextAnnotation", propOrder = {
"text"
})
public class TTextAnnotation
extends TArtifact
{
protected TText text;
@XmlAttribute(name = "textFormat")
protected String textFormat;
/**
* Gets the value of the text property.
*
* @return
* possible object is
* {@link TText }
*
*/
public TText getText() {
return text;
}
/**
* Sets the value of the text property.
*
* @param value
* allowed object is
* {@link TText }
*
*/
public void setText(TText value) {
this.text = value;
}
/**
* Gets the value of the textFormat property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTextFormat() {
if (textFormat == null) {
return "text/plain";
} else {
return textFormat;
}
}
/**
* Sets the value of the textFormat property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTextFormat(String value) {
this.textFormat = value;
}
}