001 package org.omg.Security;
002
003
004 /**
005 * org/omg/Security/RequiresSupports.java .
006 * Generated by the IDL-to-Java compiler (portable), version "3.2"
007 * from /home/iurt/rpm/BUILD/geronimo-spec-corba/src/main/idl/Security.idl
008 * Saturday, November 26, 2011 9:53:35 PM UTC
009 */
010
011
012 // administered are the "required" or "supported" set
013 public class RequiresSupports implements org.omg.CORBA.portable.IDLEntity
014 {
015 private int __value;
016 private static int __size = 2;
017 private static org.omg.Security.RequiresSupports[] __array = new org.omg.Security.RequiresSupports [__size];
018
019 public static final int _SecRequires = 0;
020 public static final org.omg.Security.RequiresSupports SecRequires = new org.omg.Security.RequiresSupports(_SecRequires);
021 public static final int _SecSupports = 1;
022 public static final org.omg.Security.RequiresSupports SecSupports = new org.omg.Security.RequiresSupports(_SecSupports);
023
024 public int value ()
025 {
026 return __value;
027 }
028
029 public static org.omg.Security.RequiresSupports from_int (int value)
030 {
031 if (value >= 0 && value < __size)
032 return __array[value];
033 else
034 throw new org.omg.CORBA.BAD_PARAM ();
035 }
036
037 protected RequiresSupports (int value)
038 {
039 __value = value;
040 __array[__value] = this;
041 }
042 } // class RequiresSupports