
cn.lzgabel.bpmn.generator.internal.generated.model.TTextAnnotation Maven / Gradle / Ivy
//
// 此文件是由 JavaTM Architecture for XML Binding (JAXB) 引用实现 v2.3.2 生成的
// 请访问 https://javaee.github.io/jaxb-v2/
// 在重新编译源模式时, 对此文件的所有修改都将丢失。
// 生成时间: 2021.08.22 时间 07:53:54 PM CST
//
package cn.lzgabel.bpmn.generator.internal.generated.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;
/**
* tTextAnnotation complex type的 Java 类。
*
*
以下模式片段指定包含在此类中的预期内容。
*
*
* <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;
/**
* 获取text属性的值。
*
* @return
* possible object is
* {@link TText }
*
*/
public TText getText() {
return text;
}
/**
* 设置text属性的值。
*
* @param value
* allowed object is
* {@link TText }
*
*/
public void setText(TText value) {
this.text = value;
}
/**
* 获取textFormat属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getTextFormat() {
if (textFormat == null) {
return "text/plain";
} else {
return textFormat;
}
}
/**
* 设置textFormat属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTextFormat(String value) {
this.textFormat = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy