1 23 24 30 31 package com.sun.jdo.spi.persistence.support.sqlstore.sql.constraint; 32 33 import com.sun.jdo.spi.persistence.support.sqlstore.model.LocalFieldDesc; 34 import com.sun.jdo.spi.persistence.support.sqlstore.sql.generator.QueryPlan; 35 36 37 39 public class ConstraintFieldDesc extends ConstraintField { 40 public LocalFieldDesc desc; 41 42 public int ordering; 43 44 public ConstraintFieldDesc(LocalFieldDesc desc) { 45 super(); 46 47 this.desc = desc; 48 this.ordering = 0; 49 } 50 51 public ConstraintFieldDesc(LocalFieldDesc desc, 52 int ordering) { 53 super(); 54 55 this.desc = desc; 56 this.ordering = ordering; 57 } 58 59 public ConstraintFieldDesc(LocalFieldDesc desc, 60 QueryPlan plan) { 61 super(); 62 63 this.desc = desc; 64 this.originalPlan = plan; 65 this.ordering = 0; 66 } 67 68 69 public ConstraintFieldDesc(LocalFieldDesc desc, 70 QueryPlan plan, 71 int ordering) { 72 super(); 73 74 this.desc = desc; 75 this.originalPlan = plan; 76 this.ordering = ordering; 77 } 78 } 79 | Popular Tags |