public class XMI extends Object
<complexType name="XMI">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded" minOccurs="0">
<any/>
</choice>
<attGroup ref="{http://www.omg.org/XMI}LinkAttribs"/>
<attGroup ref="{http://www.omg.org/XMI}IdentityAttribs"/>
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}QName" />
<attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="2.0" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
elements |
protected String |
href |
protected Object |
idref |
protected String |
label |
protected QName |
type |
protected String |
uuid |
protected String |
version |
| Constructor and Description |
|---|
XMI() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getElements()
Gets the value of the elements property.
|
String |
getHref()
Gets the value of the href property.
|
Object |
getIdref()
Gets the value of the idref property.
|
String |
getLabel()
Gets the value of the label property.
|
QName |
getType()
Gets the value of the type property.
|
String |
getUuid()
Gets the value of the uuid property.
|
String |
getVersion()
Gets the value of the version property.
|
void |
setHref(String value)
Sets the value of the href property.
|
void |
setIdref(Object value)
Sets the value of the idref property.
|
void |
setLabel(String value)
Sets the value of the label property.
|
void |
setType(QName value)
Sets the value of the type property.
|
void |
setUuid(String value)
Sets the value of the uuid property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
protected QName type
protected String version
protected String href
protected Object idref
protected String label
protected String uuid
public List<Object> getElements()
set method for the elements property.
For example, to add a new item, do as follows:
getElements().add(newItem);Objects of the following type(s) are allowed in the list
Objectpublic QName getType()
QNamepublic void setType(QName value)
value - allowed object is QNamepublic String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is Stringpublic String getHref()
Stringpublic void setHref(String value)
value - allowed object is Stringpublic Object getIdref()
Objectpublic void setIdref(Object value)
value - allowed object is Objectpublic String getLabel()
Stringpublic void setLabel(String value)
value - allowed object is Stringpublic String getUuid()
StringCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.