Package org.openbravo.base.session

Examples of org.openbravo.base.session.UniqueConstraintColumn


      // 1: columnname
      // 2: uniqueconstraintname
      final Object[] values = (Object[]) row;
      Check.isTrue(values.length == 3,
          "Unexpected value length for constraint query, should be 3, but is " + values.length);
      final UniqueConstraintColumn uniqueConstraintColumn = new UniqueConstraintColumn();
      uniqueConstraintColumn.setTableName((String) values[0]);
      uniqueConstraintColumn.setColumnName((String) values[1]);
      uniqueConstraintColumn.setUniqueConstraintName((String) values[2]);
      result.add(uniqueConstraintColumn);
    }
    return result;
  }
View Full Code Here

TOP

Related Classes of org.openbravo.base.session.UniqueConstraintColumn

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.