Open Source Repository

Home /hibernate/hibernate-3.2.4.ga | Repository Home



org/hibernate/mapping/PrimitiveArray.java
//$Id: PrimitiveArray.java 4905 2004-12-07 09:59:56Z maxcsaucdk $
package org.hibernate.mapping;

/**
 * A primitive array has a primary key consisting
 * of the key columns + index column.
 */
public class PrimitiveArray extends Array {

  public PrimitiveArray(PersistentClass owner) {
    super(owner);
  }

  public boolean isPrimitiveArray() {
    return true;
  }

  public Object accept(ValueVisitor visitor) {
    return visitor.accept(this);
  }
}