net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee
Class InterceptorType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.indexed.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  AroundInvokeType[] aroundInvoke
           
protected  DescriptionType[] description
           
protected  EjbLocalRefType[] ejbLocalRef
           
protected  EjbRefType[] ejbRef
           
protected  EnvEntryType[] envEntry
           
protected  String id
           
protected  FullyQualifiedClassType interceptorClass
           
protected  MessageDestinationRefType[] messageDestinationRef
           
protected  PersistenceContextRefType[] persistenceContextRef
           
protected  PersistenceUnitRefType[] persistenceUnitRef
           
protected  LifecycleCallbackType[] postActivate
           
protected  LifecycleCallbackType[] postConstruct
           
protected  LifecycleCallbackType[] preDestroy
           
protected  LifecycleCallbackType[] prePassivate
           
protected  ResourceEnvRefType[] resourceEnvRef
           
protected  ResourceRefType[] resourceRef
           
protected  ServiceRefType[] serviceRef
           
 
Constructor Summary
InterceptorType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.InterceptorType instance.
InterceptorType(InterceptorType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.InterceptorType instance by copying a given instance.
 
Method Summary
 InterceptorType clone()
          Creates and returns a copy of this object.
protected  void copyAroundInvoke(AroundInvokeType[] source)
          Copies all values of property AroundInvoke.
protected  void copyDescription(DescriptionType[] source)
          Copies all values of property Description.
protected  void copyEjbLocalRef(EjbLocalRefType[] source)
          Copies all values of property EjbLocalRef.
protected  void copyEjbRef(EjbRefType[] source)
          Copies all values of property EjbRef.
protected  void copyEnvEntry(EnvEntryType[] source)
          Copies all values of property EnvEntry.
protected  void copyMessageDestinationRef(MessageDestinationRefType[] source)
          Copies all values of property MessageDestinationRef.
protected  void copyPersistenceContextRef(PersistenceContextRefType[] source)
          Copies all values of property PersistenceContextRef.
protected  void copyPersistenceUnitRef(PersistenceUnitRefType[] source)
          Copies all values of property PersistenceUnitRef.
protected  void copyPostActivate(LifecycleCallbackType[] source)
          Copies all values of property PostActivate.
protected  void copyPostConstruct(LifecycleCallbackType[] source)
          Copies all values of property PostConstruct.
protected  void copyPreDestroy(LifecycleCallbackType[] source)
          Copies all values of property PreDestroy.
protected  void copyPrePassivate(LifecycleCallbackType[] source)
          Copies all values of property PrePassivate.
protected  void copyResourceEnvRef(ResourceEnvRefType[] source)
          Copies all values of property ResourceEnvRef.
protected  void copyResourceRef(ResourceRefType[] source)
          Copies all values of property ResourceRef.
protected  void copyServiceRef(ServiceRefType[] source)
          Copies all values of property ServiceRef.
 AroundInvokeType[] getAroundInvoke()
           
 AroundInvokeType getAroundInvoke(int idx)
           
 int getAroundInvokeLength()
           
 DescriptionType[] getDescription()
           
 DescriptionType getDescription(int idx)
           
 int getDescriptionLength()
           
 EjbLocalRefType[] getEjbLocalRef()
           
 EjbLocalRefType getEjbLocalRef(int idx)
           
 int getEjbLocalRefLength()
           
 EjbRefType[] getEjbRef()
           
 EjbRefType getEjbRef(int idx)
           
 int getEjbRefLength()
           
 EnvEntryType[] getEnvEntry()
           
 EnvEntryType getEnvEntry(int idx)
           
 int getEnvEntryLength()
           
 String getId()
          Gets the value of the id property.
 FullyQualifiedClassType getInterceptorClass()
          Gets the value of the interceptorClass property.
 MessageDestinationRefType[] getMessageDestinationRef()
           
 MessageDestinationRefType getMessageDestinationRef(int idx)
           
 int getMessageDestinationRefLength()
           
 PersistenceContextRefType[] getPersistenceContextRef()
           
 PersistenceContextRefType getPersistenceContextRef(int idx)
           
 int getPersistenceContextRefLength()
           
 PersistenceUnitRefType[] getPersistenceUnitRef()
           
 PersistenceUnitRefType getPersistenceUnitRef(int idx)
           
 int getPersistenceUnitRefLength()
           
 LifecycleCallbackType[] getPostActivate()
           
 LifecycleCallbackType getPostActivate(int idx)
           
 int getPostActivateLength()
           
 LifecycleCallbackType[] getPostConstruct()
           
 LifecycleCallbackType getPostConstruct(int idx)
           
 int getPostConstructLength()
           
 LifecycleCallbackType[] getPreDestroy()
           
 LifecycleCallbackType getPreDestroy(int idx)
           
 int getPreDestroyLength()
           
 LifecycleCallbackType[] getPrePassivate()
           
 LifecycleCallbackType getPrePassivate(int idx)
           
 int getPrePassivateLength()
           
 ResourceEnvRefType[] getResourceEnvRef()
           
 ResourceEnvRefType getResourceEnvRef(int idx)
           
 int getResourceEnvRefLength()
           
 ResourceRefType[] getResourceRef()
           
 ResourceRefType getResourceRef(int idx)
           
 int getResourceRefLength()
           
 ServiceRefType[] getServiceRef()
           
 ServiceRefType getServiceRef(int idx)
           
 int getServiceRefLength()
           
 void setAroundInvoke(AroundInvokeType[] values)
           
 AroundInvokeType setAroundInvoke(int idx, AroundInvokeType value)
           
 void setDescription(DescriptionType[] values)
           
 DescriptionType setDescription(int idx, DescriptionType value)
           
 void setEjbLocalRef(EjbLocalRefType[] values)
           
 EjbLocalRefType setEjbLocalRef(int idx, EjbLocalRefType value)
           
 void setEjbRef(EjbRefType[] values)
           
 EjbRefType setEjbRef(int idx, EjbRefType value)
           
 void setEnvEntry(EnvEntryType[] values)
           
 EnvEntryType setEnvEntry(int idx, EnvEntryType value)
           
 void setId(String value)
          Sets the value of the id property.
 void setInterceptorClass(FullyQualifiedClassType value)
          Sets the value of the interceptorClass property.
 MessageDestinationRefType setMessageDestinationRef(int idx, MessageDestinationRefType value)
           
 void setMessageDestinationRef(MessageDestinationRefType[] values)
           
 PersistenceContextRefType setPersistenceContextRef(int idx, PersistenceContextRefType value)
           
 void setPersistenceContextRef(PersistenceContextRefType[] values)
           
 PersistenceUnitRefType setPersistenceUnitRef(int idx, PersistenceUnitRefType value)
           
 void setPersistenceUnitRef(PersistenceUnitRefType[] values)
           
 LifecycleCallbackType setPostActivate(int idx, LifecycleCallbackType value)
           
 void setPostActivate(LifecycleCallbackType[] values)
           
 LifecycleCallbackType setPostConstruct(int idx, LifecycleCallbackType value)
           
 void setPostConstruct(LifecycleCallbackType[] values)
           
 LifecycleCallbackType setPreDestroy(int idx, LifecycleCallbackType value)
           
 void setPreDestroy(LifecycleCallbackType[] values)
           
 LifecycleCallbackType setPrePassivate(int idx, LifecycleCallbackType value)
           
 void setPrePassivate(LifecycleCallbackType[] values)
           
 ResourceEnvRefType setResourceEnvRef(int idx, ResourceEnvRefType value)
           
 void setResourceEnvRef(ResourceEnvRefType[] values)
           
 ResourceRefType setResourceRef(int idx, ResourceRefType value)
           
 void setResourceRef(ResourceRefType[] values)
           
 ServiceRefType setServiceRef(int idx, ServiceRefType value)
           
 void setServiceRef(ServiceRefType[] values)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected DescriptionType[] description

interceptorClass

protected FullyQualifiedClassType interceptorClass

aroundInvoke

protected AroundInvokeType[] aroundInvoke

envEntry

protected EnvEntryType[] envEntry

ejbRef

protected EjbRefType[] ejbRef

ejbLocalRef

protected EjbLocalRefType[] ejbLocalRef

serviceRef

protected ServiceRefType[] serviceRef

resourceRef

protected ResourceRefType[] resourceRef

resourceEnvRef

protected ResourceEnvRefType[] resourceEnvRef

messageDestinationRef

protected MessageDestinationRefType[] messageDestinationRef

persistenceContextRef

protected PersistenceContextRefType[] persistenceContextRef

persistenceUnitRef

protected PersistenceUnitRefType[] persistenceUnitRef

postConstruct

protected LifecycleCallbackType[] postConstruct

preDestroy

protected LifecycleCallbackType[] preDestroy

postActivate

protected LifecycleCallbackType[] postActivate

prePassivate

protected LifecycleCallbackType[] prePassivate

id

protected String id
Constructor Detail

InterceptorType

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


InterceptorType

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

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

getDescription

public DescriptionType[] getDescription()
Returns:
array of DescriptionType

getDescription

public DescriptionType getDescription(int idx)
Returns:
one of DescriptionType

getDescriptionLength

public int getDescriptionLength()

setDescription

public void setDescription(DescriptionType[] values)
Parameters:
values - allowed objects are DescriptionType

setDescription

public DescriptionType setDescription(int idx,
                                      DescriptionType value)
Parameters:
value - allowed object is 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 AroundInvokeType[] getAroundInvoke()
Returns:
array of AroundInvokeType

getAroundInvoke

public AroundInvokeType getAroundInvoke(int idx)
Returns:
one of AroundInvokeType

getAroundInvokeLength

public int getAroundInvokeLength()

setAroundInvoke

public void setAroundInvoke(AroundInvokeType[] values)
Parameters:
values - allowed objects are AroundInvokeType

setAroundInvoke

public AroundInvokeType setAroundInvoke(int idx,
                                        AroundInvokeType value)
Parameters:
value - allowed object is AroundInvokeType

getEnvEntry

public EnvEntryType[] getEnvEntry()
Returns:
array of EnvEntryType

getEnvEntry

public EnvEntryType getEnvEntry(int idx)
Returns:
one of EnvEntryType

getEnvEntryLength

public int getEnvEntryLength()

setEnvEntry

public void setEnvEntry(EnvEntryType[] values)
Parameters:
values - allowed objects are EnvEntryType

setEnvEntry

public EnvEntryType setEnvEntry(int idx,
                                EnvEntryType value)
Parameters:
value - allowed object is EnvEntryType

getEjbRef

public EjbRefType[] getEjbRef()
Returns:
array of EjbRefType

getEjbRef

public EjbRefType getEjbRef(int idx)
Returns:
one of EjbRefType

getEjbRefLength

public int getEjbRefLength()

setEjbRef

public void setEjbRef(EjbRefType[] values)
Parameters:
values - allowed objects are EjbRefType

setEjbRef

public EjbRefType setEjbRef(int idx,
                            EjbRefType value)
Parameters:
value - allowed object is EjbRefType

getEjbLocalRef

public EjbLocalRefType[] getEjbLocalRef()
Returns:
array of EjbLocalRefType

getEjbLocalRef

public EjbLocalRefType getEjbLocalRef(int idx)
Returns:
one of EjbLocalRefType

getEjbLocalRefLength

public int getEjbLocalRefLength()

setEjbLocalRef

public void setEjbLocalRef(EjbLocalRefType[] values)
Parameters:
values - allowed objects are EjbLocalRefType

setEjbLocalRef

public EjbLocalRefType setEjbLocalRef(int idx,
                                      EjbLocalRefType value)
Parameters:
value - allowed object is EjbLocalRefType

getServiceRef

public ServiceRefType[] getServiceRef()
Returns:
array of ServiceRefType

getServiceRef

public ServiceRefType getServiceRef(int idx)
Returns:
one of ServiceRefType

getServiceRefLength

public int getServiceRefLength()

setServiceRef

public void setServiceRef(ServiceRefType[] values)
Parameters:
values - allowed objects are ServiceRefType

setServiceRef

public ServiceRefType setServiceRef(int idx,
                                    ServiceRefType value)
Parameters:
value - allowed object is ServiceRefType

getResourceRef

public ResourceRefType[] getResourceRef()
Returns:
array of ResourceRefType

getResourceRef

public ResourceRefType getResourceRef(int idx)
Returns:
one of ResourceRefType

getResourceRefLength

public int getResourceRefLength()

setResourceRef

public void setResourceRef(ResourceRefType[] values)
Parameters:
values - allowed objects are ResourceRefType

setResourceRef

public ResourceRefType setResourceRef(int idx,
                                      ResourceRefType value)
Parameters:
value - allowed object is ResourceRefType

getResourceEnvRef

public ResourceEnvRefType[] getResourceEnvRef()
Returns:
array of ResourceEnvRefType

getResourceEnvRef

public ResourceEnvRefType getResourceEnvRef(int idx)
Returns:
one of ResourceEnvRefType

getResourceEnvRefLength

public int getResourceEnvRefLength()

setResourceEnvRef

public void setResourceEnvRef(ResourceEnvRefType[] values)
Parameters:
values - allowed objects are ResourceEnvRefType

setResourceEnvRef

public ResourceEnvRefType setResourceEnvRef(int idx,
                                            ResourceEnvRefType value)
Parameters:
value - allowed object is ResourceEnvRefType

getMessageDestinationRef

public MessageDestinationRefType[] getMessageDestinationRef()
Returns:
array of MessageDestinationRefType

getMessageDestinationRef

public MessageDestinationRefType getMessageDestinationRef(int idx)
Returns:
one of MessageDestinationRefType

getMessageDestinationRefLength

public int getMessageDestinationRefLength()

setMessageDestinationRef

public void setMessageDestinationRef(MessageDestinationRefType[] values)
Parameters:
values - allowed objects are MessageDestinationRefType

setMessageDestinationRef

public MessageDestinationRefType setMessageDestinationRef(int idx,
                                                          MessageDestinationRefType value)
Parameters:
value - allowed object is MessageDestinationRefType

getPersistenceContextRef

public PersistenceContextRefType[] getPersistenceContextRef()
Returns:
array of PersistenceContextRefType

getPersistenceContextRef

public PersistenceContextRefType getPersistenceContextRef(int idx)
Returns:
one of PersistenceContextRefType

getPersistenceContextRefLength

public int getPersistenceContextRefLength()

setPersistenceContextRef

public void setPersistenceContextRef(PersistenceContextRefType[] values)
Parameters:
values - allowed objects are PersistenceContextRefType

setPersistenceContextRef

public PersistenceContextRefType setPersistenceContextRef(int idx,
                                                          PersistenceContextRefType value)
Parameters:
value - allowed object is PersistenceContextRefType

getPersistenceUnitRef

public PersistenceUnitRefType[] getPersistenceUnitRef()
Returns:
array of PersistenceUnitRefType

getPersistenceUnitRef

public PersistenceUnitRefType getPersistenceUnitRef(int idx)
Returns:
one of PersistenceUnitRefType

getPersistenceUnitRefLength

public int getPersistenceUnitRefLength()

setPersistenceUnitRef

public void setPersistenceUnitRef(PersistenceUnitRefType[] values)
Parameters:
values - allowed objects are PersistenceUnitRefType

setPersistenceUnitRef

public PersistenceUnitRefType setPersistenceUnitRef(int idx,
                                                    PersistenceUnitRefType value)
Parameters:
value - allowed object is PersistenceUnitRefType

getPostConstruct

public LifecycleCallbackType[] getPostConstruct()
Returns:
array of LifecycleCallbackType

getPostConstruct

public LifecycleCallbackType getPostConstruct(int idx)
Returns:
one of LifecycleCallbackType

getPostConstructLength

public int getPostConstructLength()

setPostConstruct

public void setPostConstruct(LifecycleCallbackType[] values)
Parameters:
values - allowed objects are LifecycleCallbackType

setPostConstruct

public LifecycleCallbackType setPostConstruct(int idx,
                                              LifecycleCallbackType value)
Parameters:
value - allowed object is LifecycleCallbackType

getPreDestroy

public LifecycleCallbackType[] getPreDestroy()
Returns:
array of LifecycleCallbackType

getPreDestroy

public LifecycleCallbackType getPreDestroy(int idx)
Returns:
one of LifecycleCallbackType

getPreDestroyLength

public int getPreDestroyLength()

setPreDestroy

public void setPreDestroy(LifecycleCallbackType[] values)
Parameters:
values - allowed objects are LifecycleCallbackType

setPreDestroy

public LifecycleCallbackType setPreDestroy(int idx,
                                           LifecycleCallbackType value)
Parameters:
value - allowed object is LifecycleCallbackType

getPostActivate

public LifecycleCallbackType[] getPostActivate()
Returns:
array of LifecycleCallbackType

getPostActivate

public LifecycleCallbackType getPostActivate(int idx)
Returns:
one of LifecycleCallbackType

getPostActivateLength

public int getPostActivateLength()

setPostActivate

public void setPostActivate(LifecycleCallbackType[] values)
Parameters:
values - allowed objects are LifecycleCallbackType

setPostActivate

public LifecycleCallbackType setPostActivate(int idx,
                                             LifecycleCallbackType value)
Parameters:
value - allowed object is LifecycleCallbackType

getPrePassivate

public LifecycleCallbackType[] getPrePassivate()
Returns:
array of LifecycleCallbackType

getPrePassivate

public LifecycleCallbackType getPrePassivate(int idx)
Returns:
one of LifecycleCallbackType

getPrePassivateLength

public int getPrePassivateLength()

setPrePassivate

public void setPrePassivate(LifecycleCallbackType[] values)
Parameters:
values - allowed objects are LifecycleCallbackType

setPrePassivate

public LifecycleCallbackType setPrePassivate(int idx,
                                             LifecycleCallbackType value)
Parameters:
value - allowed object is 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

protected void copyDescription(DescriptionType[] source)
Copies all values of property Description.

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

copyAroundInvoke

protected void copyAroundInvoke(AroundInvokeType[] source)
Copies all values of property AroundInvoke.

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

copyEnvEntry

protected void copyEnvEntry(EnvEntryType[] source)
Copies all values of property EnvEntry.

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

copyEjbRef

protected void copyEjbRef(EjbRefType[] source)
Copies all values of property EjbRef.

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

copyEjbLocalRef

protected void copyEjbLocalRef(EjbLocalRefType[] source)
Copies all values of property EjbLocalRef.

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

copyServiceRef

protected void copyServiceRef(ServiceRefType[] source)
Copies all values of property ServiceRef.

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

copyResourceRef

protected void copyResourceRef(ResourceRefType[] source)
Copies all values of property ResourceRef.

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

copyResourceEnvRef

protected void copyResourceEnvRef(ResourceEnvRefType[] source)
Copies all values of property ResourceEnvRef.

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

copyMessageDestinationRef

protected void copyMessageDestinationRef(MessageDestinationRefType[] source)
Copies all values of property MessageDestinationRef.

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

copyPersistenceContextRef

protected void copyPersistenceContextRef(PersistenceContextRefType[] source)
Copies all values of property PersistenceContextRef.

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

copyPersistenceUnitRef

protected void copyPersistenceUnitRef(PersistenceUnitRefType[] source)
Copies all values of property PersistenceUnitRef.

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

copyPostConstruct

protected void copyPostConstruct(LifecycleCallbackType[] source)
Copies all values of property PostConstruct.

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

copyPreDestroy

protected void copyPreDestroy(LifecycleCallbackType[] source)
Copies all values of property PreDestroy.

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

copyPostActivate

protected void copyPostActivate(LifecycleCallbackType[] source)
Copies all values of property PostActivate.

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

copyPrePassivate

protected void copyPrePassivate(LifecycleCallbackType[] source)
Copies all values of property PrePassivate.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source 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.