net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.wsrmp.impl
Class RMAssertionImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.indexed.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  Object[] any
           
 
Constructor Summary
RMAssertionImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.wsrmp.impl.RMAssertionImpl instance.
RMAssertionImpl(RMAssertionImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.wsrmp.impl.RMAssertionImpl instance by copying a given instance.
 
Method Summary
 RMAssertionImpl clone()
          Creates and returns a copy of this object.
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

any

protected Object[] any
Constructor Detail

RMAssertionImpl

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


RMAssertionImpl

public RMAssertionImpl(RMAssertionImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.wsrmp.impl.RMAssertionImpl instance by copying a given instance.

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

getAny

public Object[] getAny()
Specified by:
getAny in interface RMAssertion
Returns:
array of Element Object

getAny

public Object getAny(int idx)
Specified by:
getAny in interface RMAssertion
Returns:
one of Element Object

getAnyLength

public int getAnyLength()
Specified by:
getAnyLength in interface RMAssertion

setAny

public void setAny(Object[] values)
Specified by:
setAny in interface RMAssertion
Parameters:
values - allowed objects are Element Object

setAny

public Object setAny(int idx,
                     Object value)
Specified by:
setAny in interface RMAssertion
value - allowed object is Element Object

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

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.