Package org.openntf.domino.nsfdata

Examples of org.openntf.domino.nsfdata.NSFCompiledFormula


  public int getWebLines() {
    return (Integer) getStructElement("WebLines");
  }

  public NSFCompiledFormula getRestrictFormula() {
    return new NSFCompiledFormula((byte[]) getStructElement("RestrictFormula"));
  }
View Full Code Here


  public int getFormulaLength() {
    return (int) (getDataLength() - 10);
  }

  public NSFCompiledFormula getFormula() {
    return new NSFCompiledFormula((byte[]) getStructElement("Formula"));
  }
View Full Code Here

  public Type getControlType() {
    return Type.valueOf((Short) getStructElement("wControlType"));
  }

  public NSFCompiledFormula getControlFormula() {
    return new NSFCompiledFormula((byte[]) getStructElement("ControlFormula"));
  }
View Full Code Here

  /**
   * @return Formula used for control's/menu's label.
   */
  public NSFCompiledFormula getLabelFormula() {
    return new NSFCompiledFormula((byte[]) getStructElement("LabelFormula"));
  }
View Full Code Here

  /**
   * @return Formula used for control's/menu's "parent" label when action is first in a group.
   */
  public NSFCompiledFormula getParentLabelFormula() {
    return new NSFCompiledFormula((byte[]) getStructElement("ParentLabelFormula"));
  }
View Full Code Here

  }

  public NSFCompiledFormula getFormula() {
    int length = getFormulaLen();
    if (length > 0) {
      return new NSFCompiledFormula((byte[]) getStructElement("Formula"));
    } else {
      return null;
    }
  }
View Full Code Here

  }

  public NSFCompiledFormula getDefaultValueFormula() {
    int length = getDVLength();
    if (length > 0) {
      return new NSFCompiledFormula((byte[]) getStructElement("DV"));
    } else {
      return null;
    }
  }
View Full Code Here

  public NSFCompiledFormula getInputTranslationFormula() {
    int length = getITLength();

    if (length > 0) {
      return new NSFCompiledFormula((byte[]) getStructElement("IT"));
    } else {
      return null;
    }
  }
View Full Code Here

  public NSFCompiledFormula getInputValidationFormula() {
    int length = getIVLength();

    if (length > 0) {
      return new NSFCompiledFormula((byte[]) getStructElement("IV"));
    } else {
      return null;
    }
  }
View Full Code Here

      data = getData().duplicate();
      data.order(ByteOrder.LITTLE_ENDIAN);
      data.position(data.position() + 32 + preceding + 2);
      if (listEntries == 0 && totalLength > 2) {
        return new NSFCompiledFormula(data);
      } else {
        List<String> result = new ArrayList<String>(listEntries);

        short[] lengths = new short[listEntries];
        for (int i = 0; i < listEntries; i++) {
View Full Code Here

TOP

Related Classes of org.openntf.domino.nsfdata.NSFCompiledFormula

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.