PathOp.java

Go to the documentation of this file.
00001 /* ----------------------------------------------------------------------------
00002  * This file was automatically generated by SWIG (http://www.swig.org).
00003  * Version 2.0.1
00004  *
00005  * Do not make changes to this file unless you know what you are doing--modify
00006  * the SWIG interface file instead.
00007  * ----------------------------------------------------------------------------- */
00008 
00009 package com.orionsec.jpkif;
00010 
00011 public final class PathOp {
00012   public final static PathOp PO_BUILD = new PathOp("PO_BUILD");
00013   public final static PathOp PO_VALIDATE = new PathOp("PO_VALIDATE");
00014 
00015   public final int swigValue() {
00016     return swigValue;
00017   }
00018 
00019   public String toString() {
00020     return swigName;
00021   }
00022 
00023   public static PathOp swigToEnum(int swigValue) {
00024     if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
00025       return swigValues[swigValue];
00026     for (int i = 0; i < swigValues.length; i++)
00027       if (swigValues[i].swigValue == swigValue)
00028         return swigValues[i];
00029     throw new IllegalArgumentException("No enum " + PathOp.class + " with value " + swigValue);
00030   }
00031 
00032   private PathOp(String swigName) {
00033     this.swigName = swigName;
00034     this.swigValue = swigNext++;
00035   }
00036 
00037   private PathOp(String swigName, int swigValue) {
00038     this.swigName = swigName;
00039     this.swigValue = swigValue;
00040     swigNext = swigValue+1;
00041   }
00042 
00043   private PathOp(String swigName, PathOp swigEnum) {
00044     this.swigName = swigName;
00045     this.swigValue = swigEnum.swigValue;
00046     swigNext = this.swigValue+1;
00047   }
00048 
00049   private static PathOp[] swigValues = { PO_BUILD, PO_VALIDATE };
00050   private static int swigNext = 0;
00051   private final int swigValue;
00052   private final String swigName;
00053 }
00054 

Generated on Mon Nov 15 11:15:52 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6