Examples of RCLength


Examples of com.uic.ase.proj.xbn.util.RCLength

      throwAXIfNull(gci_config, "gci_config", "getContainedIdxs");
    }

    PASStringOrBuffer passob = new PASStringOrBuffer(a_strOrBfr,
      new PARString(
        new PARDupNullLen(gci_config.isEqualOk(), false, (new RCLength(1, -1, false))),
        gci_config.getPARSCBad()));

    if(!passob.isValid())  {
      int iPAVType = passob.getPAViolation().getType();
      if(iPAVType == PAViolation.getType_NULL())  {
View Full Code Here

Examples of com.uic.ase.proj.xbn.util.RCLength

    <P>Create a PARDNLGoodUnq with default values.</P>

    <P>Equal to <CODE><A HREF="~JD~pardnlgu(rcl)~EJD~">PARDNLGoodUnq</A>(new <A HREF="~JD~rcl#rcl(i,i,b)~EJD~">RCLength</A>(1, -1, false))</CODE></P>
   **/
  public PARDNLGoodUnq()  {
    this(new RCLength(1, -1, false));
  }
View Full Code Here

Examples of com.uic.ase.proj.xbn.util.RCLength

      return true;
    }

    //To make the below code a bit more consice...START
      boolean bNullOk = getPARInt().getPARDupNullLen().isNullOk();
      RCLength rclArray = getPARInt().getPARDupNullLen().getRCLength();
      boolean bDupsOk = getPARInt().getPARDupNullLen().areDupsOk();
      boolean bOrdered = getPARInt().getPAROrderDir().isOrdered();
      RangeConfig rcLmnt = getPARInt().getPARIElement().getRangeConfig();

      boolean bAXIfBad = (s_callingClsFnc != null  ||  s_varName != null);
    //To make the below code a bit more consice...END

    if(!bNullOk)  {
      if(isNull())  {
        setPAViolation(new PAViolation(PAViolation.getType_NULL()));
        if(bAXIfBad)  {
          throwAXIllegal(s_callingClsFnc, s_varName, "isNull() equals true.");
        }
        return false;
      }

    }  else if(isNull())  {
      //A null array cannot be analyzed further.
      declareNoViolation();
      return true;
    }
    //The array is not null.

    if(!rclArray.isValid(getLength()))  {
      setPAViolation(new PAViolation(PAViolation.getType_LENGTH()));
      if(bAXIfBad)  {
        throwAXIllegal(s_callingClsFnc, s_varName, "the number of elements in the array (" + getLength() + ") is illegal according to getPARInt().getArrayRCL().isValid().");
      }
      return false;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.