ch.panter.li.bi.asn.value
Class AsnObjectValueBase

java.lang.Object
  extended by ch.panter.li.bi.asn.AsnValueBase
      extended by ch.panter.li.bi.asn.value.AsnSimpleValueBase
          extended by ch.panter.li.bi.asn.value.AsnObjectValueBase
All Implemented Interfaces:
Validatable, AsnValue
Direct Known Subclasses:
AsnBoolean, AsnIntegralNumberValueBase, AsnReal, AsnStringValueBase, AsnTimeValueBase

public abstract class AsnObjectValueBase
extends AsnSimpleValueBase


Constructor Summary
AsnObjectValueBase(AsnObjectValueBase copy)
           
AsnObjectValueBase(AsnType type)
           
 
Method Summary
protected  int computeHashCode(int baseHash)
           
protected  Object copyValueObject()
          Provides a possibility for derivations to create a deep copy of the embedded value object if it isn't immutable.
protected  Object getValueObject()
           
protected  boolean isEqualTo(Object compare)
           
protected  void setValueObject(Object value)
           
 String toString()
           
protected  void validateValueObject(Object value)
           
 
Methods inherited from class ch.panter.li.bi.asn.AsnValueBase
checkTypeDerivedFrom, collectValidationInfo, equals, getTag, getType, hashCode, isValid, setTag, validate, validateStructure
 
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

AsnObjectValueBase

AsnObjectValueBase(AsnType type)

AsnObjectValueBase

AsnObjectValueBase(AsnObjectValueBase copy)
Method Detail

copyValueObject

protected Object copyValueObject()
Provides a possibility for derivations to create a deep copy of the embedded value object if it isn't immutable. This default implementation just returns the value, assuming it is immutable and a deep copy thus not necessary.

Returns:
an independent value object

getValueObject

protected final Object getValueObject()

validateValueObject

protected void validateValueObject(Object value)

setValueObject

protected final void setValueObject(Object value)

isEqualTo

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

computeHashCode

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

toString

public String toString()
Overrides:
toString in class AsnValueBase


Copyright 2007-2007 SourceForge. All Rights Reserved.