public class Generalization extends Relationship
Java class for Generalization complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Generalization"> <complexContent> <extension base="{http://www.miuml.org/metamodel}Relationship"> <sequence> <element name="SpecializedClass" type="{http://www.miuml.org/metamodel}Named" maxOccurs="unbounded" minOccurs="2"/> </sequence> <attribute name="Superclass" use="required" type="{http://www.miuml.org/metamodel}Name" /> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Named> |
specializedClass |
protected String |
superclass |
rnum
Constructor and Description |
---|
Generalization() |
Modifier and Type | Method and Description |
---|---|
List<Named> |
getSpecializedClass()
Gets the value of the specializedClass property.
|
String |
getSuperclass()
Gets the value of the superclass property.
|
void |
setSuperclass(String value)
Sets the value of the superclass property.
|
getRnum, setRnum
getElement, setElement
protected String superclass
public List<Named> getSpecializedClass()
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 specializedClass property.
For example, to add a new item, do as follows:
getSpecializedClass().add(newItem);
Objects of the following type(s) are allowed in the list
Named
public String getSuperclass()
String
Copyright © 2012–2022. All rights reserved.