net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.wsaddr.impl
Class MetadataTypeImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.wsaddr.impl.MetadataTypeImpl
All Implemented Interfaces:
Serializable, Cloneable, MetadataType

public class MetadataTypeImpl
extends Object
implements Serializable, Cloneable, MetadataType

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
 
Constructor Summary
MetadataTypeImpl()
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.wsaddr.impl.MetadataTypeImpl instance.
MetadataTypeImpl(MetadataTypeImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.wsaddr.impl.MetadataTypeImpl instance by copying a given instance.
 
Method Summary
 MetadataTypeImpl 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

MetadataTypeImpl

public MetadataTypeImpl()
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.wsaddr.impl.MetadataTypeImpl instance.


MetadataTypeImpl

public MetadataTypeImpl(MetadataTypeImpl o)
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.wsaddr.impl.MetadataTypeImpl 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: MetadataType
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 MetadataType

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 MetadataType
Returns:
always non-null

clone

public MetadataTypeImpl 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.