org.openl.rules.lang.xls.XlsSheetSourceCodeModule.getSheetName()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(4.8k)|赞(0)|评价(0)|浏览(73)

本文整理了Java中org.openl.rules.lang.xls.XlsSheetSourceCodeModule.getSheetName()方法的一些代码示例,展示了XlsSheetSourceCodeModule.getSheetName()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XlsSheetSourceCodeModule.getSheetName()方法的具体详情如下:
包路径:org.openl.rules.lang.xls.XlsSheetSourceCodeModule
类名称:XlsSheetSourceCodeModule
方法名:getSheetName

XlsSheetSourceCodeModule.getSheetName介绍

暂无

代码示例

代码示例来源:origin: openl-tablets/openl-tablets

/**
 * {@inheritDoc}
 */
@Override
public String[] getDisplayValue(Object nodeObject, int i) {
  XlsSheetSourceCodeModule sheet = (XlsSheetSourceCodeModule) nodeObject;
  return new String[] { sheet.getSheetName(), sheet.getSheetName(), sheet.getSheetName() };
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio

/**
 * {@inheritDoc}
 */
@Override
public String[] getDisplayValue(Object nodeObject, int i) {
  XlsSheetSourceCodeModule sheet = (XlsSheetSourceCodeModule) nodeObject;
  return new String[] { sheet.getSheetName(), sheet.getSheetName(), sheet.getSheetName() };
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio.java

/**
 * {@inheritDoc}
 */
@Override
public String[] getDisplayValue(Object nodeObject, int i) {
  XlsSheetSourceCodeModule sheet = (XlsSheetSourceCodeModule) nodeObject;
  return new String[] { sheet.getSheetName(), sheet.getSheetName(), sheet.getSheetName() };
}

代码示例来源:origin: openl-tablets/openl-tablets

public String getName() {
  return sheetSource.getSheetName();
}

代码示例来源:origin: openl-tablets/openl-tablets

public String getDisplayName() {
  return getSheetName();
}

代码示例来源:origin: org.openl.rules/org.openl.rules.diff

public String getSheetName() {
  IOpenSourceCodeModule sheet = node.getModule();
  String sheetName = ((XlsSheetSourceCodeModule) sheet).getSheetName();
  return sheetName;
}

代码示例来源:origin: openl-tablets/openl-tablets

public String getSheetName() {
  IOpenSourceCodeModule sheet = node.getModule();
  String sheetName = ((XlsSheetSourceCodeModule) sheet).getSheetName();
  return sheetName;
}

代码示例来源:origin: openl-tablets/openl-tablets

public String getUri() {
  return workbookSource.getUri() + "?" + XlsURLConstants.SHEET + "=" + StringTool.encodeURL(getSheetName());
}

代码示例来源:origin: openl-tablets/openl-tablets

/**
 * Find out the name of the category to apply properties for.
 * 
 * @param tsn <code>{@link TableSyntaxNode}</code>
 * @param properties <code>{@link TableProperties}</code>
 * @return the name of the category to apply properties for.
 */
private String getCategoryToApplyProperties(TableSyntaxNode tsn, TableProperties properties) {
  String category = properties.getCategory();
  if (category != null) {
    return category;
  } else {
    return ((XlsSheetSourceCodeModule) tsn.getModule()).getSheetName();
  }
}

代码示例来源:origin: openl-tablets/openl-tablets

private String getCategory(TableSyntaxNode tsn) {
  ITableProperties tableProperties = tsn.getTableProperties();
  String category = tableProperties.getCategory();
  if (category != null) {
    return category;
  } else {
    return ((XlsSheetSourceCodeModule) tsn.getModule()).getSheetName();
  }
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio.java

/**
   * Gets name of category.
   * 
   * @param tableSyntaxNode table syntax node
   * @return name of category
   */
  protected String getCategory(TableSyntaxNode tableSyntaxNode) {

    String category = null;

    ITableProperties tableProperties = tableSyntaxNode.getTableProperties();

    if (tableProperties != null && tableProperties.getCategory() != null) {
      category = tableProperties.getCategory();
    }

    if (category == null) {

      XlsSheetSourceCodeModule sheet = tableSyntaxNode.getXlsSheetSourceCodeModule();
      category = sheet.getSheetName();
    }

    return category;
  }
}

代码示例来源:origin: openl-tablets/openl-tablets

/**
   * Gets name of category.
   * 
   * @param tableSyntaxNode table syntax node
   * @return name of category
   */
  protected String getCategory(TableSyntaxNode tableSyntaxNode) {

    String category = null;

    ITableProperties tableProperties = tableSyntaxNode.getTableProperties();

    if (tableProperties != null && tableProperties.getCategory() != null) {
      category = tableProperties.getCategory();
    }

    if (category == null) {

      XlsSheetSourceCodeModule sheet = tableSyntaxNode.getXlsSheetSourceCodeModule();
      category = sheet.getSheetName();
    }

    return category;
  }
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio

/**
   * Gets name of category.
   * 
   * @param tableSyntaxNode table syntax node
   * @return name of category
   */
  protected String getCategory(TableSyntaxNode tableSyntaxNode) {

    String category = null;

    ITableProperties tableProperties = tableSyntaxNode.getTableProperties();

    if (tableProperties != null && tableProperties.getCategory() != null) {
      category = tableProperties.getCategory();
    }

    if (category == null) {

      XlsSheetSourceCodeModule sheet = tableSyntaxNode.getXlsSheetSourceCodeModule();
      category = sheet.getSheetName();
    }

    return category;
  }
}

代码示例来源:origin: org.openl.rules/org.openl.rules.diff

String sheetName = ((XlsSheetSourceCodeModule) sheet).getSheetName();
XlsProjection sheetProjection = sheetProjections.get(sheetName);
if (sheetProjection == null) {

代码示例来源:origin: openl-tablets/openl-tablets

String sheetName = ((XlsSheetSourceCodeModule) sheet).getSheetName();
XlsProjection sheetProjection = sheetProjections.get(sheetName);
if (sheetProjection == null) {

相关文章