当前位置: 首页>>代码示例>>Java>>正文


Java Formats.NULL属性代码示例

本文整理汇总了Java中com.openbravo.format.Formats.NULL属性的典型用法代码示例。如果您正苦于以下问题:Java Formats.NULL属性的具体用法?Java Formats.NULL怎么用?Java Formats.NULL使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在com.openbravo.format.Formats的用法示例。


在下文中一共展示了Formats.NULL属性的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: DataLogicSales

/** Creates a new instance of SentenceContainerGeneric */
public DataLogicSales() {
    stockdiaryDatas = new Datas[] {Datas.STRING, Datas.TIMESTAMP, Datas.INT, Datas.STRING, Datas.STRING, Datas.STRING, Datas.DOUBLE, Datas.DOUBLE};
    paymenttabledatas = new Datas[] {Datas.STRING, Datas.STRING, Datas.TIMESTAMP, Datas.STRING, Datas.STRING, Datas.DOUBLE};
    stockdatas = new Datas[] {Datas.STRING, Datas.STRING, Datas.STRING, Datas.DOUBLE, Datas.DOUBLE, Datas.DOUBLE};
    auxiliarDatas = new Datas[] {Datas.STRING, Datas.STRING, Datas.STRING, Datas.STRING, Datas.STRING, Datas.STRING};

    productsRow = new Row(
            new Field("ID", Datas.STRING, Formats.STRING),
            new Field(AppLocal.getIntString("label.prodref"), Datas.STRING, Formats.STRING, true, true, true),
            new Field(AppLocal.getIntString("label.prodbarcode"), Datas.STRING, Formats.STRING, false, true, true),
            new Field(AppLocal.getIntString("label.prodname"), Datas.STRING, Formats.STRING, true, true, true),
            new Field("ISCOM", Datas.BOOLEAN, Formats.BOOLEAN),
            new Field("ISSCALE", Datas.BOOLEAN, Formats.BOOLEAN),
            new Field(AppLocal.getIntString("label.prodpricebuy"), Datas.DOUBLE, Formats.CURRENCY, false, true, true),
            new Field(AppLocal.getIntString("label.prodpricesell"), Datas.DOUBLE, Formats.CURRENCY, false, true, true),
            new Field(AppLocal.getIntString("label.prodcategory"), Datas.STRING, Formats.STRING, false, false, true),
            new Field(AppLocal.getIntString("label.taxcategory"), Datas.STRING, Formats.STRING, false, false, true),
            new Field(AppLocal.getIntString("label.attributeset"), Datas.STRING, Formats.STRING, false, false, true),
            new Field("IMAGE", Datas.IMAGE, Formats.NULL),
            new Field("STOCKCOST", Datas.DOUBLE, Formats.CURRENCY),
            new Field("STOCKVOLUME", Datas.DOUBLE, Formats.DOUBLE),
            new Field("ISCATALOG", Datas.BOOLEAN, Formats.BOOLEAN),
            new Field("CATORDER", Datas.INT, Formats.INT),
            new Field("PROPERTIES", Datas.BYTES, Formats.NULL));
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:26,代码来源:DataLogicSales.java

示例2: init

public void init(Session s){
    this.s = s;
    
    m_tpeople = new TableDefinition(s,
        "PEOPLE"
        , new String[] {"ID", "NAME", "APPPASSWORD", "ROLE", "VISIBLE", "CARD", "IMAGE"}
        , new String[] {"ID", AppLocal.getIntString("label.peoplename"), AppLocal.getIntString("Label.Password"), AppLocal.getIntString("label.role"), AppLocal.getIntString("label.peoplevisible"), AppLocal.getIntString("label.card"), AppLocal.getIntString("label.peopleimage")}
        , new Datas[] {Datas.STRING, Datas.STRING, Datas.STRING, Datas.STRING, Datas.BOOLEAN, Datas.STRING, Datas.IMAGE}
        , new Formats[] {Formats.STRING, Formats.STRING, Formats.STRING, Formats.STRING, Formats.BOOLEAN, Formats.STRING, Formats.NULL}
        , new int[] {0}
    );   
    
    m_troles = new TableDefinition(s,
        "ROLES"
        , new String[] {"ID", "NAME", "PERMISSIONS"}
        , new String[] {"ID", AppLocal.getIntString("Label.Name"), "PERMISSIONS"}
        , new Datas[] {Datas.STRING, Datas.STRING, Datas.BYTES}
        , new Formats[] {Formats.STRING, Formats.STRING, Formats.NULL}
        , new int[] {0}
    );  
    
    m_tresources = new TableDefinition(s,
        "RESOURCES"
        , new String[] {"ID", "NAME", "RESTYPE", "CONTENT"}
        , new String[] {"ID", AppLocal.getIntString("Label.Name"), AppLocal.getIntString("label.type"), "CONTENT"}
        , new Datas[] {Datas.STRING, Datas.STRING, Datas.INT, Datas.BYTES}
        , new Formats[] {Formats.STRING, Formats.STRING, Formats.INT, Formats.NULL}
        , new int[] {0}
    );           
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:30,代码来源:DataLogicAdmin.java

示例3: getTableCategories

public final TableDefinition getTableCategories() {
    return new TableDefinition(s,
        "CATEGORIES"
        , new String[] {"ID", "NAME", "PARENTID", "IMAGE"}
        , new String[] {"ID", AppLocal.getIntString("Label.Name"), "", AppLocal.getIntString("label.image")}
        , new Datas[] {Datas.STRING, Datas.STRING, Datas.STRING, Datas.IMAGE}
        , new Formats[] {Formats.STRING, Formats.STRING, Formats.STRING, Formats.NULL}
        , new int[] {0}
    );
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:10,代码来源:DataLogicSales.java

示例4: init

protected void init() {
    tfloors = new TableDefinition(app.getSession(),
        "FLOORS"
        , new String[] {"ID", "NAME", "IMAGE"}
        , new String[] {"ID", AppLocal.getIntString("Label.Name"), "IMAGE"}
        , new Datas[] {Datas.STRING, Datas.STRING, Datas.IMAGE}
        , new Formats[] {Formats.NULL, Formats.STRING}
        , new int[] {0}
    );  
    jeditor = new FloorsEditor(dirty); 
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:11,代码来源:JPanelFloors.java


注:本文中的com.openbravo.format.Formats.NULL属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。