net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.context
Class ComponentScan

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.context.ComponentScan
All Implemented Interfaces:
Serializable, Cloneable

public class ComponentScan
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>
         <element name="include-filter" type="{http://www.springframework.org/schema/context}filterType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="exclude-filter" type="{http://www.springframework.org/schema/context}filterType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="base-package" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="resource-pattern" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="use-default-filters" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="annotation-config" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="name-generator" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="scope-resolver" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="scoped-proxy">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="no"/>
             <enumeration value="interfaces"/>
             <enumeration value="targetClass"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Boolean annotationConfig
           
protected  String basePackage
           
protected  FilterType[] excludeFilter
           
protected  FilterType[] includeFilter
           
protected  String nameGenerator
           
protected  String resourcePattern
           
protected  String scopedProxy
           
protected  String scopeResolver
           
protected  Boolean useDefaultFilters
           
 
Constructor Summary
ComponentScan()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.context.ComponentScan instance.
ComponentScan(ComponentScan o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.context.ComponentScan instance by copying a given instance.
 
Method Summary
 ComponentScan clone()
          Creates and returns a copy of this object.
 String getBasePackage()
          Gets the value of the basePackage property.
 FilterType[] getExcludeFilter()
           
 FilterType getExcludeFilter(int idx)
           
 int getExcludeFilterLength()
           
 FilterType[] getIncludeFilter()
           
 FilterType getIncludeFilter(int idx)
           
 int getIncludeFilterLength()
           
 String getNameGenerator()
          Gets the value of the nameGenerator property.
 String getResourcePattern()
          Gets the value of the resourcePattern property.
 String getScopedProxy()
          Gets the value of the scopedProxy property.
 String getScopeResolver()
          Gets the value of the scopeResolver property.
 boolean isAnnotationConfig()
          Gets the value of the annotationConfig property.
 boolean isUseDefaultFilters()
          Gets the value of the useDefaultFilters property.
 void setAnnotationConfig(Boolean value)
          Sets the value of the annotationConfig property.
 void setBasePackage(String value)
          Sets the value of the basePackage property.
 void setExcludeFilter(FilterType[] values)
           
 FilterType setExcludeFilter(int idx, FilterType value)
           
 void setIncludeFilter(FilterType[] values)
           
 FilterType setIncludeFilter(int idx, FilterType value)
           
 void setNameGenerator(String value)
          Sets the value of the nameGenerator property.
 void setResourcePattern(String value)
          Sets the value of the resourcePattern property.
 void setScopedProxy(String value)
          Sets the value of the scopedProxy property.
 void setScopeResolver(String value)
          Sets the value of the scopeResolver property.
 void setUseDefaultFilters(Boolean value)
          Sets the value of the useDefaultFilters property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

includeFilter

protected FilterType[] includeFilter

excludeFilter

protected FilterType[] excludeFilter

basePackage

protected String basePackage

resourcePattern

protected String resourcePattern

useDefaultFilters

protected Boolean useDefaultFilters

annotationConfig

protected Boolean annotationConfig

nameGenerator

protected String nameGenerator

scopeResolver

protected String scopeResolver

scopedProxy

protected String scopedProxy
Constructor Detail

ComponentScan

public ComponentScan()
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.context.ComponentScan instance.


ComponentScan

public ComponentScan(ComponentScan o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.spring.context.ComponentScan instance by copying a given instance.

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

getIncludeFilter

public FilterType[] getIncludeFilter()
Returns:
array of FilterType

getIncludeFilter

public FilterType getIncludeFilter(int idx)
Returns:
one of FilterType

getIncludeFilterLength

public int getIncludeFilterLength()

setIncludeFilter

public void setIncludeFilter(FilterType[] values)
Parameters:
values - allowed objects are FilterType

setIncludeFilter

public FilterType setIncludeFilter(int idx,
                                   FilterType value)
Parameters:
value - allowed object is FilterType

getExcludeFilter

public FilterType[] getExcludeFilter()
Returns:
array of FilterType

getExcludeFilter

public FilterType getExcludeFilter(int idx)
Returns:
one of FilterType

getExcludeFilterLength

public int getExcludeFilterLength()

setExcludeFilter

public void setExcludeFilter(FilterType[] values)
Parameters:
values - allowed objects are FilterType

setExcludeFilter

public FilterType setExcludeFilter(int idx,
                                   FilterType value)
Parameters:
value - allowed object is FilterType

getBasePackage

public String getBasePackage()
Gets the value of the basePackage property.

Returns:
possible object is String

setBasePackage

public void setBasePackage(String value)
Sets the value of the basePackage property.

Parameters:
value - allowed object is String

getResourcePattern

public String getResourcePattern()
Gets the value of the resourcePattern property.

Returns:
possible object is String

setResourcePattern

public void setResourcePattern(String value)
Sets the value of the resourcePattern property.

Parameters:
value - allowed object is String

isUseDefaultFilters

public boolean isUseDefaultFilters()
Gets the value of the useDefaultFilters property.

Returns:
possible object is Boolean

setUseDefaultFilters

public void setUseDefaultFilters(Boolean value)
Sets the value of the useDefaultFilters property.

Parameters:
value - allowed object is Boolean

isAnnotationConfig

public boolean isAnnotationConfig()
Gets the value of the annotationConfig property.

Returns:
possible object is Boolean

setAnnotationConfig

public void setAnnotationConfig(Boolean value)
Sets the value of the annotationConfig property.

Parameters:
value - allowed object is Boolean

getNameGenerator

public String getNameGenerator()
Gets the value of the nameGenerator property.

Returns:
possible object is String

setNameGenerator

public void setNameGenerator(String value)
Sets the value of the nameGenerator property.

Parameters:
value - allowed object is String

getScopeResolver

public String getScopeResolver()
Gets the value of the scopeResolver property.

Returns:
possible object is String

setScopeResolver

public void setScopeResolver(String value)
Sets the value of the scopeResolver property.

Parameters:
value - allowed object is String

getScopedProxy

public String getScopedProxy()
Gets the value of the scopedProxy property.

Returns:
possible object is String

setScopedProxy

public void setScopedProxy(String value)
Sets the value of the scopedProxy property.

Parameters:
value - allowed object is String

clone

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