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

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.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.priv.collections.valueclass.javaee.InterceptorType instance.
InterceptorType(InterceptorType o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.javaee.InterceptorType instance by copying a given instance.
 
Method Summary
 InterceptorType clone()
          Creates and returns a copy of this object.
 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.priv.collections.valueclass.javaee.InterceptorType instance.


InterceptorType

public InterceptorType(InterceptorType o)
Creates a new net.sourceforge.ccxjc.it.model.priv.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

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.