public class KeyBag extends Object implements Serializable
Java class for keyBag complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="keyBag"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="key" type="{urn:uddi-org:api_v3}uddiKey" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
KeyBag() |
public List<String> getKey()
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 key property.
For example, to add a new item, do as follows:
getKey().add(newItem);
Objects of the following type(s) are allowed in the list
String
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.