net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.spring.beans.impl
Class QualifierImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.spring.beans.impl.QualifierImpl
All Implemented Interfaces:
Serializable, Cloneable, Qualifier

public class QualifierImpl
extends Object
implements Serializable, Cloneable, Qualifier

See Also:
Serialized Form

Field Summary
protected  MetaType[] attribute
           
protected  String type
           
protected  String value
           
 
Constructor Summary
QualifierImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.spring.beans.impl.QualifierImpl instance.
QualifierImpl(QualifierImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.spring.beans.impl.QualifierImpl instance by copying a given instance.
 
Method Summary
 QualifierImpl clone()
          Creates and returns a copy of this object.
 void copyAttribute(MetaType[] source)
          Copies all values of property Attribute.
 MetaType[] getAttribute()
           
 MetaType getAttribute(int idx)
           
 int getAttributeLength()
           
 String getType()
          Gets the value of the type property.
 String getValue()
          Gets the value of the value property.
 MetaType setAttribute(int idx, MetaType value)
           
 void setAttribute(MetaType[] values)
           
 void setType(String value)
          Sets the value of the type property.
 void setValue(String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attribute

protected MetaType[] attribute

type

protected String type

value

protected String value
Constructor Detail

QualifierImpl

public QualifierImpl()
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.spring.beans.impl.QualifierImpl instance.


QualifierImpl

public QualifierImpl(QualifierImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.spring.beans.impl.QualifierImpl instance by copying a given instance.

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

getAttribute

public MetaType[] getAttribute()
Specified by:
getAttribute in interface Qualifier
Returns:
array of MetaType

getAttribute

public MetaType getAttribute(int idx)
Specified by:
getAttribute in interface Qualifier
Returns:
one of MetaType

getAttributeLength

public int getAttributeLength()
Specified by:
getAttributeLength in interface Qualifier

setAttribute

public void setAttribute(MetaType[] values)
Specified by:
setAttribute in interface Qualifier
Parameters:
values - allowed objects are MetaType

setAttribute

public MetaType setAttribute(int idx,
                             MetaType value)
Specified by:
setAttribute in interface Qualifier
value - allowed object is MetaType

getType

public String getType()
Description copied from interface: Qualifier
Gets the value of the type property.

Specified by:
getType in interface Qualifier
Returns:
possible object is String

setType

public void setType(String value)
Description copied from interface: Qualifier
Sets the value of the type property.

Specified by:
setType in interface Qualifier
Parameters:
value - allowed object is String

getValue

public String getValue()
Description copied from interface: Qualifier
Gets the value of the value property.

Specified by:
getValue in interface Qualifier
Returns:
possible object is String

setValue

public void setValue(String value)
Description copied from interface: Qualifier
Sets the value of the value property.

Specified by:
setValue in interface Qualifier
Parameters:
value - allowed object is String

copyAttribute

public void copyAttribute(MetaType[] source)
Copies all values of property Attribute.

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

clone

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