net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee
Class InterceptorType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.InterceptorType
All Implemented Interfaces:
Serializable, Cloneable

public class InterceptorType
extends Object
implements Serializable, Cloneable

The interceptorType element declares information about a single interceptor class. It consists of : - An optional description. - The fully-qualified name of the interceptor class. - An optional list of around invoke methods declared on the interceptor class and/or its super-classes. - An optional list environment dependencies for the interceptor class and/or its super-classes. - An optional list of post-activate methods declared on the interceptor class and/or its super-classes. - An optional list of pre-passivate methods declared on the interceptor class and/or its super-classes.

Java class for interceptorType complex type.

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

 <complexType name="interceptorType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="interceptor-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
         <element name="around-invoke" type="{http://java.sun.com/xml/ns/javaee}around-invokeType" maxOccurs="unbounded" minOccurs="0"/>
         <group ref="{http://java.sun.com/xml/ns/javaee}jndiEnvironmentRefsGroup"/>
         <element name="post-activate" type="{http://java.sun.com/xml/ns/javaee}lifecycle-callbackType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="pre-passivate" type="{http://java.sun.com/xml/ns/javaee}lifecycle-callbackType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<AroundInvokeType> aroundInvoke
           
protected  List<DescriptionType> description
           
protected  List<EjbLocalRefType> ejbLocalRef
           
protected  List<EjbRefType> ejbRef
           
protected  List<EnvEntryType> envEntry
           
protected  String id
           
protected  FullyQualifiedClassType interceptorClass
           
protected  List<MessageDestinationRefType> messageDestinationRef
           
protected  List<PersistenceContextRefType> persistenceContextRef
           
protected  List<PersistenceUnitRefType> persistenceUnitRef
           
protected  List<LifecycleCallbackType> postActivate
           
protected  List<LifecycleCallbackType> postConstruct
           
protected  List<LifecycleCallbackType> preDestroy
           
protected  List<LifecycleCallbackType> prePassivate
           
protected  List<ResourceEnvRefType> resourceEnvRef
           
protected  List<ResourceRefType> resourceRef
           
protected  List<ServiceRefType> serviceRef
           
 
Constructor Summary
InterceptorType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.InterceptorType instance.
InterceptorType(InterceptorType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.InterceptorType instance by copying a given instance.
 
Method Summary
 InterceptorType clone()
          Creates and returns a copy of this object.
static void copyAroundInvoke(List<AroundInvokeType> source, List<AroundInvokeType> target)
          Copies all values of property AroundInvoke.
static void copyDescription(List<DescriptionType> source, List<DescriptionType> target)
          Copies all values of property Description.
static void copyEjbLocalRef(List<EjbLocalRefType> source, List<EjbLocalRefType> target)
          Copies all values of property EjbLocalRef.
static void copyEjbRef(List<EjbRefType> source, List<EjbRefType> target)
          Copies all values of property EjbRef.
static void copyEnvEntry(List<EnvEntryType> source, List<EnvEntryType> target)
          Copies all values of property EnvEntry.
static void copyMessageDestinationRef(List<MessageDestinationRefType> source, List<MessageDestinationRefType> target)
          Copies all values of property MessageDestinationRef.
static void copyPersistenceContextRef(List<PersistenceContextRefType> source, List<PersistenceContextRefType> target)
          Copies all values of property PersistenceContextRef.
static void copyPersistenceUnitRef(List<PersistenceUnitRefType> source, List<PersistenceUnitRefType> target)
          Copies all values of property PersistenceUnitRef.
static void copyPostActivate(List<LifecycleCallbackType> source, List<LifecycleCallbackType> target)
          Copies all values of property PostActivate.
static void copyPostConstruct(List<LifecycleCallbackType> source, List<LifecycleCallbackType> target)
          Copies all values of property PostConstruct.
static void copyPreDestroy(List<LifecycleCallbackType> source, List<LifecycleCallbackType> target)
          Copies all values of property PreDestroy.
static void copyPrePassivate(List<LifecycleCallbackType> source, List<LifecycleCallbackType> target)
          Copies all values of property PrePassivate.
static void copyResourceEnvRef(List<ResourceEnvRefType> source, List<ResourceEnvRefType> target)
          Copies all values of property ResourceEnvRef.
static void copyResourceRef(List<ResourceRefType> source, List<ResourceRefType> target)
          Copies all values of property ResourceRef.
static void copyServiceRef(List<ServiceRefType> source, List<ServiceRefType> target)
          Copies all values of property ServiceRef.
 List<AroundInvokeType> getAroundInvoke()
          Gets the value of the aroundInvoke property.
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 List<EjbLocalRefType> getEjbLocalRef()
          Gets the value of the ejbLocalRef property.
 List<EjbRefType> getEjbRef()
          Gets the value of the ejbRef property.
 List<EnvEntryType> getEnvEntry()
          Gets the value of the envEntry property.
 String getId()
          Gets the value of the id property.
 FullyQualifiedClassType getInterceptorClass()
          Gets the value of the interceptorClass property.
 List<MessageDestinationRefType> getMessageDestinationRef()
          Gets the value of the messageDestinationRef property.
 List<PersistenceContextRefType> getPersistenceContextRef()
          Gets the value of the persistenceContextRef property.
 List<PersistenceUnitRefType> getPersistenceUnitRef()
          Gets the value of the persistenceUnitRef property.
 List<LifecycleCallbackType> getPostActivate()
          Gets the value of the postActivate property.
 List<LifecycleCallbackType> getPostConstruct()
          Gets the value of the postConstruct property.
 List<LifecycleCallbackType> getPreDestroy()
          Gets the value of the preDestroy property.
 List<LifecycleCallbackType> getPrePassivate()
          Gets the value of the prePassivate property.
 List<ResourceEnvRefType> getResourceEnvRef()
          Gets the value of the resourceEnvRef property.
 List<ResourceRefType> getResourceRef()
          Gets the value of the resourceRef property.
 List<ServiceRefType> getServiceRef()
          Gets the value of the serviceRef property.
 void setId(String value)
          Sets the value of the id property.
 void setInterceptorClass(FullyQualifiedClassType value)
          Sets the value of the interceptorClass property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected List<DescriptionType> description

interceptorClass

protected FullyQualifiedClassType interceptorClass

aroundInvoke

protected List<AroundInvokeType> aroundInvoke

envEntry

protected List<EnvEntryType> envEntry

ejbRef

protected List<EjbRefType> ejbRef

ejbLocalRef

protected List<EjbLocalRefType> ejbLocalRef

serviceRef

protected List<ServiceRefType> serviceRef

resourceRef

protected List<ResourceRefType> resourceRef

resourceEnvRef

protected List<ResourceEnvRefType> resourceEnvRef

messageDestinationRef

protected List<MessageDestinationRefType> messageDestinationRef

persistenceContextRef

protected List<PersistenceContextRefType> persistenceContextRef

persistenceUnitRef

protected List<PersistenceUnitRefType> persistenceUnitRef

postConstruct

protected List<LifecycleCallbackType> postConstruct

preDestroy

protected List<LifecycleCallbackType> preDestroy

postActivate

protected List<LifecycleCallbackType> postActivate

prePassivate

protected List<LifecycleCallbackType> prePassivate

id

protected String id
Constructor Detail

InterceptorType

public InterceptorType()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.InterceptorType instance.


InterceptorType

public InterceptorType(InterceptorType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.InterceptorType instance by copying a given instance.

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

getDescription

public List<DescriptionType> getDescription()
Gets the value of the description 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 description property.

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

    getDescription().add(newItem);
 

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


getInterceptorClass

public FullyQualifiedClassType getInterceptorClass()
Gets the value of the interceptorClass property.

Returns:
possible object is FullyQualifiedClassType

setInterceptorClass

public void setInterceptorClass(FullyQualifiedClassType value)
Sets the value of the interceptorClass property.

Parameters:
value - allowed object is FullyQualifiedClassType

getAroundInvoke

public List<AroundInvokeType> getAroundInvoke()
Gets the value of the aroundInvoke 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 aroundInvoke property.

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

    getAroundInvoke().add(newItem);
 

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


getEnvEntry

public List<EnvEntryType> getEnvEntry()
Gets the value of the envEntry 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 envEntry property.

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

    getEnvEntry().add(newItem);
 

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


getEjbRef

public List<EjbRefType> getEjbRef()
Gets the value of the ejbRef 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 ejbRef property.

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

    getEjbRef().add(newItem);
 

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


getEjbLocalRef

public List<EjbLocalRefType> getEjbLocalRef()
Gets the value of the ejbLocalRef 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 ejbLocalRef property.

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

    getEjbLocalRef().add(newItem);
 

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


getServiceRef

public List<ServiceRefType> getServiceRef()
Gets the value of the serviceRef 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 serviceRef property.

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

    getServiceRef().add(newItem);
 

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


getResourceRef

public List<ResourceRefType> getResourceRef()
Gets the value of the resourceRef 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 resourceRef property.

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

    getResourceRef().add(newItem);
 

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


getResourceEnvRef

public List<ResourceEnvRefType> getResourceEnvRef()
Gets the value of the resourceEnvRef 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 resourceEnvRef property.

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

    getResourceEnvRef().add(newItem);
 

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


getMessageDestinationRef

public List<MessageDestinationRefType> getMessageDestinationRef()
Gets the value of the messageDestinationRef 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 messageDestinationRef property.

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

    getMessageDestinationRef().add(newItem);
 

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


getPersistenceContextRef

public List<PersistenceContextRefType> getPersistenceContextRef()
Gets the value of the persistenceContextRef 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 persistenceContextRef property.

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

    getPersistenceContextRef().add(newItem);
 

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


getPersistenceUnitRef

public List<PersistenceUnitRefType> getPersistenceUnitRef()
Gets the value of the persistenceUnitRef 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 persistenceUnitRef property.

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

    getPersistenceUnitRef().add(newItem);
 

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


getPostConstruct

public List<LifecycleCallbackType> getPostConstruct()
Gets the value of the postConstruct 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 postConstruct property.

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

    getPostConstruct().add(newItem);
 

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


getPreDestroy

public List<LifecycleCallbackType> getPreDestroy()
Gets the value of the preDestroy 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 preDestroy property.

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

    getPreDestroy().add(newItem);
 

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


getPostActivate

public List<LifecycleCallbackType> getPostActivate()
Gets the value of the postActivate 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 postActivate property.

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

    getPostActivate().add(newItem);
 

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


getPrePassivate

public List<LifecycleCallbackType> getPrePassivate()
Gets the value of the prePassivate 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 prePassivate property.

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

    getPrePassivate().add(newItem);
 

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


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

copyDescription

public static void copyDescription(List<DescriptionType> source,
                                   List<DescriptionType> target)
Copies all values of property Description.

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

copyAroundInvoke

public static void copyAroundInvoke(List<AroundInvokeType> source,
                                    List<AroundInvokeType> target)
Copies all values of property AroundInvoke.

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

copyEnvEntry

public static void copyEnvEntry(List<EnvEntryType> source,
                                List<EnvEntryType> target)
Copies all values of property EnvEntry.

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

copyEjbRef

public static void copyEjbRef(List<EjbRefType> source,
                              List<EjbRefType> target)
Copies all values of property EjbRef.

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

copyEjbLocalRef

public static void copyEjbLocalRef(List<EjbLocalRefType> source,
                                   List<EjbLocalRefType> target)
Copies all values of property EjbLocalRef.

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

copyServiceRef

public static void copyServiceRef(List<ServiceRefType> source,
                                  List<ServiceRefType> target)
Copies all values of property ServiceRef.

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

copyResourceRef

public static void copyResourceRef(List<ResourceRefType> source,
                                   List<ResourceRefType> target)
Copies all values of property ResourceRef.

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

copyResourceEnvRef

public static void copyResourceEnvRef(List<ResourceEnvRefType> source,
                                      List<ResourceEnvRefType> target)
Copies all values of property ResourceEnvRef.

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

copyMessageDestinationRef

public static void copyMessageDestinationRef(List<MessageDestinationRefType> source,
                                             List<MessageDestinationRefType> target)
Copies all values of property MessageDestinationRef.

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

copyPersistenceContextRef

public static void copyPersistenceContextRef(List<PersistenceContextRefType> source,
                                             List<PersistenceContextRefType> target)
Copies all values of property PersistenceContextRef.

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

copyPersistenceUnitRef

public static void copyPersistenceUnitRef(List<PersistenceUnitRefType> source,
                                          List<PersistenceUnitRefType> target)
Copies all values of property PersistenceUnitRef.

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

copyPostConstruct

public static void copyPostConstruct(List<LifecycleCallbackType> source,
                                     List<LifecycleCallbackType> target)
Copies all values of property PostConstruct.

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

copyPreDestroy

public static void copyPreDestroy(List<LifecycleCallbackType> source,
                                  List<LifecycleCallbackType> target)
Copies all values of property PreDestroy.

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

copyPostActivate

public static void copyPostActivate(List<LifecycleCallbackType> source,
                                    List<LifecycleCallbackType> target)
Copies all values of property PostActivate.

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

copyPrePassivate

public static void copyPrePassivate(List<LifecycleCallbackType> source,
                                    List<LifecycleCallbackType> target)
Copies all values of property PrePassivate.

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

clone

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