public class Attribute extends Object
Java class for Attribute complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Attribute"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Identifier" type="{http://www.miuml.org/metamodel}IdentifierAttribute" maxOccurs="unbounded" minOccurs="0"/> <element name="Extension" type="{http://www.miuml.org/metamodel}Extension" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Name" use="required" type="{http://www.miuml.org/metamodel}Name" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Extension> |
extension |
protected List<IdentifierAttribute> |
identifier |
protected String |
name |
Constructor and Description |
---|
Attribute() |
Modifier and Type | Method and Description |
---|---|
List<Extension> |
getExtension()
Gets the value of the extension property.
|
List<IdentifierAttribute> |
getIdentifier()
Gets the value of the identifier property.
|
String |
getName()
Gets the value of the name property.
|
void |
setName(String value)
Sets the value of the name property.
|
protected List<IdentifierAttribute> identifier
protected String name
public List<IdentifierAttribute> getIdentifier()
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 Jakarta XML Binding object.
This is why there is not a set
method for the identifier property.
For example, to add a new item, do as follows:
getIdentifier().add(newItem);
Objects of the following type(s) are allowed in the list
IdentifierAttribute
public List<Extension> getExtension()
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 Jakarta XML Binding object.
This is why there is not a set
method for the extension property.
For example, to add a new item, do as follows:
getExtension().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
public String getName()
String
Copyright © 2012–2022. All rights reserved.