Package org.objectweb.jorm.metainfo.api

Examples of org.objectweb.jorm.metainfo.api.ScalarField


     */
    public ScalarField createNameDefField(MetaObject mo,
                                          String fn,
                                          PType type, int size, int scale)
            throws SpeedoException {
        ScalarField sf;
        if (mo instanceof Class) {
            sf = ((Class) mo).createHiddenField(fn, type, size, scale);
        } else if (mo instanceof GenClassRef) {
            sf = ((GenClassRef) mo).createHiddenField(fn, type, size, scale);
        } else {
View Full Code Here


    }
  private CompositeName getLongIdCompositeName(Manager manager) {
    CompositeName cn = manager.getCompositeName(getLongIdName());
    if (cn == null) {
      cn = manager.createCompositeName(getLongIdName());
      ScalarField cnf = cn.createCompositeNameField(
        getLongIdLid(), getFieldType(), PType.NOSIZE, PType.NOSIZE);
      cnf.setIsAutoCalculated(true);
    }
    return cn;
  }
View Full Code Here

TOP

Related Classes of org.objectweb.jorm.metainfo.api.ScalarField

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.