Hi,
here is a link to the class-diagram:
http://www.frank-dienst.de/Klassen.bmp
The PK-class:
| /*
| * Generated by XDoclet - Do not edit!
| */
| package bp.ejb.entityBeans.pk;
|
| /**
| * Primary key for Brief.
| * @author Frank Lemke
| */
| public class SkrontoEintragPK
| extends bp.ejb.entityBeans.interfaces.SkrontoEintragPK
| implements java.io.Serializable
| {
| private int _hashCode = 0;
| private StringBuffer _toStringValue = null;
|
| public java.lang.String nameAkteurPK;
| public java.lang.String nameAktienGesellschaftPK;
| public int skrontoNrPK;
|
| public SkrontoEintragPK()
| {
| }
|
| public SkrontoEintragPK( java.lang.String nameAkteurPK,java.lang.String
nameAktienGesellschaftPK,int skrontoNrPK )
| {
| this.nameAkteurPK = nameAkteurPK;
| this.nameAktienGesellschaftPK = nameAktienGesellschaftPK;
| this.skrontoNrPK = skrontoNrPK;
| }
|
| public java.lang.String getNameAkteurPK()
| {
| return nameAkteurPK;
| }
| public java.lang.String getNameAktienGesellschaftPK()
| {
| return nameAktienGesellschaftPK;
| }
| public int getSkrontoNrPK()
| {
| return skrontoNrPK;
| }
|
| public void setNameAkteurPK(java.lang.String nameAkteurPK)
| {
| this.nameAkteurPK = nameAkteurPK;
| _hashCode = 0;
| }
| public void setNameAktienGesellschaftPK(java.lang.String
nameAktienGesellschaftPK)
| {
| this.nameAktienGesellschaftPK = nameAktienGesellschaftPK;
| _hashCode = 0;
| }
| public void setSkrontoNrPK(int skrontoNrPK)
| {
| this.skrontoNrPK = skrontoNrPK;
| _hashCode = 0;
| }
|
| public int hashCode()
| {
| if( _hashCode == 0 )
| {
| if (this.nameAkteurPK != null) _hashCode += this.nameAkteurPK.hashCode();
| if (this.nameAktienGesellschaftPK != null) _hashCode +=
this.nameAktienGesellschaftPK.hashCode();
| _hashCode += (int)this.skrontoNrPK;
| }
|
| return _hashCode;
| }
|
| public boolean equals(Object obj)
| {
| if( !(obj instanceof bp.ejb.entityBeans.pk.SkrontoEintragPK) )
| return false;
|
| bp.ejb.entityBeans.pk.SkrontoEintragPK pk =
(bp.ejb.entityBeans.pk.SkrontoEintragPK)obj;
| boolean eq = true;
|
| if( obj == null )
| {
| eq = false;
| }
| else
| {
| if( this.nameAkteurPK == null &&
((bp.ejb.entityBeans.pk.SkrontoEintragPK)obj).getNameAkteurPK() == null )
| {
| eq = true;
| }
| else
| {
| if( this.nameAkteurPK == null ||
((bp.ejb.entityBeans.pk.SkrontoEintragPK)obj).getNameAkteurPK() == null )
| {
| eq = false;
| }
| else
| {
| eq = eq && this.nameAkteurPK.equals( pk.nameAkteurPK );
| }
| }
| if( this.nameAktienGesellschaftPK == null &&
((bp.ejb.entityBeans.pk.SkrontoEintragPK)obj).getNameAktienGesellschaftPK() == null )
| {
| eq = true;
| }
| else
| {
| if( this.nameAktienGesellschaftPK == null ||
((bp.ejb.entityBeans.pk.SkrontoEintragPK)obj).getNameAktienGesellschaftPK() == null )
| {
| eq = false;
| }
| else
| {
| eq = eq && this.nameAktienGesellschaftPK.equals(
pk.nameAktienGesellschaftPK );
| }
| }
| eq = eq && this.skrontoNrPK == pk.skrontoNrPK;
| }
|
| return eq;
| }
|
| /** @return String representation of this pk in the form of
[.field1.field2.field3]. */
| public String toString()
| {
| if( _toStringValue == null )
| {
| _toStringValue = new StringBuffer("[.");
| _toStringValue.append(this.nameAkteurPK).append('.');
| _toStringValue.append(this.nameAktienGesellschaftPK).append('.');
| _toStringValue.append(this.skrontoNrPK).append('.');
| _toStringValue.append(']');
| }
|
| return _toStringValue.toString();
| }
|
| }
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840072#3840072
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840072
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user