KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > mapping > PrimitiveArray


1 //$Id: PrimitiveArray.java,v 1.2 2004/12/07 09:59:47 maxcsaucdk Exp $
2
package org.hibernate.mapping;
3
4 /**
5  * A primitive array has a primary key consisting
6  * of the key columns + index column.
7  */

8 public class PrimitiveArray extends Array {
9
10     public PrimitiveArray(PersistentClass owner) {
11         super(owner);
12     }
13
14     public boolean isPrimitiveArray() {
15         return true;
16     }
17
18     public Object JavaDoc accept(ValueVisitor visitor) {
19         return visitor.accept(this);
20     }
21 }
22
23
24
25
26
27
28
29
Popular Tags