net.java.slee.resource.diameter.gq.events.avp
Class MediaType

java.lang.Object
  extended by net.java.slee.resource.diameter.gq.events.avp.MediaType
All Implemented Interfaces:
java.io.Serializable, net.java.slee.resource.diameter.base.events.avp.Enumerated

public class MediaType
extends java.lang.Object
implements java.io.Serializable, net.java.slee.resource.diameter.base.events.avp.Enumerated

Java class to represent the Media Type enumerated type.

Author:
Yulian Oifa
See Also:
Serialized Form

Field Summary
static int _APPLICATION
           
static int _AUDIO
           
static int _CONTROL
           
static int _DATA
           
static int _MESSAGE
           
static int _OTHER
           
static int _TEXT
           
static int _VIDEO
           
static MediaType APPLICATION
           
static MediaType AUDIO
           
static MediaType CONTROL
           
static MediaType DATA
           
static MediaType MESSAGE
           
static MediaType OTHER
           
static MediaType TEXT
           
static MediaType VIDEO
           
 
Method Summary
static MediaType fromInt(int type)
          Return the value of this instance of this enumerated type.
 int getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_AUDIO

public static final int _AUDIO
See Also:
Constant Field Values

_VIDEO

public static final int _VIDEO
See Also:
Constant Field Values

_DATA

public static final int _DATA
See Also:
Constant Field Values

_APPLICATION

public static final int _APPLICATION
See Also:
Constant Field Values

_CONTROL

public static final int _CONTROL
See Also:
Constant Field Values

_TEXT

public static final int _TEXT
See Also:
Constant Field Values

_MESSAGE

public static final int _MESSAGE
See Also:
Constant Field Values

_OTHER

public static final int _OTHER
See Also:
Constant Field Values

AUDIO

public static final MediaType AUDIO

VIDEO

public static final MediaType VIDEO

DATA

public static final MediaType DATA

APPLICATION

public static final MediaType APPLICATION

CONTROL

public static final MediaType CONTROL

TEXT

public static final MediaType TEXT

MESSAGE

public static final MediaType MESSAGE

OTHER

public static final MediaType OTHER
Method Detail

getValue

public int getValue()
Specified by:
getValue in interface net.java.slee.resource.diameter.base.events.avp.Enumerated

fromInt

public static MediaType fromInt(int type)
Return the value of this instance of this enumerated type.


toString

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


Copyright © 2012. All Rights Reserved.