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

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

public class LifecycleCallbackType
extends Object
implements Serializable, Cloneable

The lifecycle-callback type specifies a method on a class to be called when a lifecycle event occurs. Note that each class may have only one lifecycle callback method for any given event and that the method may not be overloaded. If the lifefycle-callback-class element is missing then the class defining the callback is assumed to be the component class in scope at the place in the descriptor in which the callback definition appears.

Java class for lifecycle-callbackType complex type.

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

 <complexType name="lifecycle-callbackType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="lifecycle-callback-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/>
         <element name="lifecycle-callback-method" type="{http://java.sun.com/xml/ns/javaee}java-identifierType"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  FullyQualifiedClassType lifecycleCallbackClass
           
protected  JavaIdentifierType lifecycleCallbackMethod
           
 
Constructor Summary
LifecycleCallbackType()
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.javaee.LifecycleCallbackType instance.
LifecycleCallbackType(LifecycleCallbackType o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.javaee.LifecycleCallbackType instance by copying a given instance.
 
Method Summary
 LifecycleCallbackType clone()
          Creates and returns a copy of this object.
 FullyQualifiedClassType getLifecycleCallbackClass()
          Gets the value of the lifecycleCallbackClass property.
 JavaIdentifierType getLifecycleCallbackMethod()
          Gets the value of the lifecycleCallbackMethod property.
 void setLifecycleCallbackClass(FullyQualifiedClassType value)
          Sets the value of the lifecycleCallbackClass property.
 void setLifecycleCallbackMethod(JavaIdentifierType value)
          Sets the value of the lifecycleCallbackMethod property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lifecycleCallbackClass

protected FullyQualifiedClassType lifecycleCallbackClass

lifecycleCallbackMethod

protected JavaIdentifierType lifecycleCallbackMethod
Constructor Detail

LifecycleCallbackType

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


LifecycleCallbackType

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

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

getLifecycleCallbackClass

public FullyQualifiedClassType getLifecycleCallbackClass()
Gets the value of the lifecycleCallbackClass property.

Returns:
possible object is FullyQualifiedClassType

setLifecycleCallbackClass

public void setLifecycleCallbackClass(FullyQualifiedClassType value)
Sets the value of the lifecycleCallbackClass property.

Parameters:
value - allowed object is FullyQualifiedClassType

getLifecycleCallbackMethod

public JavaIdentifierType getLifecycleCallbackMethod()
Gets the value of the lifecycleCallbackMethod property.

Returns:
possible object is JavaIdentifierType

setLifecycleCallbackMethod

public void setLifecycleCallbackMethod(JavaIdentifierType value)
Sets the value of the lifecycleCallbackMethod property.

Parameters:
value - allowed object is JavaIdentifierType

clone

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