Class EjbEntityDescriptor

    • Constructor Detail

      • EjbEntityDescriptor

        public EjbEntityDescriptor()
        The default constructor.
      • EjbEntityDescriptor

        public EjbEntityDescriptor​(EjbDescriptor other)
        The copy constructor.
    • Method Detail

      • setTransactionType

        public void setTransactionType​(String transactionType)
        Sets the transaction type for this entity bean. Throws an illegal argument exception if this type is not CONTAINER_TRANSACTION_TYPE.
        Specified by:
        setTransactionType in class EjbDescriptor
      • isReentrant

        public boolean isReentrant()
        Return true if this entity bean is reentrant, false else.
      • getReentrant

        public String getReentrant()
      • setReentrant

        public void setReentrant​(String reentrantString)
      • setReentrant

        public void setReentrant​(boolean isReentrant)
        Sets the isReentrant flag for this bean.
      • getPersistenceType

        public String getPersistenceType()
        Returns the persistence type for this entity bean. Defaults to BEAN_PERSISTENCE.
      • setPersistenceType

        public void setPersistenceType​(String persistenceType)
        Sets the persistence type for this entity bean. Allowable values are BEAN_PERSISTENCE or CONTAINER_PERSISTENCE, or else an IllegalArgumentException is thrown.
      • getPrimaryKeyClassName

        public String getPrimaryKeyClassName()
        Return the classname of the primary key for this bean, or the empty string if none has been set.
      • setPrimaryKeyClassName

        public void setPrimaryKeyClassName​(String primaryKeyClassName)
        Set the classname of the primary key used by this bean.
      • getType

        public String getType()
        Returns the type of this bean. EjbEntityDescriptor.TYPE