net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.wsrmp.impl
Class RMAssertionImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.wsrmp.impl.RMAssertionImpl
All Implemented Interfaces:
Serializable, Cloneable, RMAssertion

public class RMAssertionImpl
extends Object
implements Serializable, Cloneable, RMAssertion

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
 
Constructor Summary
RMAssertionImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.wsrmp.impl.RMAssertionImpl instance.
RMAssertionImpl(RMAssertionImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.wsrmp.impl.RMAssertionImpl instance by copying a given instance.
 
Method Summary
 RMAssertionImpl clone()
          Creates and returns a copy of this object.
static void copyAny(List<Object> source, List<Object> target)
          Copies all values of property Any.
 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

RMAssertionImpl

public RMAssertionImpl()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.wsrmp.impl.RMAssertionImpl instance.


RMAssertionImpl

public RMAssertionImpl(RMAssertionImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.wsrmp.impl.RMAssertionImpl 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: RMAssertion
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 RMAssertion

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

copyAny

public static void copyAny(List<Object> source,
                           List<Object> target)
Copies all values of property Any.

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

clone

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