public abstract class DiagramElement extends Object
DiagramElement complex type的 Java 类。
以下模式片段指定包含在此类中的预期内容。
<complexType name="DiagramElement">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="extension" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
<anyAttribute processContents='lax' namespace='##other'/>
</restriction>
</complexContent>
</complexType>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DiagramElement.Extension
anonymous complex type的 Java 类。
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected DiagramElement.Extension |
extension |
protected String |
id |
| 构造器和说明 |
|---|
DiagramElement() |
| 限定符和类型 | 方法和说明 |
|---|---|
DiagramElement.Extension |
getExtension()
获取extension属性的值。
|
String |
getId()
获取id属性的值。
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
void |
setExtension(DiagramElement.Extension value)
设置extension属性的值。
|
void |
setId(String value)
设置id属性的值。
|
protected DiagramElement.Extension extension
protected String id
public DiagramElement.Extension getExtension()
DiagramElement.Extensionpublic void setExtension(DiagramElement.Extension value)
value - allowed object is
DiagramElement.Extensionpublic Map<QName,String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
Copyright © 2022. All rights reserved.