net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.wsrm.impl
Class DetailTypeImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.wsrm.impl.DetailTypeImpl
All Implemented Interfaces:
Serializable, Cloneable, DetailType

public class DetailTypeImpl
extends Object
implements Serializable, Cloneable, DetailType

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
 
Constructor Summary
DetailTypeImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.wsrm.impl.DetailTypeImpl instance.
DetailTypeImpl(DetailTypeImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.wsrm.impl.DetailTypeImpl instance by copying a given instance.
 
Method Summary
 DetailTypeImpl clone()
          Creates and returns a copy of this object.
 List<Object> getAny()
          Gets the value of the any property.
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

any

protected List<Object> any
Constructor Detail

DetailTypeImpl

public DetailTypeImpl()
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.wsrm.impl.DetailTypeImpl instance.


DetailTypeImpl

public DetailTypeImpl(DetailTypeImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.wsrm.impl.DetailTypeImpl instance by copying a given instance.

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

getAny

public List<Object> getAny()
Description copied from interface: DetailType
Gets the value of the any 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 any property.

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

    getAny().add(newItem);
 

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

Specified by:
getAny in interface DetailType

getOtherAttributes

public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Specified by:
getOtherAttributes in interface DetailType
Returns:
always non-null

clone

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

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


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