net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.beans
Interface Prop

All Known Implementing Classes:
PropImpl

public interface Prop

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">
       <choice maxOccurs="unbounded" minOccurs="0">
       </choice>
       <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 List<String> getContent()
          Gets the value of the content property.
 String getKey()
          Gets the value of the key property.
 void setKey(String value)
          Sets the value of the key property.
 

Method Detail

getContent

List<String> getContent()
Gets the value of the content property.

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 content property.

For example, to add a new item, do as follows:

    getContent().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getKey

String getKey()
Gets the value of the key property.

Returns:
possible object is String

setKey

void setKey(String value)
Sets the value of the key property.

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.