org.cipango.diameter
Class AVP<T>

java.lang.Object
  extended by org.cipango.diameter.AVP<T>
All Implemented Interfaces:
org.cipango.diameter.util.Visitable

public class AVP<T>
extends java.lang.Object
implements org.cipango.diameter.util.Visitable


Field Summary
 Type<T> _type
           
 T _value
           
 
Constructor Summary
AVP(Type<T> type)
           
AVP(Type<T> type, T value)
           
 
Method Summary
 void accept(org.cipango.diameter.util.DiameterVisitor visitor)
           
 Type<T> getType()
           
 T getValue()
           
 void setValue(T value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_type

public Type<T> _type

_value

public T _value
Constructor Detail

AVP

public AVP(Type<T> type)

AVP

public AVP(Type<T> type,
           T value)
Method Detail

getType

public Type<T> getType()

setValue

public void setValue(T value)

getValue

public T getValue()

accept

public void accept(org.cipango.diameter.util.DiameterVisitor visitor)
Specified by:
accept in interface org.cipango.diameter.util.Visitable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.