net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.tool.impl
Class AnnotationImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.tool.impl.AnnotationImpl
All Implemented Interfaces:
Serializable, Cloneable, Annotation

public class AnnotationImpl
extends Object
implements Serializable, Cloneable, Annotation

See Also:
Serialized Form

Field Summary
protected  TypedParameterTypeImpl assignableTo
           
protected  TypedParameterTypeImpl expectedType
           
protected  ExportsTypeImpl exports
           
protected  String kind
           
protected  List<RegistersScopeType> registersScope
           
 
Constructor Summary
AnnotationImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.tool.impl.AnnotationImpl instance.
AnnotationImpl(AnnotationImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.tool.impl.AnnotationImpl instance by copying a given instance.
 
Method Summary
 AnnotationImpl clone()
          Creates and returns a copy of this object.
static void copyRegistersScope(List<RegistersScopeType> source, List<RegistersScopeType> target)
          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.
 List<RegistersScopeType> getRegistersScope()
          Gets the value of the registersScope property.
 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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expectedType

protected TypedParameterTypeImpl expectedType

assignableTo

protected TypedParameterTypeImpl assignableTo

exports

protected ExportsTypeImpl exports

registersScope

protected List<RegistersScopeType> registersScope

kind

protected String kind
Constructor Detail

AnnotationImpl

public AnnotationImpl()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.tool.impl.AnnotationImpl instance.


AnnotationImpl

public AnnotationImpl(AnnotationImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.spring.tool.impl.AnnotationImpl instance by copying a given instance.

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

getExpectedType

public TypedParameterType getExpectedType()
Description copied from interface: Annotation
Gets the value of the expectedType property.

Specified by:
getExpectedType in interface Annotation
Returns:
possible object is TypedParameterType

setExpectedType

public void setExpectedType(TypedParameterType value)
Description copied from interface: Annotation
Sets the value of the expectedType property.

Specified by:
setExpectedType in interface Annotation
Parameters:
value - allowed object is TypedParameterType

getAssignableTo

public TypedParameterType getAssignableTo()
Description copied from interface: Annotation
Gets the value of the assignableTo property.

Specified by:
getAssignableTo in interface Annotation
Returns:
possible object is TypedParameterType

setAssignableTo

public void setAssignableTo(TypedParameterType value)
Description copied from interface: Annotation
Sets the value of the assignableTo property.

Specified by:
setAssignableTo in interface Annotation
Parameters:
value - allowed object is TypedParameterType

getExports

public ExportsType getExports()
Description copied from interface: Annotation
Gets the value of the exports property.

Specified by:
getExports in interface Annotation
Returns:
possible object is ExportsType

setExports

public void setExports(ExportsType value)
Description copied from interface: Annotation
Sets the value of the exports property.

Specified by:
setExports in interface Annotation
Parameters:
value - allowed object is ExportsType

getRegistersScope

public List<RegistersScopeType> getRegistersScope()
Description copied from interface: Annotation
Gets the value of the registersScope 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 registersScope property.

For example, to add a new item, do as follows:

    getRegistersScope().add(newItem);
 

Objects of the following type(s) are allowed in the list RegistersScopeType

Specified by:
getRegistersScope in interface Annotation

getKind

public String getKind()
Description copied from interface: Annotation
Gets the value of the kind property.

Specified by:
getKind in interface Annotation
Returns:
possible object is String

setKind

public void setKind(String value)
Description copied from interface: Annotation
Sets the value of the kind property.

Specified by:
setKind in interface Annotation
Parameters:
value - allowed object is String

copyRegistersScope

public static void copyRegistersScope(List<RegistersScopeType> source,
                                      List<RegistersScopeType> target)
Copies all values of property RegistersScope.

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

clone

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