net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.spring.beans
Class MapType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.spring.beans.CollectionType
      extended by net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.spring.beans.MapType
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
Map, Map

public class MapType
extends CollectionType
implements Serializable, Cloneable

Java class for mapType complex type.

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

 <complexType name="mapType">
   <complexContent>
     <extension base="{http://www.springframework.org/schema/beans}collectionType">
       <sequence>
         <element ref="{http://www.springframework.org/schema/beans}description" minOccurs="0"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element ref="{http://www.springframework.org/schema/beans}entry"/>
         </choice>
       </sequence>
       <attribute name="key-type" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Description description
           
protected  List<EntryType> entry
           
protected  String keyType
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.spring.beans.CollectionType
valueType
 
Constructor Summary
MapType()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.spring.beans.MapType instance.
MapType(MapType o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.spring.beans.MapType instance by copying a given instance.
 
Method Summary
 MapType clone()
          Creates and returns a copy of this object.
 Description getDescription()
          Gets the value of the description property.
 List<EntryType> getEntry()
          Gets the value of the entry property.
 String getKeyType()
          Gets the value of the keyType property.
 void setDescription(Description value)
          Sets the value of the description property.
 void setKeyType(String value)
          Sets the value of the keyType property.
 
Methods inherited from class net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.spring.beans.CollectionType
getValueType, setValueType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected Description description

entry

protected List<EntryType> entry

keyType

protected String keyType
Constructor Detail

MapType

public MapType()
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.spring.beans.MapType instance.


MapType

public MapType(MapType o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.spring.beans.MapType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getDescription

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

Returns:
possible object is Description

setDescription

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

Parameters:
value - allowed object is Description

getEntry

public List<EntryType> getEntry()
Gets the value of the entry 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 entry property.

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

    getEntry().add(newItem);
 

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


getKeyType

public String getKeyType()
Gets the value of the keyType property.

Returns:
possible object is String

setKeyType

public void setKeyType(String value)
Sets the value of the keyType property.

Parameters:
value - allowed object is String

clone

public MapType clone()
Creates and returns a copy of this object.

Overrides:
clone in class CollectionType
Returns:
A clone of this instance.


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