|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.j2ee.BeanMetaDataImpl
public class BeanMetaDataImpl
Simple implementation of the BeanMetaData interface. TODO: rework this class to have a hierarchy to distinguish between entities and other beans.
| Method Summary | |
|---|---|
org.eclipse.jst.j2ee.ejb.EnterpriseBean |
getBean()
|
java.util.Collection<FieldReference> |
getCMPFields()
Return a Set of FieldReferences, one corresponding to each CMP field in this bean. |
java.util.Set<java.lang.Object> |
getCMRFields()
Return a Set of the bean's container managed relationship fields, as FieldReference objects. |
java.util.Map<MethodReference,FieldReference> |
getCMRGetters()
Return the Set of container created getter methods for CMRs, as a mapping from MethodReference->FieldReference. |
java.util.Map<MethodReference,FieldReference> |
getCMRSetters()
Return the Set of container created setter methods for CMRs, as a mapping from MethodReference->FieldReference. |
TypeReference |
getEJBClass()
Return the type of the EJB class for this entity bean |
org.eclipse.jst.j2ee.ejb.EJBJar |
getEJBJar()
|
FieldReference |
getField(org.eclipse.jst.j2ee.ejb.CMRField field)
Method getField. |
java.util.Set<MethodReference> |
getFinders()
Return the Set of container created finder methods, as Method reference objects. |
java.util.Map<java.lang.Object,FieldReference> |
getGetterMethods()
Return the Set of container created getter methods, as MethodReference objects. |
TypeReference |
getHomeInterface()
|
TypeReference |
getLocalHomeInterface()
|
TypeReference |
getLocalInterface()
|
TypeReference |
getPrimaryKeyType()
|
TypeReference |
getRemoteInterface()
|
java.util.Map<java.lang.Object,FieldReference> |
getSetterMethods()
Return the Set of container created setter methods, as Method reference objects. |
int |
hashCode()
|
boolean |
isBeanManaged()
Return true if the bean uses BMP |
boolean |
isContainerManaged()
Return true if the bean is container managed. |
boolean |
isContainerManagedEntity()
Return true if the bean is a container managed entity. |
boolean |
isMessageDrivenBean()
Return true if the bean is a message-driven |
boolean |
isSessionBean()
Return true if the bean is a session bean. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.util.Collection<FieldReference> getCMPFields()
getCMPFields in interface BeanMetaDatapublic java.util.Set<java.lang.Object> getCMRFields()
getCMRFields in interface BeanMetaDatapublic java.util.Map<java.lang.Object,FieldReference> getGetterMethods()
getGetterMethods in interface BeanMetaDataBeanMetaData.getGetterMethods()public java.util.Map<MethodReference,FieldReference> getCMRGetters()
getCMRGetters in interface BeanMetaDatapublic java.util.Map<java.lang.Object,FieldReference> getSetterMethods()
getSetterMethods in interface BeanMetaDataBeanMetaData.getSetterMethods()public java.util.Map<MethodReference,FieldReference> getCMRSetters()
getCMRSetters in interface BeanMetaDatapublic java.util.Set<MethodReference> getFinders()
getFinders in interface BeanMetaDatapublic TypeReference getEJBClass()
BeanMetaData
getEJBClass in interface BeanMetaDataBeanMetaData.getEJBClass()public boolean isContainerManaged()
BeanMetaData
isContainerManaged in interface BeanMetaDatapublic boolean isContainerManagedEntity()
BeanMetaData
isContainerManagedEntity in interface BeanMetaDatapublic boolean isSessionBean()
BeanMetaData
isSessionBean in interface BeanMetaDatapublic boolean isMessageDrivenBean()
BeanMetaData
isMessageDrivenBean in interface BeanMetaDatapublic FieldReference getField(org.eclipse.jst.j2ee.ejb.CMRField field)
BeanMetaData
getField in interface BeanMetaDataBeanMetaData.getField(CMRField)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public org.eclipse.jst.j2ee.ejb.EnterpriseBean getBean()
getBean in interface BeanMetaDatapublic TypeReference getHomeInterface()
getHomeInterface in interface BeanMetaDatapublic TypeReference getLocalHomeInterface()
getLocalHomeInterface in interface BeanMetaDatapublic TypeReference getRemoteInterface()
getRemoteInterface in interface BeanMetaDatapublic TypeReference getLocalInterface()
getLocalInterface in interface BeanMetaDatapublic TypeReference getPrimaryKeyType()
getPrimaryKeyType in interface BeanMetaDatapublic boolean isBeanManaged()
BeanMetaData
isBeanManaged in interface BeanMetaDatapublic org.eclipse.jst.j2ee.ejb.EJBJar getEJBJar()
getEJBJar in interface BeanMetaDatapublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||