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

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
              extended by ch.panter.li.bi.asn.value.AsnTimeValueBase
All Implemented Interfaces:
TimeValue, TimeValueInfo, Validatable, AsnValue
Direct Known Subclasses:
AsnGeneralizedTime, AsnUniversalTime

public abstract class AsnTimeValueBase
extends AsnObjectValueBase
implements TimeValue


Constructor Summary
AsnTimeValueBase(AsnTimeValueBase copy)
           
AsnTimeValueBase(AsnType type)
           
 
Method Summary
 void assign(TimeValue other)
           
protected  Object copyValueObject()
          Provides a possibility for derivations to create a deep copy of the embedded value object if it isn't immutable.
 Date getValue()
           
 void setValue(Date value)
           
 String toString()
           
 
Methods inherited from class ch.panter.li.bi.asn.value.AsnObjectValueBase
computeHashCode, getValueObject, isEqualTo, setValueObject, validateValueObject
 
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

AsnTimeValueBase

AsnTimeValueBase(AsnType type)

AsnTimeValueBase

AsnTimeValueBase(AsnTimeValueBase copy)
Method Detail

copyValueObject

protected Object copyValueObject()
Description copied from class: AsnObjectValueBase
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.

Overrides:
copyValueObject in class AsnObjectValueBase
Returns:
an independent value object

getValue

public final Date getValue()
Specified by:
getValue in interface TimeValueInfo

setValue

public final void setValue(Date value)
Specified by:
setValue in interface TimeValue

assign

public void assign(TimeValue other)
Specified by:
assign in interface TimeValue

toString

public String toString()
Overrides:
toString in class AsnObjectValueBase


Copyright 2007-2007 SourceForge. All Rights Reserved.