net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.beans.impl
Class MapTypeImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.beans.impl.CollectionTypeImpl
      extended by net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.beans.impl.MapTypeImpl
All Implemented Interfaces:
Serializable, Cloneable, CollectionType, MapType
Direct Known Subclasses:
MapImpl, MapImpl

public class MapTypeImpl
extends CollectionTypeImpl
implements Serializable, Cloneable, MapType

See Also:
Serialized Form

Field Summary
protected  DescriptionImpl description
           
protected  List<EntryType> entry
           
protected  String keyType
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.beans.impl.CollectionTypeImpl
valueType
 
Constructor Summary
MapTypeImpl()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.beans.impl.MapTypeImpl instance.
MapTypeImpl(MapTypeImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.beans.impl.MapTypeImpl instance by copying a given instance.
 
Method Summary
 MapTypeImpl clone()
          Creates and returns a copy of this object.
protected static void copyEntry(List<EntryType> source, List<EntryType> target)
          Copies all values of property Entry.
 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.prot.collections.novalueclass.spring.beans.impl.CollectionTypeImpl
getValueType, setValueType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.beans.CollectionType
getValueType, setValueType
 

Field Detail

description

protected DescriptionImpl description

entry

protected List<EntryType> entry

keyType

protected String keyType
Constructor Detail

MapTypeImpl

public MapTypeImpl()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.beans.impl.MapTypeImpl instance.


MapTypeImpl

public MapTypeImpl(MapTypeImpl o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.spring.beans.impl.MapTypeImpl instance by copying a given instance.

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

getDescription

public Description getDescription()
Description copied from interface: MapType
Gets the value of the description property.

Specified by:
getDescription in interface MapType
Returns:
possible object is Description

setDescription

public void setDescription(Description value)
Description copied from interface: MapType
Sets the value of the description property.

Specified by:
setDescription in interface MapType
Parameters:
value - allowed object is Description

getEntry

public List<EntryType> getEntry()
Description copied from interface: MapType
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

Specified by:
getEntry in interface MapType

getKeyType

public String getKeyType()
Description copied from interface: MapType
Gets the value of the keyType property.

Specified by:
getKeyType in interface MapType
Returns:
possible object is String

setKeyType

public void setKeyType(String value)
Description copied from interface: MapType
Sets the value of the keyType property.

Specified by:
setKeyType in interface MapType
Parameters:
value - allowed object is String

copyEntry

protected static void copyEntry(List<EntryType> source,
                                List<EntryType> target)
Copies all values of property Entry.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

clone

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

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


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