public class CompAttrib extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://xmlns.opennms.org/xsd/config/jmx-datacollection}comp-member" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="alias" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <pattern value="[Cc](omposite|OMPOSITE)"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
alias |
protected List<CompMember> |
compMember |
protected String |
name |
protected String |
type |
Constructor and Description |
---|
CompAttrib() |
Modifier and Type | Method and Description |
---|---|
String |
getAlias()
Gets the value of the alias property.
|
List<CompMember> |
getCompMember()
Gets the value of the compMember property.
|
String |
getName()
Gets the value of the name property.
|
String |
getType()
Gets the value of the type property.
|
void |
setAlias(String value)
Sets the value of the alias property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setType(String value)
Sets the value of the type property.
|
protected List<CompMember> compMember
protected String name
protected String alias
protected String type
public List<CompMember> getCompMember()
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 compMember property.
For example, to add a new item, do as follows:
getCompMember().add(newItem);
Objects of the following type(s) are allowed in the list
CompMember
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getAlias()
String
public void setAlias(String value)
value
- allowed object is
String
public String getType()
String
Copyright © 2017. All rights reserved.