|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--xbn.array.primitive.PrimitiveArrayRule
Defines the rules to be enforced by PrimitiveArray.isValid. See PrimitiveArray.isValid.
Source code: PrimitiveArrayRule.java.
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
protected |
PrimitiveArrayRule(PARDupNullLen par_dupNullLen,
PAROrderDir par_orderDir)
Create an PrimitiveArrayRule. |
protected |
PrimitiveArrayRule(PrimitiveArrayRule pa_rule)
Create a full (deep) copy of the provided PrimitiveArrayRule. |
Method Summary | |
PARDupNullLen |
getPARDupNullLen()
Get the PARDupNullLen for direct manipulation. |
PAROrderDir |
getPAROrderDir()
Get the PAROrderDir for direct manipulation. |
boolean |
isRestricted()
Does this PrimitiveArrayRule have any restrictions? |
String |
toString()
Get some information about this PrimitiveArrayRule. |
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 |
protected PrimitiveArrayRule(PARDupNullLen par_dupNullLen, PAROrderDir par_orderDir)
Create an PrimitiveArrayRule.
par_dupNullLen
- Defines whether overall duplicate, null and length rules. May not be null. See getPARDupNullLen.par_orderDir
- Defines ordering requirements to impose onto the array. May not be null. See getPAROrderDir.protected PrimitiveArrayRule(PrimitiveArrayRule pa_rule)
Create a full (deep) copy of the provided PrimitiveArrayRule.
pa_rule
- The PrimitiveArrayRule to copy. May not be null.Method Detail |
public final PARDupNullLen getPARDupNullLen()
Get the PARDupNullLen for direct manipulation.
public final PAROrderDir getPAROrderDir()
Get the PAROrderDir for direct manipulation.
public boolean isRestricted()
Does this PrimitiveArrayRule have any restrictions?
If this function returns false, then there are absolutely no requirements to impose onto the char array (by PrimitiveArray.isValid). If true, there is at least one requirement.
(getPARDupNullLen().isRestricted() || getPAROrderDir().isRestricted())
public String toString()
Get some information about this PrimitiveArrayRule.
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1997-2003, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
http://sourceforge.net/projects/xbnjava