org.apache.directory.server.kerberos.shared.messages.value
Class TransitedEncodingType

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.messages.value.TransitedEncodingType
All Implemented Interfaces:
java.lang.Comparable<TransitedEncodingType>

public final class TransitedEncodingType
extends java.lang.Object
implements java.lang.Comparable<TransitedEncodingType>

Version:
$Rev: 557095 $, $Date: 2007-07-17 20:28:32 -0400 (Tue, 17 Jul 2007) $
Author:
Apache Directory Project

Field Summary
static TransitedEncodingType DOMAIN_X500_COMPRESS
          Constant for the "Domain X500 compress" transited encoding type.
static TransitedEncodingType NULL
          Constant for the "null" transited encoding type.
static java.util.List<TransitedEncodingType> VALUES
          A List of all the transited encoding type constants.
 
Method Summary
 int compareTo(TransitedEncodingType that)
           
 int getOrdinal()
          Returns the number associated with this transited encoding type.
static TransitedEncodingType getTypeByOrdinal(int type)
          Returns the transited encoding type when specified by its ordinal.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NULL

public static final TransitedEncodingType NULL
Constant for the "null" transited encoding type.


DOMAIN_X500_COMPRESS

public static final TransitedEncodingType DOMAIN_X500_COMPRESS
Constant for the "Domain X500 compress" transited encoding type.


VALUES

public static final java.util.List<TransitedEncodingType> VALUES
A List of all the transited encoding type constants.

Method Detail

getTypeByOrdinal

public static TransitedEncodingType getTypeByOrdinal(int type)
Returns the transited encoding type when specified by its ordinal.

Parameters:
type -
Returns:
The transited encoding type.

getOrdinal

public int getOrdinal()
Returns the number associated with this transited encoding type.

Returns:
The transited encoding type ordinal.

compareTo

public int compareTo(TransitedEncodingType that)
Specified by:
compareTo in interface java.lang.Comparable<TransitedEncodingType>

toString

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


Copyright © 2003-2007 The Apache Software Foundation. All Rights Reserved.