All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.lzgabel.bpmn.generator.internal.generated.model.TRelationship Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
//
// 此文件是由 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 java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;


/**
 * 

tRelationship complex type的 Java 类。 * *

以下模式片段指定包含在此类中的预期内容。 * *

 * <complexType name="tRelationship">
 *   <complexContent>
 *     <extension base="{http://www.omg.org/spec/BPMN/20100524/MODEL}tBaseElement">
 *       <sequence>
 *         <element name="source" type="{http://www.w3.org/2001/XMLSchema}QName" maxOccurs="unbounded"/>
 *         <element name="target" type="{http://www.w3.org/2001/XMLSchema}QName" maxOccurs="unbounded"/>
 *       </sequence>
 *       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="direction" type="{http://www.omg.org/spec/BPMN/20100524/MODEL}tRelationshipDirection" />
 *       <anyAttribute processContents='lax' namespace='##other'/>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "tRelationship", propOrder = { "source", "target" }) public class TRelationship extends TBaseElement { @XmlElement(required = true) protected List source; @XmlElement(required = true) protected List target; @XmlAttribute(name = "type", required = true) protected String type; @XmlAttribute(name = "direction") protected TRelationshipDirection direction; /** * Gets the value of the source property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the source property. * *

* For example, to add a new item, do as follows: *

     *    getSource().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link QName } * * */ public List getSource() { if (source == null) { source = new ArrayList(); } return this.source; } /** * Gets the value of the target property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the target property. * *

* For example, to add a new item, do as follows: *

     *    getTarget().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link QName } * * */ public List getTarget() { if (target == null) { target = new ArrayList(); } return this.target; } /** * 获取type属性的值。 * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * 设置type属性的值。 * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * 获取direction属性的值。 * * @return * possible object is * {@link TRelationshipDirection } * */ public TRelationshipDirection getDirection() { return direction; } /** * 设置direction属性的值。 * * @param value * allowed object is * {@link TRelationshipDirection } * */ public void setDirection(TRelationshipDirection value) { this.direction = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy