public class PackageReference extends Object
<complexType name="PackageReference">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
</choice>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
</choice>
</choice>
<attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
href |
protected Object |
idref |
protected String |
label |
protected String |
name |
protected List<String> |
names |
protected QName |
type |
protected String |
uuid |
protected String |
version |
protected List<String> |
versions |
| Constructor and Description |
|---|
PackageReference() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getName()
Gets the value of the name property.
|
List<String> |
getNames()
Gets the value of the names 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.
|
List<String> |
getVersions()
Gets the value of the versions 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 |
setName(String value)
Sets the value of the name 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 String name
protected QName type
protected String version
protected String href
protected Object idref
protected String label
protected String uuid
public List<String> getNames()
set method for the names property.
For example, to add a new item, do as follows:
getNames().add(newItem);Objects of the following type(s) are allowed in the list
Stringpublic List<String> getVersions()
set method for the versions property.
For example, to add a new item, do as follows:
getVersions().add(newItem);Objects of the following type(s) are allowed in the list
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is Stringpublic 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–2020 The Apache Software Foundation. All rights reserved.