|
Rakesh API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbiz.wedoit4u.ejb.entity.StyleAttributesPK
public class StyleAttributesPK
A primary key class for the style_attributes
table. This class represents the composite
primary key comprised of the style_class_id
and customer_Id columns in the table.
Copyright 2003, wedoit4u.biz
| Field Summary | |
|---|---|
int |
customerId
The customer_id value. |
int |
styleClassId
The style_class_id value. |
| Constructor Summary | |
|---|---|
StyleAttributesPK()
Default constructor. |
|
StyleAttributesPK(int styleClassId,
int customerId)
Construct a new instance of the primary key class using the components of the primary key. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Over-ridden form of the equals method. |
int |
hashCode()
Over-ridden form of the hashCode method. |
java.lang.String |
toString()
Over-ridden form of the hashCode method. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int styleClassId
style_class_id value.
public int customerId
customer_id value.
| Constructor Detail |
|---|
public StyleAttributesPK()
public StyleAttributesPK(int styleClassId,
int customerId)
styleClassId - - The foreign key value to use.customerId - - The foreign key value to use.| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - - The primary key class to compare this class to.
true if the classes are
identical, and have the same fields.public java.lang.String toString()
styleClassId
and customerId variables with a + separating
them.
toString in class java.lang.Objectpublic int hashCode()
hashCode of a String
object that is obtained by contatenating the styleClassId
and customerId variables with a + separating
them.
hashCode in class java.lang.Object
|
Rakesh API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||