Modified: incubator/ode/trunk/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/hobj/HProcess.java URL: http://svn.apache.org/viewvc/incubator/ode/trunk/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/hobj/HProcess.java?rev=431739&r1=431738&r2=431739&view=diff ============================================================================== --- incubator/ode/trunk/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/hobj/HProcess.java (original) +++ incubator/ode/trunk/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/hobj/HProcess.java Tue Aug 15 16:45:15 2006 @@ -33,265 +33,276 @@ */ public class HProcess extends HObject{ - /** [EMAIL PROTECTED] HCorrelator}s for this process. */ - private Set<HCorrelator> _correlators = new HashSet<HCorrelator>(); + /** [EMAIL PROTECTED] HCorrelator}s for this process. */ + private Set<HCorrelator> _correlators = new HashSet<HCorrelator>(); - /** Instances of this BPEL process. */ - private Collection<HProcessInstance> _instances = new HashSet<HProcessInstance>(); + /** Instances of this BPEL process. */ + private Collection<HProcessInstance> _instances = new HashSet<HProcessInstance>(); - /** [EMAIL PROTECTED] HProcessProperty}s for this process. */ - private Set<HProcessProperty> _properties = new HashSet<HProcessProperty>(); + /** [EMAIL PROTECTED] HProcessProperty}s for this process. */ + private Set<HProcessProperty> _properties = new HashSet<HProcessProperty>(); + + /** Events belonging to this BPEL process. */ + private Collection<HBpelEvent> _events = new HashSet<HBpelEvent>(); + + /** Partnerlinks defined on this process */ + private Set<HPartnerLink> _plinks = new HashSet<HPartnerLink>(); + + /** Message exchanges associated with this process. */ + private Set<HMessageExchange> _messageExchanges = new HashSet<HMessageExchange>(); + + /** Simple name of the process. */ + private String _processId; + + /** User that deployed the process. */ + private String _deployer; + + /** Date of last deployment. */ + private Date _deployDate; + + /** Process name. */ + private String _typeName; + + /** Process namespace. */ + private String _typeNamespace; + + /** Process version. */ + private int _version; + + /** Whether process is retired */ + private boolean _retired; + + private boolean _active; + + private HLargeData _compiledProcess; + + /** + * @hibernate.set + * lazy="true" + * inverse="true" + * cascade="delete" + * @hibernate.collection-key + * column="PROCESS" + * @hibernate.collection-one-to-many + * class="org.apache.ode.daohib.bpel.hobj.HMessageExchange" + */ + public Set<HMessageExchange> getMessageExchanges() { + return _messageExchanges; + } + + public void setMessageExchanges(Set<HMessageExchange> exchanges) { + _messageExchanges = exchanges; + } + + /** + * @hibernate.set + * lazy="true" + * inverse="true" + * cascade="delete" + * @hibernate.collection-key + * column="PROCESS_ID" + * @hibernate.collection-one-to-many + * class="org.apache.ode.daohib.bpel.hobj.HCorrelator" + */ + public Set<HCorrelator> getCorrelators() { + return _correlators; + } + + public void setCorrelators(Set<HCorrelator> correlators) { + _correlators = correlators; + } + + /** + * @hibernate.bag + * lazy="true" + * inverse="true" + * cascade="delete" + * @hibernate.collection-key + * column="PROCESS_ID" + * @hibernate.collection-one-to-many + * class="org.apache.ode.daohib.bpel.hobj.HProcessInstance" + */ + public Collection<HProcessInstance> getInstances() { + return _instances; + } + + public void setInstances(Collection<HProcessInstance> instances) { + _instances = instances; + } + + /** + * @hibernate.set + * lazy="true" + * inverse="true" + * cascade="delete" + * @hibernate.collection-key + * column="PROCESS_ID" + * @hibernate.collection-one-to-many + * class="org.apache.ode.daohib.bpel.hobj.HProcessProperty" + */ + public Set<HProcessProperty> getProperties() { + return _properties; + } + + public void setProperties(Set<HProcessProperty> properties) { + _properties = properties; + } + + /** + * @hibernate.bag + * lazy="true" + * inverse="true" + * cascade="delete" + * @hibernate.collection-key + * column="PID" + * @hibernate.collection-one-to-many + * class="org.apache.ode.daohib.bpel.hobj.HBpelEvent" + */ + public Collection<HBpelEvent> getEvents() { + return _events; + } + + public void setEvents(Collection<HBpelEvent> events) { + _events = events; + } + + /** + * Get the partner links values as deployed. + * + * @return [EMAIL PROTECTED] Set}<[EMAIL PROTECTED] HPartnerLink}> with variable values + * @hibernate.set lazy="false" inverse="true" cascade="delete" + * @hibernate.collection-key column="PROCESS" + * @hibernate.collection-one-to-many class="org.apache.ode.daohib.bpel.hobj.HPartnerLink" + */ + public Set<HPartnerLink> getDeploymentPartnerLinks() { + return _plinks; + } + + /** + * Set the partner links as deployed. + * @param partnerlinks + */ + public void setDeploymentPartnerLinks(Set<HPartnerLink> partnerlinks) { + _plinks = partnerlinks; + } + + + /** + * + * @hibernate.property + * @hibernate.column + * name="PROCID" + * not-null="true" + * unique="true" + */ + public String getProcessId() { + return _processId; + } + + public void setProcessId(String processId) { + _processId = processId; + } + + /** + * The user that deployed the process. + * @hibernate.property + * column="deployer" + */ + public String getDeployer() { + return _deployer; + } + + public void setDeployer(String deployer) { + _deployer = deployer; + } + + + + /** + * The date the process was deployed. + * @hibernate.property + * column="deploydate" + */ + public Date getDeployDate() { + return _deployDate; + } + + public void setDeployDate(Date deployDate) { + _deployDate = deployDate; + } + + /** + * The type of the process (BPEL process definition name). + * @hibernate.property + * column="type_name" + */ + public String getTypeName() { + return _typeName; + } + + public void setTypeName(String processName) { + _typeName = processName; + } + + /** + * The type of the process (BPEL process definition name). + * @hibernate.property + * column="type_ns" + */ + public String getTypeNamespace() { + return _typeNamespace; + } + + public void setTypeNamespace(String processName) { + _typeNamespace = processName; + } + + /** + * The process version. + * @hibernate.property + * column="version" + */ + public int getVersion() { + return _version; + } + + public void setVersion(int version) { + _version = version; + } + + /** + * The process status. + * @hibernate.property + * column="RETIRED" + */ + public boolean isRetired() { + return _retired; + } + + public void setRetired(boolean retired) { + this._retired = retired; + } + + /** + * The process status. + * @hibernate.property + * column="ACTIVE" + */ + public boolean isActive() { + return _active; + } + + public void setActive(boolean active) { + _active = active; + } + + /** @hibernate.many-to-one column="CBP" */ + public HLargeData getCompiledProcess() { + return _compiledProcess; + } + + public void setCompiledProcess(HLargeData compiledProcess) { + _compiledProcess = compiledProcess; + } - /** Events belonging to this BPEL process. */ - private Collection<HBpelEvent> _events = new HashSet<HBpelEvent>(); - - /** Partnerlinks defined on this process */ - private Set<HPartnerLink> _plinks = new HashSet<HPartnerLink>(); - - /** Message exchanges associated with this process. */ - private Set<HMessageExchange> _messageExchanges = new HashSet<HMessageExchange>(); - - /** Simple name of the process. */ - private String _processId; - - /** User that deployed the process. */ - private String _deployer; - - /** Date of last deployment. */ - private Date _deployDate; - - /** Process name. */ - private String _type; - - /** Process version. */ - private int _version; - - /** Whether process is retired */ - private boolean _retired; - - private boolean _active; - - private HLargeData _compiledProcess; - - /** - * @hibernate.set - * lazy="true" - * inverse="true" - * cascade="delete" - * @hibernate.collection-key - * column="PROCESS" - * @hibernate.collection-one-to-many - * class="org.apache.ode.daohib.bpel.hobj.HMessageExchange" - */ - public Set<HMessageExchange> getMessageExchanges() { - return _messageExchanges; - } - - public void setMessageExchanges(Set<HMessageExchange> exchanges) { - _messageExchanges = exchanges; - } - - /** - * @hibernate.set - * lazy="true" - * inverse="true" - * cascade="delete" - * @hibernate.collection-key - * column="PROCESS_ID" - * @hibernate.collection-one-to-many - * class="org.apache.ode.daohib.bpel.hobj.HCorrelator" - */ - public Set<HCorrelator> getCorrelators() { - return _correlators; - } - - public void setCorrelators(Set<HCorrelator> correlators) { - _correlators = correlators; - } - - /** - * @hibernate.bag - * lazy="true" - * inverse="true" - * cascade="delete" - * @hibernate.collection-key - * column="PROCESS_ID" - * @hibernate.collection-one-to-many - * class="org.apache.ode.daohib.bpel.hobj.HProcessInstance" - */ - public Collection<HProcessInstance> getInstances() { - return _instances; - } - - public void setInstances(Collection<HProcessInstance> instances) { - _instances = instances; - } - - /** - * @hibernate.set - * lazy="true" - * inverse="true" - * cascade="delete" - * @hibernate.collection-key - * column="PROCESS_ID" - * @hibernate.collection-one-to-many - * class="org.apache.ode.daohib.bpel.hobj.HProcessProperty" - */ - public Set<HProcessProperty> getProperties() { - return _properties; - } - - public void setProperties(Set<HProcessProperty> properties) { - _properties = properties; - } - - /** - * @hibernate.bag - * lazy="true" - * inverse="true" - * cascade="delete" - * @hibernate.collection-key - * column="PID" - * @hibernate.collection-one-to-many - * class="org.apache.ode.daohib.bpel.hobj.HBpelEvent" - */ - public Collection<HBpelEvent> getEvents() { - return _events; - } - - public void setEvents(Collection<HBpelEvent> events) { - _events = events; - } - - /** - * Get the partner links values as deployed. - * - * @return [EMAIL PROTECTED] Set}<[EMAIL PROTECTED] HPartnerLink}> with variable values - * @hibernate.set lazy="false" inverse="true" cascade="delete" - * @hibernate.collection-key column="PROCESS" - * @hibernate.collection-one-to-many class="org.apache.ode.daohib.bpel.hobj.HPartnerLink" - */ - public Set<HPartnerLink> getDeploymentPartnerLinks() { - return _plinks; - } - - /** - * Set the partner links as deployed. - * @param partnerlinks - */ - public void setDeploymentPartnerLinks(Set<HPartnerLink> partnerlinks) { - _plinks = partnerlinks; - } - - - /** - * - * @hibernate.property - * @hibernate.column - * name="PROCID" - * not-null="true" - * unique="true" - */ - public String getProcessId() { - return _processId; - } - - public void setProcessId(String processId) { - _processId = processId; - } - - /** - * The user that deployed the process. - * @hibernate.property - * column="deployer" - */ - public String getDeployer() { - return _deployer; - } - - public void setDeployer(String deployer) { - _deployer = deployer; - } - - - - /** - * The date the process was deployed. - * @hibernate.property - * column="deploydate" - */ - public Date getDeployDate() { - return _deployDate; - } - - - - public void setDeployDate(Date deployDate) { - _deployDate = deployDate; - } - - - - /** - * The type of the process (BPEL process definition name). - * @hibernate.property - * column="type" - */ - public String getType() { - return _type; - } - - - public void setType(String processName) { - _type = processName; - } - - /** - * The process version. - * @hibernate.property - * column="version" - */ - public int getVersion() { - return _version; - } - - public void setVersion(int version) { - _version = version; - } - - /** - * The process status. - * @hibernate.property - * column="RETIRED" - */ - public boolean isRetired() { - return _retired; - } - - public void setRetired(boolean retired) { - this._retired = retired; - } - - /** - * The process status. - * @hibernate.property - * column="ACTIVE" - */ - public boolean isActive() { - return _active; - } - - public void setActive(boolean active) { - _active = active; - } - - /** @hibernate.many-to-one column="CBP" */ - public HLargeData getCompiledProcess() { - return _compiledProcess; - } - - public void setCompiledProcess(HLargeData compiledProcess) { - _compiledProcess = compiledProcess; - } - }
