net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.tool
Class Annotation

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.tool.Annotation
All Implemented Interfaces:
Serializable, Cloneable

public class Annotation
extends Object
implements Serializable, Cloneable

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence minOccurs="0">
         <element name="expected-type" type="{http://www.springframework.org/schema/tool}typedParameterType" minOccurs="0"/>
         <element name="assignable-to" type="{http://www.springframework.org/schema/tool}typedParameterType" minOccurs="0"/>
         <element name="exports" type="{http://www.springframework.org/schema/tool}exportsType" minOccurs="0"/>
         <element name="registers-scope" type="{http://www.springframework.org/schema/tool}registersScopeType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="kind" default="direct">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="ref"/>
             <enumeration value="direct"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  TypedParameterType assignableTo
           
protected  TypedParameterType expectedType
           
protected  ExportsType exports
           
protected  String kind
           
protected  RegistersScopeType[] registersScope
           
 
Constructor Summary
Annotation()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.tool.Annotation instance.
Annotation(Annotation o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.tool.Annotation instance by copying a given instance.
 
Method Summary
 Annotation clone()
          Creates and returns a copy of this object.
 void copyRegistersScope(RegistersScopeType[] source)
          Copies all values of property RegistersScope.
 TypedParameterType getAssignableTo()
          Gets the value of the assignableTo property.
 TypedParameterType getExpectedType()
          Gets the value of the expectedType property.
 ExportsType getExports()
          Gets the value of the exports property.
 String getKind()
          Gets the value of the kind property.
 RegistersScopeType[] getRegistersScope()
           
 RegistersScopeType getRegistersScope(int idx)
           
 int getRegistersScopeLength()
           
 void setAssignableTo(TypedParameterType value)
          Sets the value of the assignableTo property.
 void setExpectedType(TypedParameterType value)
          Sets the value of the expectedType property.
 void setExports(ExportsType value)
          Sets the value of the exports property.
 void setKind(String value)
          Sets the value of the kind property.
 RegistersScopeType setRegistersScope(int idx, RegistersScopeType value)
           
 void setRegistersScope(RegistersScopeType[] values)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expectedType

protected TypedParameterType expectedType

assignableTo

protected TypedParameterType assignableTo

exports

protected ExportsType exports

registersScope

protected RegistersScopeType[] registersScope

kind

protected String kind
Constructor Detail

Annotation

public Annotation()
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.tool.Annotation instance.


Annotation

public Annotation(Annotation o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.spring.tool.Annotation instance by copying a given instance.

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

getExpectedType

public TypedParameterType getExpectedType()
Gets the value of the expectedType property.

Returns:
possible object is TypedParameterType

setExpectedType

public void setExpectedType(TypedParameterType value)
Sets the value of the expectedType property.

Parameters:
value - allowed object is TypedParameterType

getAssignableTo

public TypedParameterType getAssignableTo()
Gets the value of the assignableTo property.

Returns:
possible object is TypedParameterType

setAssignableTo

public void setAssignableTo(TypedParameterType value)
Sets the value of the assignableTo property.

Parameters:
value - allowed object is TypedParameterType

getExports

public ExportsType getExports()
Gets the value of the exports property.

Returns:
possible object is ExportsType

setExports

public void setExports(ExportsType value)
Sets the value of the exports property.

Parameters:
value - allowed object is ExportsType

getRegistersScope

public RegistersScopeType[] getRegistersScope()
Returns:
array of RegistersScopeType

getRegistersScope

public RegistersScopeType getRegistersScope(int idx)
Returns:
one of RegistersScopeType

getRegistersScopeLength

public int getRegistersScopeLength()

setRegistersScope

public void setRegistersScope(RegistersScopeType[] values)
Parameters:
values - allowed objects are RegistersScopeType

setRegistersScope

public RegistersScopeType setRegistersScope(int idx,
                                            RegistersScopeType value)
Parameters:
value - allowed object is RegistersScopeType

getKind

public String getKind()
Gets the value of the kind property.

Returns:
possible object is String

setKind

public void setKind(String value)
Sets the value of the kind property.

Parameters:
value - allowed object is String

copyRegistersScope

public void copyRegistersScope(RegistersScopeType[] source)
Copies all values of property RegistersScope.

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

clone

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