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

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

public final class AsnConstraintRange
extends AsnConstraintBase


Constructor Summary
AsnConstraintRange(long exact)
           
AsnConstraintRange(long min, long max)
           
 
Method Summary
protected  int computeHashCode(int baseHash)
           
protected  void doValidate(AsnValue value, ValidationInfoImpl info)
           
 long getMax()
           
 long getMin()
           
protected  boolean isEqualTo(Object compare)
           
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
 

Constructor Detail

AsnConstraintRange

public AsnConstraintRange(long exact)

AsnConstraintRange

public AsnConstraintRange(long min,
                          long max)
Method Detail

getMin

public final long getMin()

getMax

public final long getMax()

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.