com.bm.ejb3metadata.annotations.impl
Class JRemove

java.lang.Object
  extended by com.bm.ejb3metadata.annotations.impl.JRemove
All Implemented Interfaces:
java.lang.annotation.Annotation, Remove

public class JRemove
extends java.lang.Object
implements Remove

Acts as an implementation of @Remove annotation.

Author:
Daniel Wiese

Constructor Summary
JRemove()
          Build an object which represents@Remove.
Default value for retainIfException is false.
JRemove(boolean retainIfException)
          Build an object which represents@Remove with a given boolean.
 
Method Summary
 java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
           
 boolean retainIfException()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.lang.annotation.Annotation
equals, hashCode
 

Constructor Detail

JRemove

public JRemove()
Build an object which represents@Remove.
Default value for retainIfException is false.


JRemove

public JRemove(boolean retainIfException)
Build an object which represents@Remove with a given boolean.

Parameters:
retainIfException - true/false (false is a default value)
Method Detail

retainIfException

public boolean retainIfException()
Returns:
the retainIfException value (true/false).

annotationType

public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
Specified by:
annotationType in interface java.lang.annotation.Annotation
Returns:
annotation type.

toString

public java.lang.String toString()
Specified by:
toString in interface java.lang.annotation.Annotation
Overrides:
toString in class java.lang.Object
Returns:
string representation.


Copyright © 2008. All Rights Reserved.