org.ow2.util.ee.metadata.ejbjar.api.struct
Interface IJCommonBean

All Known Subinterfaces:
IJMessageDriven

public interface IJCommonBean

IJCommonBean.

Author:
Gael Lalire

Method Summary
 void addAlias(java.lang.String ejbName)
          Adds an alias to the list of the names.
 java.util.List<java.lang.String> getAliases()
           
 java.lang.String getDescription()
           
 java.lang.String getMappedName()
           
 java.lang.String getName()
           
 boolean isDefaultName()
           
 void setDefaultName(boolean defaultName)
          Is that this name is a default name ?
 void setDescription(java.lang.String description)
          Sets the description.
 void setMappedName(java.lang.String mappedName)
          Sets the mapped name.
 void setName(java.lang.String name)
          Sets the bean name.
 

Method Detail

getDescription

java.lang.String getDescription()
Returns:
the description.

setDescription

void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - value of description

getMappedName

java.lang.String getMappedName()
Returns:
the mapped name (JNDI ?)

setMappedName

void setMappedName(java.lang.String mappedName)
Sets the mapped name.

Parameters:
mappedName - the value to set

getName

java.lang.String getName()
Returns:
name of the bean.

setName

void setName(java.lang.String name)
Sets the bean name.

Parameters:
name - the bean's name

isDefaultName

boolean isDefaultName()
Returns:
true if the bean is the default name (set with annotation)

setDefaultName

void setDefaultName(boolean defaultName)
Is that this name is a default name ?

Parameters:
defaultName - boolean true/false

getAliases

java.util.List<java.lang.String> getAliases()
Returns:
a list of aliases (ejb-names)

addAlias

void addAlias(java.lang.String ejbName)
Adds an alias to the list of the names.

Parameters:
ejbName - the name of the ejb


Copyright © 2007-2008 OW2 Consortium. All Rights Reserved.