All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.shrinkwrap.descriptor.api.ejbjar32.EntityBeanType Maven / Gradle / Ivy

package org.jboss.shrinkwrap.descriptor.api.ejbjar32; 

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.PersistenceTypeType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.CmpVersionType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.CmpFieldType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.SecurityRoleRefType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.SecurityIdentityType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.QueryType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.IconType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.EnvEntryType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.EjbRefType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.EjbLocalRefType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.ResourceRefType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.ResourceEnvRefType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.MessageDestinationRefType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.PersistenceContextRefType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.PersistenceUnitRefType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.LifecycleCallbackType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.LifecycleCallbackType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.DataSourceType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.JmsConnectionFactoryType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.JmsDestinationType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.MailSessionType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.ConnectionFactoryResourceType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.AdministeredObjectType;
import org.jboss.shrinkwrap.descriptor.api.javaeewebservicesclient14.ServiceRefType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeEntityBeanCommonType;

import org.jboss.shrinkwrap.descriptor.api.ejbjar32.CmpFieldType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.SecurityRoleRefType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.SecurityIdentityType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.QueryType;/**
 * This interface defines the contract for the  entity-beanType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 */
public interface EntityBeanType extends Child, 
    JavaeeEntityBeanCommonType,
    CmpFieldType>,
    SecurityRoleRefType>,
    SecurityIdentityType>,
    QueryType>> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: xsd:string ElementType : description
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Creates for all String objects representing description elements, 
    * a new description element 
    * @param values list of description objects 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType description(String ... values);

   /**
    * Returns all description elements
    * @return list of description 
    */
   public List getAllDescription();

   /**
    * Removes the description element 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removeAllDescription();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: xsd:token ElementType : display-name
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Creates for all String objects representing display-name elements, 
    * a new display-name element 
    * @param values list of display-name objects 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType displayName(String ... values);

   /**
    * Returns all display-name elements
    * @return list of display-name 
    */
   public List getAllDisplayName();

   /**
    * Removes the display-name element 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removeAllDisplayName();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:iconType ElementType : icon
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new icon element will be created and returned.
    * Otherwise, the first existing icon element will be returned.
    * @return the instance defined for the element icon 
    */
   public IconType> getOrCreateIcon();

   /**
    * Creates a new icon element 
    * @return the new created instance of IconType> 
    */
   public IconType> createIcon();

   /**
    * Returns all icon elements
    * @return list of icon 
    */
   public List>> getAllIcon();

   /**
    * Removes all icon elements 
    * @return the current instance of IconType> 
    */
   public EntityBeanType removeAllIcon();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:env-entryType ElementType : env-entry
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new env-entry element will be created and returned.
    * Otherwise, the first existing env-entry element will be returned.
    * @return the instance defined for the element env-entry 
    */
   public EnvEntryType> getOrCreateEnvEntry();

   /**
    * Creates a new env-entry element 
    * @return the new created instance of EnvEntryType> 
    */
   public EnvEntryType> createEnvEntry();

   /**
    * Returns all env-entry elements
    * @return list of env-entry 
    */
   public List>> getAllEnvEntry();

   /**
    * Removes all env-entry elements 
    * @return the current instance of EnvEntryType> 
    */
   public EntityBeanType removeAllEnvEntry();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:ejb-refType ElementType : ejb-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new ejb-ref element will be created and returned.
    * Otherwise, the first existing ejb-ref element will be returned.
    * @return the instance defined for the element ejb-ref 
    */
   public EjbRefType> getOrCreateEjbRef();

   /**
    * Creates a new ejb-ref element 
    * @return the new created instance of EjbRefType> 
    */
   public EjbRefType> createEjbRef();

   /**
    * Returns all ejb-ref elements
    * @return list of ejb-ref 
    */
   public List>> getAllEjbRef();

   /**
    * Removes all ejb-ref elements 
    * @return the current instance of EjbRefType> 
    */
   public EntityBeanType removeAllEjbRef();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:ejb-local-refType ElementType : ejb-local-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new ejb-local-ref element will be created and returned.
    * Otherwise, the first existing ejb-local-ref element will be returned.
    * @return the instance defined for the element ejb-local-ref 
    */
   public EjbLocalRefType> getOrCreateEjbLocalRef();

   /**
    * Creates a new ejb-local-ref element 
    * @return the new created instance of EjbLocalRefType> 
    */
   public EjbLocalRefType> createEjbLocalRef();

   /**
    * Returns all ejb-local-ref elements
    * @return list of ejb-local-ref 
    */
   public List>> getAllEjbLocalRef();

   /**
    * Removes all ejb-local-ref elements 
    * @return the current instance of EjbLocalRefType> 
    */
   public EntityBeanType removeAllEjbLocalRef();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:resource-refType ElementType : resource-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new resource-ref element will be created and returned.
    * Otherwise, the first existing resource-ref element will be returned.
    * @return the instance defined for the element resource-ref 
    */
   public ResourceRefType> getOrCreateResourceRef();

   /**
    * Creates a new resource-ref element 
    * @return the new created instance of ResourceRefType> 
    */
   public ResourceRefType> createResourceRef();

   /**
    * Returns all resource-ref elements
    * @return list of resource-ref 
    */
   public List>> getAllResourceRef();

   /**
    * Removes all resource-ref elements 
    * @return the current instance of ResourceRefType> 
    */
   public EntityBeanType removeAllResourceRef();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:resource-env-refType ElementType : resource-env-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new resource-env-ref element will be created and returned.
    * Otherwise, the first existing resource-env-ref element will be returned.
    * @return the instance defined for the element resource-env-ref 
    */
   public ResourceEnvRefType> getOrCreateResourceEnvRef();

   /**
    * Creates a new resource-env-ref element 
    * @return the new created instance of ResourceEnvRefType> 
    */
   public ResourceEnvRefType> createResourceEnvRef();

   /**
    * Returns all resource-env-ref elements
    * @return list of resource-env-ref 
    */
   public List>> getAllResourceEnvRef();

   /**
    * Removes all resource-env-ref elements 
    * @return the current instance of ResourceEnvRefType> 
    */
   public EntityBeanType removeAllResourceEnvRef();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:message-destination-refType ElementType : message-destination-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new message-destination-ref element will be created and returned.
    * Otherwise, the first existing message-destination-ref element will be returned.
    * @return the instance defined for the element message-destination-ref 
    */
   public MessageDestinationRefType> getOrCreateMessageDestinationRef();

   /**
    * Creates a new message-destination-ref element 
    * @return the new created instance of MessageDestinationRefType> 
    */
   public MessageDestinationRefType> createMessageDestinationRef();

   /**
    * Returns all message-destination-ref elements
    * @return list of message-destination-ref 
    */
   public List>> getAllMessageDestinationRef();

   /**
    * Removes all message-destination-ref elements 
    * @return the current instance of MessageDestinationRefType> 
    */
   public EntityBeanType removeAllMessageDestinationRef();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:persistence-context-refType ElementType : persistence-context-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new persistence-context-ref element will be created and returned.
    * Otherwise, the first existing persistence-context-ref element will be returned.
    * @return the instance defined for the element persistence-context-ref 
    */
   public PersistenceContextRefType> getOrCreatePersistenceContextRef();

   /**
    * Creates a new persistence-context-ref element 
    * @return the new created instance of PersistenceContextRefType> 
    */
   public PersistenceContextRefType> createPersistenceContextRef();

   /**
    * Returns all persistence-context-ref elements
    * @return list of persistence-context-ref 
    */
   public List>> getAllPersistenceContextRef();

   /**
    * Removes all persistence-context-ref elements 
    * @return the current instance of PersistenceContextRefType> 
    */
   public EntityBeanType removeAllPersistenceContextRef();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:persistence-unit-refType ElementType : persistence-unit-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new persistence-unit-ref element will be created and returned.
    * Otherwise, the first existing persistence-unit-ref element will be returned.
    * @return the instance defined for the element persistence-unit-ref 
    */
   public PersistenceUnitRefType> getOrCreatePersistenceUnitRef();

   /**
    * Creates a new persistence-unit-ref element 
    * @return the new created instance of PersistenceUnitRefType> 
    */
   public PersistenceUnitRefType> createPersistenceUnitRef();

   /**
    * Returns all persistence-unit-ref elements
    * @return list of persistence-unit-ref 
    */
   public List>> getAllPersistenceUnitRef();

   /**
    * Removes all persistence-unit-ref elements 
    * @return the current instance of PersistenceUnitRefType> 
    */
   public EntityBeanType removeAllPersistenceUnitRef();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:lifecycle-callbackType ElementType : post-construct
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new post-construct element will be created and returned.
    * Otherwise, the first existing post-construct element will be returned.
    * @return the instance defined for the element post-construct 
    */
   public LifecycleCallbackType> getOrCreatePostConstruct();

   /**
    * Creates a new post-construct element 
    * @return the new created instance of LifecycleCallbackType> 
    */
   public LifecycleCallbackType> createPostConstruct();

   /**
    * Returns all post-construct elements
    * @return list of post-construct 
    */
   public List>> getAllPostConstruct();

   /**
    * Removes all post-construct elements 
    * @return the current instance of LifecycleCallbackType> 
    */
   public EntityBeanType removeAllPostConstruct();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:lifecycle-callbackType ElementType : pre-destroy
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new pre-destroy element will be created and returned.
    * Otherwise, the first existing pre-destroy element will be returned.
    * @return the instance defined for the element pre-destroy 
    */
   public LifecycleCallbackType> getOrCreatePreDestroy();

   /**
    * Creates a new pre-destroy element 
    * @return the new created instance of LifecycleCallbackType> 
    */
   public LifecycleCallbackType> createPreDestroy();

   /**
    * Returns all pre-destroy elements
    * @return list of pre-destroy 
    */
   public List>> getAllPreDestroy();

   /**
    * Removes all pre-destroy elements 
    * @return the current instance of LifecycleCallbackType> 
    */
   public EntityBeanType removeAllPreDestroy();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:data-sourceType ElementType : data-source
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new data-source element will be created and returned.
    * Otherwise, the first existing data-source element will be returned.
    * @return the instance defined for the element data-source 
    */
   public DataSourceType> getOrCreateDataSource();

   /**
    * Creates a new data-source element 
    * @return the new created instance of DataSourceType> 
    */
   public DataSourceType> createDataSource();

   /**
    * Returns all data-source elements
    * @return list of data-source 
    */
   public List>> getAllDataSource();

   /**
    * Removes all data-source elements 
    * @return the current instance of DataSourceType> 
    */
   public EntityBeanType removeAllDataSource();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:jms-connection-factoryType ElementType : jms-connection-factory
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new jms-connection-factory element will be created and returned.
    * Otherwise, the first existing jms-connection-factory element will be returned.
    * @return the instance defined for the element jms-connection-factory 
    */
   public JmsConnectionFactoryType> getOrCreateJmsConnectionFactory();

   /**
    * Creates a new jms-connection-factory element 
    * @return the new created instance of JmsConnectionFactoryType> 
    */
   public JmsConnectionFactoryType> createJmsConnectionFactory();

   /**
    * Returns all jms-connection-factory elements
    * @return list of jms-connection-factory 
    */
   public List>> getAllJmsConnectionFactory();

   /**
    * Removes all jms-connection-factory elements 
    * @return the current instance of JmsConnectionFactoryType> 
    */
   public EntityBeanType removeAllJmsConnectionFactory();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:jms-destinationType ElementType : jms-destination
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new jms-destination element will be created and returned.
    * Otherwise, the first existing jms-destination element will be returned.
    * @return the instance defined for the element jms-destination 
    */
   public JmsDestinationType> getOrCreateJmsDestination();

   /**
    * Creates a new jms-destination element 
    * @return the new created instance of JmsDestinationType> 
    */
   public JmsDestinationType> createJmsDestination();

   /**
    * Returns all jms-destination elements
    * @return list of jms-destination 
    */
   public List>> getAllJmsDestination();

   /**
    * Removes all jms-destination elements 
    * @return the current instance of JmsDestinationType> 
    */
   public EntityBeanType removeAllJmsDestination();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:mail-sessionType ElementType : mail-session
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new mail-session element will be created and returned.
    * Otherwise, the first existing mail-session element will be returned.
    * @return the instance defined for the element mail-session 
    */
   public MailSessionType> getOrCreateMailSession();

   /**
    * Creates a new mail-session element 
    * @return the new created instance of MailSessionType> 
    */
   public MailSessionType> createMailSession();

   /**
    * Returns all mail-session elements
    * @return list of mail-session 
    */
   public List>> getAllMailSession();

   /**
    * Removes all mail-session elements 
    * @return the current instance of MailSessionType> 
    */
   public EntityBeanType removeAllMailSession();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:connection-factory-resourceType ElementType : connection-factory
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new connection-factory element will be created and returned.
    * Otherwise, the first existing connection-factory element will be returned.
    * @return the instance defined for the element connection-factory 
    */
   public ConnectionFactoryResourceType> getOrCreateConnectionFactory();

   /**
    * Creates a new connection-factory element 
    * @return the new created instance of ConnectionFactoryResourceType> 
    */
   public ConnectionFactoryResourceType> createConnectionFactory();

   /**
    * Returns all connection-factory elements
    * @return list of connection-factory 
    */
   public List>> getAllConnectionFactory();

   /**
    * Removes all connection-factory elements 
    * @return the current instance of ConnectionFactoryResourceType> 
    */
   public EntityBeanType removeAllConnectionFactory();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:administered-objectType ElementType : administered-object
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new administered-object element will be created and returned.
    * Otherwise, the first existing administered-object element will be returned.
    * @return the instance defined for the element administered-object 
    */
   public AdministeredObjectType> getOrCreateAdministeredObject();

   /**
    * Creates a new administered-object element 
    * @return the new created instance of AdministeredObjectType> 
    */
   public AdministeredObjectType> createAdministeredObject();

   /**
    * Returns all administered-object elements
    * @return list of administered-object 
    */
   public List>> getAllAdministeredObject();

   /**
    * Removes all administered-object elements 
    * @return the current instance of AdministeredObjectType> 
    */
   public EntityBeanType removeAllAdministeredObject();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:service-refType ElementType : service-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new service-ref element will be created and returned.
    * Otherwise, the first existing service-ref element will be returned.
    * @return the instance defined for the element service-ref 
    */
   public ServiceRefType> getOrCreateServiceRef();

   /**
    * Creates a new service-ref element 
    * @return the new created instance of ServiceRefType> 
    */
   public ServiceRefType> createServiceRef();

   /**
    * Returns all service-ref elements
    * @return list of service-ref 
    */
   public List>> getAllServiceRef();

   /**
    * Removes all service-ref elements 
    * @return the current instance of ServiceRefType> 
    */
   public EntityBeanType removeAllServiceRef();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:xsdNMTOKENType ElementType : ejb-name
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the ejb-name element
    * @param ejbName the value for the element ejb-name 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType ejbName(String ejbName);

   /**
    * Returns the ejb-name element
    * @return the node defined for the element ejb-name 
    */
   public String getEjbName();

   /**
    * Removes the ejb-name element 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removeEjbName();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: xsd:string ElementType : mapped-name
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the mapped-name element
    * @param mappedName the value for the element mapped-name 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType mappedName(String mappedName);

   /**
    * Returns the mapped-name element
    * @return the node defined for the element mapped-name 
    */
   public String getMappedName();

   /**
    * Removes the mapped-name element 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removeMappedName();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:fully-qualified-classType ElementType : home
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the home element
    * @param home the value for the element home 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType home(String home);

   /**
    * Returns the home element
    * @return the node defined for the element home 
    */
   public String getHome();

   /**
    * Removes the home element 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removeHome();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:fully-qualified-classType ElementType : remote
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the remote element
    * @param remote the value for the element remote 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType remote(String remote);

   /**
    * Returns the remote element
    * @return the node defined for the element remote 
    */
   public String getRemote();

   /**
    * Removes the remote element 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removeRemote();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:fully-qualified-classType ElementType : local-home
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the local-home element
    * @param localHome the value for the element local-home 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType localHome(String localHome);

   /**
    * Returns the local-home element
    * @return the node defined for the element local-home 
    */
   public String getLocalHome();

   /**
    * Removes the local-home element 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removeLocalHome();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:fully-qualified-classType ElementType : local
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the local element
    * @param local the value for the element local 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType local(String local);

   /**
    * Returns the local element
    * @return the node defined for the element local 
    */
   public String getLocal();

   /**
    * Removes the local element 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removeLocal();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:fully-qualified-classType ElementType : ejb-class
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the ejb-class element
    * @param ejbClass the value for the element ejb-class 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType ejbClass(String ejbClass);

   /**
    * Returns the ejb-class element
    * @return the node defined for the element ejb-class 
    */
   public String getEjbClass();

   /**
    * Removes the ejb-class element 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removeEjbClass();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:persistence-typeType ElementType : persistence-type
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: true isDataType: false
   // --------------------------------------------------------------------------------------------------------||
   /**
    * Sets the persistence-type element
    * @param persistenceType the value for the element persistence-type 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType persistenceType(PersistenceTypeType persistenceType);
   /**
    * Sets the persistence-type element
    * @param persistenceType the value for the element persistence-type 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType persistenceType(String persistenceType);

   /**
    * Returns the persistence-type element
    * @return the value found for the element persistence-type 
    */
   public PersistenceTypeType getPersistenceType();

   /**
    * Returns the persistence-type element
    * @return the value found for the element persistence-type 
    */
   public String  getPersistenceTypeAsString();

   /**
    * Removes the persistence-type attribute 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removePersistenceType();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: xsd:token ElementType : prim-key-class
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the prim-key-class element
    * @param primKeyClass the value for the element prim-key-class 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType primKeyClass(String primKeyClass);

   /**
    * Returns the prim-key-class element
    * @return the node defined for the element prim-key-class 
    */
   public String getPrimKeyClass();

   /**
    * Removes the prim-key-class element 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removePrimKeyClass();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:xsdBooleanType ElementType : reentrant
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the reentrant element
    * @param reentrant the value for the element reentrant 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType reentrant(Boolean reentrant);

   /**
    * Returns the reentrant element
    * @return the node defined for the element reentrant 
    */
   public Boolean isReentrant();

   /**
    * Removes the reentrant element 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removeReentrant();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:cmp-versionType ElementType : cmp-version
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: true isDataType: false
   // --------------------------------------------------------------------------------------------------------||
   /**
    * Sets the cmp-version element
    * @param cmpVersion the value for the element cmp-version 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType cmpVersion(CmpVersionType cmpVersion);
   /**
    * Sets the cmp-version element
    * @param cmpVersion the value for the element cmp-version 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType cmpVersion(String cmpVersion);

   /**
    * Returns the cmp-version element
    * @return the value found for the element cmp-version 
    */
   public CmpVersionType getCmpVersion();

   /**
    * Returns the cmp-version element
    * @return the value found for the element cmp-version 
    */
   public String  getCmpVersionAsString();

   /**
    * Removes the cmp-version attribute 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removeCmpVersion();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: xsd:token ElementType : abstract-schema-name
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the abstract-schema-name element
    * @param abstractSchemaName the value for the element abstract-schema-name 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType abstractSchemaName(String abstractSchemaName);

   /**
    * Returns the abstract-schema-name element
    * @return the node defined for the element abstract-schema-name 
    */
   public String getAbstractSchemaName();

   /**
    * Removes the abstract-schema-name element 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removeAbstractSchemaName();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:cmp-fieldType ElementType : cmp-field
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new cmp-field element will be created and returned.
    * Otherwise, the first existing cmp-field element will be returned.
    * @return the instance defined for the element cmp-field 
    */
   public CmpFieldType> getOrCreateCmpField();

   /**
    * Creates a new cmp-field element 
    * @return the new created instance of CmpFieldType> 
    */
   public CmpFieldType> createCmpField();

   /**
    * Returns all cmp-field elements
    * @return list of cmp-field 
    */
   public List>> getAllCmpField();

   /**
    * Removes all cmp-field elements 
    * @return the current instance of CmpFieldType> 
    */
   public EntityBeanType removeAllCmpField();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: xsd:token ElementType : primkey-field
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the primkey-field element
    * @param primkeyField the value for the element primkey-field 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType primkeyField(String primkeyField);

   /**
    * Returns the primkey-field element
    * @return the node defined for the element primkey-field 
    */
   public String getPrimkeyField();

   /**
    * Removes the primkey-field element 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removePrimkeyField();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:security-role-refType ElementType : security-role-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new security-role-ref element will be created and returned.
    * Otherwise, the first existing security-role-ref element will be returned.
    * @return the instance defined for the element security-role-ref 
    */
   public SecurityRoleRefType> getOrCreateSecurityRoleRef();

   /**
    * Creates a new security-role-ref element 
    * @return the new created instance of SecurityRoleRefType> 
    */
   public SecurityRoleRefType> createSecurityRoleRef();

   /**
    * Returns all security-role-ref elements
    * @return list of security-role-ref 
    */
   public List>> getAllSecurityRoleRef();

   /**
    * Removes all security-role-ref elements 
    * @return the current instance of SecurityRoleRefType> 
    */
   public EntityBeanType removeAllSecurityRoleRef();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:security-identityType ElementType : security-identity
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new security-identity element with the given value will be created.
    * Otherwise, the existing security-identity element will be returned.
    * @return  a new or existing instance of SecurityIdentityType> 
    */
   public SecurityIdentityType> getOrCreateSecurityIdentity();

   /**
    * Removes the security-identity element 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removeSecurityIdentity();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: javaee:queryType ElementType : query
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new query element will be created and returned.
    * Otherwise, the first existing query element will be returned.
    * @return the instance defined for the element query 
    */
   public QueryType> getOrCreateQuery();

   /**
    * Creates a new query element 
    * @return the new created instance of QueryType> 
    */
   public QueryType> createQuery();

   /**
    * Returns all query elements
    * @return list of query 
    */
   public List>> getAllQuery();

   /**
    * Removes all query elements 
    * @return the current instance of QueryType> 
    */
   public EntityBeanType removeAllQuery();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: EntityBeanType ElementName: xsd:ID ElementType : id
   // MaxOccurs: -  isGeneric: true   isAttribute: true isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the id attribute
    * @param id the value for the attribute id 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType id(String id);

   /**
    * Returns the id attribute
    * @return the value defined for the attribute id 
    */
   public String getId();

   /**
    * Removes the id attribute 
    * @return the current instance of EntityBeanType 
    */
   public EntityBeanType removeId();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy