📄 participant.java
字号:
package org.enhydra.shark.xpdl.elements;import org.enhydra.shark.xpdl.XMLAttribute;import org.enhydra.shark.xpdl.XMLCollectionElement;/** * Represents coresponding element from XPDL schema. * * @author Sasa Bojanic */public class Participant extends XMLCollectionElement { public Participant (Participants parent) { super(parent, true); } protected void fillStructure () { XMLAttribute attrName=new XMLAttribute(this,"Name", false); ParticipantType refParticipantType=new ParticipantType(this); Description refDescription=new Description(this); // min=0 ExternalReference refExternalReference=new ExternalReference(this, false); // min=0 ExtendedAttributes refExtendedAttributes=new ExtendedAttributes(this); // min=0 super.fillStructure(); add(attrName); add(refParticipantType); add(refDescription); add(refExternalReference); add(refExtendedAttributes); } public String getName() { return get("Name").toValue(); } public void setName(String name) { set("Name",name); } public String getDescription() { return get("Description").toValue(); } public void setDescription(String description) { set("Description",description); } public ExtendedAttributes getExtendedAttributes() { return (ExtendedAttributes)get("ExtendedAttributes"); } public ExternalReference getExternalReference() { return (ExternalReference)get("ExternalReference"); } public ParticipantType getParticipantType() { return (ParticipantType)get("ParticipantType"); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -