net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.beans
Interface ListOrSetType

All Superinterfaces:
CollectionType
All Known Subinterfaces:
List, List, Set, Set
All Known Implementing Classes:
ListImpl, ListImpl, ListOrSetTypeImpl, SetImpl, SetImpl

public interface ListOrSetType
extends CollectionType

Java class for listOrSetType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="listOrSetType">
   <complexContent>
     <extension base="{http://www.springframework.org/schema/beans}collectionType">
       <group ref="{http://www.springframework.org/schema/beans}collectionElements"/>
     </extension>
   </complexContent>
 </complexType>
 


Method Summary
 List<Object> getBeanOrRefOrIdref()
          Gets the value of the beanOrRefOrIdref property.
 Description getDescription()
          Gets the value of the description property.
 void setDescription(Description value)
          Sets the value of the description property.
 
Methods inherited from interface net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.beans.CollectionType
getValueType, setValueType
 

Method Detail

getDescription

Description getDescription()
Gets the value of the description property.

Returns:
possible object is Description

setDescription

void setDescription(Description value)
Sets the value of the description property.

Parameters:
value - allowed object is Description

getBeanOrRefOrIdref

List<Object> getBeanOrRefOrIdref()
Gets the value of the beanOrRefOrIdref 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 beanOrRefOrIdref property.

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

    getBeanOrRefOrIdref().add(newItem);
 

Objects of the following type(s) are allowed in the list Object Idref Value Map Null Ref List Props Bean Set



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