public class PackageReference extends Object
Java class for PackageReference complex type.
The following schema fragment specifies the expected content contained within this class.
<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()
This accessor method returns a reference to the live list, not a
snapshot. Therefore any modification you make to the returned list will
be present inside the JAXB object. This is why there is not a
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 String
public List<String> getVersions()
This accessor method returns a reference to the live list, not a
snapshot. Therefore any modification you make to the returned list will
be present inside the JAXB object. This is why there is not a
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 String
public 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-2014 The Apache Software Foundation. All Rights Reserved.