Package org.openbravo.base.model

Examples of org.openbravo.base.model.BaseOBObjectDef


*/

public class DalUUIDHexGenerator extends UUIDHexGenerator {
  @Override
  public Serializable generate(SessionImplementor session, Object obj) {
    final BaseOBObjectDef bob = (BaseOBObjectDef) obj;
    if (bob.getId() != null) {
      return ((String) bob.getId()).toUpperCase();
    }
    return ((String) super.generate(session, obj)).toUpperCase();
  }
View Full Code Here

TOP

Related Classes of org.openbravo.base.model.BaseOBObjectDef

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.