xbn.array.primitive
Class PARInt

java.lang.Object
  |
  +--xbn.XBNObject
        |
        +--xbn.array.primitive.PrimitiveArrayRule
              |
              +--xbn.array.primitive.PARInt
Direct Known Subclasses:
PARIGoodUnq

public class PARInt
extends PrimitiveArrayRule

Defines the rules to be enforced by PrimitiveArrayInt.isValid. See PrimitiveArrayInt.isValid.

Source code:  PARInt.java.


Fields inherited from class xbn.XBNObject
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP
 
Constructor Summary
PARInt()
          Create a completely unrestricted PARInt.
PARInt(PARDupNullLen par_dupNullLen)
          Create a PARInt.
PARInt(PARDupNullLen par_dupNullLen, PARIElement pari_element)
          Create a PARInt.
PARInt(PARDupNullLen par_dupNullLen, PAROrderDir par_orderDir)
          Create a PARInt.
PARInt(PARDupNullLen par_dupNullLen, PAROrderDir par_orderDir, PARIElement pari_element)
          Create an PARInt.
PARInt(PARIElement pari_element)
          Create a PARInt.
PARInt(PARInt par_int)
          Create a full (deep) copy of the provided PARInt.
PARInt(PAROrderDir par_orderDir)
          Create a PARInt.
PARInt(PAROrderDir par_orderDir, PARIElement pari_element)
          Create a PARInt.
 
Method Summary
 PARIElement getPARIElement()
          Get the PARIElement for direct manipulation.
 boolean isRestricted()
          Does this PARInt have any restrictions?
 String toString()
          Get some information about this PARInt.
 
Methods inherited from class xbn.array.primitive.PrimitiveArrayRule
getPARDupNullLen, getPAROrderDir
 
Methods inherited from class xbn.XBNObject
getXMsgPrefix, sop, sopl, sopl, throwAX, throwAXIfBadStr, throwAXIfNull, throwAXSpoof
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PARInt

public PARInt()

Create a completely unrestricted PARInt.

Equal to PARInt(new PARDupNullLen())

Note: Using this constructor causes isRestricted to equal true.


PARInt

public PARInt(PARDupNullLen par_dupNullLen)

Create a PARInt.

Equal to PARInt(par_dupNullLen, (new PAROrderDir()))


PARInt

public PARInt(PAROrderDir par_orderDir)

Create a PARInt.

Equal to PARInt((new PARDupNullLen()), par_orderDir)


PARInt

public PARInt(PARIElement pari_element)

Create a PARInt.

Equal to PARInt((new PARDupNullLen()), pari_element)


PARInt

public PARInt(PARDupNullLen par_dupNullLen,
              PAROrderDir par_orderDir)

Create a PARInt.

Equal to PARInt(par_dupNullLen, par_orderDir, (new PARIElement()))


PARInt

public PARInt(PARDupNullLen par_dupNullLen,
              PARIElement pari_element)

Create a PARInt.

Equal to PARInt(par_dupNullLen, (new PAROrderDir()), pari_element)


PARInt

public PARInt(PAROrderDir par_orderDir,
              PARIElement pari_element)

Create a PARInt.

Equal to PARInt((new PARDupNullLen()), par_orderDir, pari_element)


PARInt

public PARInt(PARDupNullLen par_dupNullLen,
              PAROrderDir par_orderDir,
              PARIElement pari_element)

Create an PARInt.

The first line of this constructor calls PrimitiveArrayRule(par_dupNullLen, par_orderDir)


PARInt

public PARInt(PARInt par_int)

Create a full (deep) copy of the provided PARInt.

The first line of this constructor calls PrimitiveArrayRule(par_int)

Method Detail

getPARIElement

public final PARIElement getPARIElement()

Get the PARIElement for direct manipulation.

Returns:
pari_element Exactly as provided to the constructor.

isRestricted

public boolean isRestricted()

Does this PARInt have any restrictions?

Overrides:
isRestricted in class PrimitiveArrayRule
Returns:
(super.isRestricted()  || getPARIElement().isRestricted())

toString

public String toString()

Get some information about this PARInt.

Overrides:
toString in class PrimitiveArrayRule



Copyright 1997-2003, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.

 

http://sourceforge.net/projects/xbnjava

 

SourceForge.net Logo