com.bm.ejb3metadata.annotations.impl
Class JInterface

java.lang.Object
  extended by com.bm.ejb3metadata.annotations.impl.JInterface
Direct Known Subclasses:
JLocal, JRemote

public abstract class JInterface
extends java.lang.Object

List of interfaces.

Author:
Daniel Wiese

Constructor Summary
JInterface()
          Constructor.
 
Method Summary
 void addInterface(java.lang.String itf)
          Add an interface.
 boolean contains(java.lang.String itf)
           
 java.util.List<java.lang.String> getInterfaces()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JInterface

public JInterface()
Constructor.

Method Detail

addInterface

public void addInterface(java.lang.String itf)
Add an interface.

Parameters:
itf - name of the interface (asm)

getInterfaces

public java.util.List<java.lang.String> getInterfaces()
Returns:
list of interfaces.

contains

public boolean contains(java.lang.String itf)
Parameters:
itf - the name of an encoded interface.
Returns:
true if the interface is already in the list.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
string representation


Copyright © 2008. All Rights Reserved.