org.objectweb.easybeans.deployment.annotations.impl
Class JInterface
java.lang.Object
org.objectweb.easybeans.deployment.annotations.impl.JInterface
- Direct Known Subclasses:
- JLocal, JRemote
public abstract class JInterface
- extends java.lang.Object
List of interfaces.
- Author:
- Florent Benoit
Field Summary |
private java.util.List<java.lang.String> |
interfaces
List of interfaces. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
interfaces
private java.util.List<java.lang.String> interfaces
- List of interfaces.
JInterface
public JInterface()
- Constructor.
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