ch.panter.li.bi.asn.model
Class AsnConstraintSign

java.lang.Object
  extended by ch.panter.li.bi.asn.model.AsnConstraintBase
      extended by ch.panter.li.bi.asn.model.AsnConstraintSign
All Implemented Interfaces:
AsnConstraint

public final class AsnConstraintSign
extends AsnConstraintBase


Field Summary
static AsnConstraintSign NEGATIVE_EXCLUDING_ZERO
           
static AsnConstraintSign NEGATIVE_INCLUDING_ZERO
           
static AsnConstraintSign POSITIVE_EXCLUDING_ZERO
           
static AsnConstraintSign POSITIVE_INCLUDING_ZERO
           
 
Method Summary
protected  int computeHashCode(int baseHash)
           
protected  void doValidate(AsnValue value, ValidationInfoImpl info)
           
protected  boolean isEqualTo(Object compare)
           
 boolean isIncludeZero()
           
 boolean isPositive()
           
protected  boolean isValidationPossibleFor(AsnType type)
           
 String toString()
           
 
Methods inherited from class ch.panter.li.bi.asn.model.AsnConstraintBase
canValidate, equals, hashCode, isAllowExtensions, setAllowExtensions, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

POSITIVE_INCLUDING_ZERO

public static final AsnConstraintSign POSITIVE_INCLUDING_ZERO

POSITIVE_EXCLUDING_ZERO

public static final AsnConstraintSign POSITIVE_EXCLUDING_ZERO

NEGATIVE_INCLUDING_ZERO

public static final AsnConstraintSign NEGATIVE_INCLUDING_ZERO

NEGATIVE_EXCLUDING_ZERO

public static final AsnConstraintSign NEGATIVE_EXCLUDING_ZERO
Method Detail

isPositive

public final boolean isPositive()

isIncludeZero

public final boolean isIncludeZero()

isValidationPossibleFor

protected final boolean isValidationPossibleFor(AsnType type)
Specified by:
isValidationPossibleFor in class AsnConstraintBase

doValidate

protected final void doValidate(AsnValue value,
                                ValidationInfoImpl info)
Specified by:
doValidate in class AsnConstraintBase

isEqualTo

protected boolean isEqualTo(Object compare)
Overrides:
isEqualTo in class AsnConstraintBase

computeHashCode

protected int computeHashCode(int baseHash)
Overrides:
computeHashCode in class AsnConstraintBase

toString

public String toString()
Overrides:
toString in class Object


Copyright 2007-2007 SourceForge. All Rights Reserved.