ch.panter.li.bi.asn
Class AsnValueBase

java.lang.Object
  extended by ch.panter.li.bi.asn.AsnValueBase
All Implemented Interfaces:
Validatable, AsnValue
Direct Known Subclasses:
AsnContainerValueBase, AsnSimpleValueBase

public abstract class AsnValueBase
extends Object
implements AsnValue


Constructor Summary
protected AsnValueBase(AsnType type)
           
protected AsnValueBase(AsnValueBase copy)
           
 
Method Summary
protected static AsnType checkTypeDerivedFrom(AsnType typeToCheck, AsnType requiredBaseType)
           
 void collectValidationInfo(ValidationInfoImpl info)
           
protected  int computeHashCode(int baseHash)
           
 boolean equals(Object compare)
           
 AsnTag getTag()
           
 AsnType getType()
           
 int hashCode()
           
protected  boolean isEqualTo(Object compare)
           
 boolean isValid()
           
 void setTag(AsnTag tag)
           
 String toString()
           
 void validate()
           
protected  void validateStructure(ValidationInfoImpl info)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ch.panter.li.bi.asn.AsnValue
copyAsnValue
 

Constructor Detail

AsnValueBase

protected AsnValueBase(AsnType type)

AsnValueBase

protected AsnValueBase(AsnValueBase copy)
Method Detail

checkTypeDerivedFrom

protected static AsnType checkTypeDerivedFrom(AsnType typeToCheck,
                                              AsnType requiredBaseType)

getType

public final AsnType getType()
Specified by:
getType in interface AsnValue

getTag

public final AsnTag getTag()
Specified by:
getTag in interface AsnValue

setTag

public final void setTag(AsnTag tag)

isValid

public final boolean isValid()
Specified by:
isValid in interface Validatable

collectValidationInfo

public final void collectValidationInfo(ValidationInfoImpl info)
Specified by:
collectValidationInfo in interface Validatable

validate

public final void validate()
                    throws ValidationException
Specified by:
validate in interface Validatable
Throws:
ValidationException

validateStructure

protected void validateStructure(ValidationInfoImpl info)

equals

public final boolean equals(Object compare)
Overrides:
equals in class Object

isEqualTo

protected boolean isEqualTo(Object compare)

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

computeHashCode

protected int computeHashCode(int baseHash)

toString

public String toString()
Overrides:
toString in class Object


Copyright 2007-2007 SourceForge. All Rights Reserved.