public abstract class DiagramElement extends Object
Java class for DiagramElement complex type.
The following schema fragment specifies the expected content contained within this class.
<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 processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element ref="{http://www.omg.org/spec/CMMN/20151109/DI}Style" minOccurs="0"/>
</sequence>
<attribute name="sharedStyle" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
<anyAttribute processContents='lax' namespace='##other'/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
DiagramElement.Extension
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected DiagramElement.Extension |
extension |
protected String |
id |
protected Object |
sharedStyle |
protected Style |
style |
| Constructor and Description |
|---|
DiagramElement() |
| Modifier and Type | Method and Description |
|---|---|
DiagramElement.Extension |
getExtension()
Gets the value of the extension property.
|
String |
getId()
Gets the value of the id property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
Object |
getSharedStyle()
Gets the value of the sharedStyle property.
|
Style |
getStyle()
an optional locally-owned style for this diagram element.
|
void |
setExtension(DiagramElement.Extension value)
Sets the value of the extension property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setSharedStyle(Object value)
Sets the value of the sharedStyle property.
|
void |
setStyle(Style value)
Sets the value of the style property.
|
protected DiagramElement.Extension extension
protected Style style
protected Object sharedStyle
@XStreamAsAttribute protected String id
public DiagramElement.Extension getExtension()
DiagramElement.Extensionpublic void setExtension(DiagramElement.Extension value)
value - allowed object is
DiagramElement.Extensionpublic Style getStyle()
Stylepublic void setStyle(Style value)
value - allowed object is
Stylepublic Object getSharedStyle()
Objectpublic void setSharedStyle(Object value)
value - allowed object is
Objectpublic void setId(String value)
value - allowed object is
Stringpublic 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 © 2001–2018 JBoss by Red Hat. All rights reserved.