All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.jradius.dictionary.vsa_foundry.Attr_FoundryINMPrivilege Maven / Gradle / Ivy

// DO NOT EDIT THIS FILE DIRECTLY! - AUTOMATICALLY GENERATED
// Generated by: class net.jradius.freeradius.RadiusDictionary
// Generated on: Fri, 29 Nov 2013 13:24:47 +0000

package net.jradius.dictionary.vsa_foundry;

import java.io.Serializable;
import java.util.LinkedHashMap;
import java.util.Map;

import net.jradius.packet.attribute.VSAttribute;
import net.jradius.packet.attribute.value.NamedValue;

/**
 * Attribute Name: Foundry-INM-Privilege
* Attribute Type: 26
* Vendor Id: 1991
* VSA Type: 4
* Value Type: NamedValue
* Possible Values:
*
    *
  • AAA_pri_0 (0) *
  • AAA_pri_1 (1) *
  • AAA_pri_2 (2) *
  • AAA_pri_3 (3) *
  • AAA_pri_4 (4) *
  • AAA_pri_5 (5) *
  • AAA_pri_6 (6) *
  • AAA_pri_7 (7) *
  • AAA_pri_8 (8) *
  • AAA_pri_9 (9) *
  • AAA_pri_10 (10) *
  • AAA_pri_11 (11) *
  • AAA_pri_12 (12) *
  • AAA_pri_13 (13) *
  • AAA_pri_14 (14) *
  • AAA_pri_15 (15) *
* * @author class net.jradius.freeradius.RadiusDictionary */ public final class Attr_FoundryINMPrivilege extends VSAttribute { public static final String NAME = "Foundry-INM-Privilege"; public static final int VENDOR_ID = 1991; public static final int VSA_TYPE = 4; public static final long TYPE = ((VENDOR_ID & 0xFFFF) << 16) | VSA_TYPE; public static final long serialVersionUID = TYPE; public static final Long AAApri0 = new Long(0L); public static final Long AAApri1 = new Long(1L); public static final Long AAApri2 = new Long(2L); public static final Long AAApri3 = new Long(3L); public static final Long AAApri4 = new Long(4L); public static final Long AAApri5 = new Long(5L); public static final Long AAApri6 = new Long(6L); public static final Long AAApri7 = new Long(7L); public static final Long AAApri8 = new Long(8L); public static final Long AAApri9 = new Long(9L); public static final Long AAApri10 = new Long(10L); public static final Long AAApri11 = new Long(11L); public static final Long AAApri12 = new Long(12L); public static final Long AAApri13 = new Long(13L); public static final Long AAApri14 = new Long(14L); public static final Long AAApri15 = new Long(15L); protected class NamedValueMap implements NamedValue.NamedValueMap { public Long[] knownValues = { new Long(0L),new Long(1L),new Long(2L),new Long(3L),new Long(4L),new Long(5L),new Long(6L),new Long(7L),new Long(8L),new Long(9L),new Long(10L),new Long(11L),new Long(12L),new Long(13L),new Long(14L),new Long(15L)}; public Long[] getKnownValues() { return knownValues; } public Long getNamedValue(String name) { if ("AAA_pri_0".equals(name)) return new Long(0L); if ("AAA_pri_1".equals(name)) return new Long(1L); if ("AAA_pri_2".equals(name)) return new Long(2L); if ("AAA_pri_3".equals(name)) return new Long(3L); if ("AAA_pri_4".equals(name)) return new Long(4L); if ("AAA_pri_5".equals(name)) return new Long(5L); if ("AAA_pri_6".equals(name)) return new Long(6L); if ("AAA_pri_7".equals(name)) return new Long(7L); if ("AAA_pri_8".equals(name)) return new Long(8L); if ("AAA_pri_9".equals(name)) return new Long(9L); if ("AAA_pri_10".equals(name)) return new Long(10L); if ("AAA_pri_11".equals(name)) return new Long(11L); if ("AAA_pri_12".equals(name)) return new Long(12L); if ("AAA_pri_13".equals(name)) return new Long(13L); if ("AAA_pri_14".equals(name)) return new Long(14L); if ("AAA_pri_15".equals(name)) return new Long(15L); return null; } public String getNamedValue(Long value) { if (new Long(0L).equals(value)) return "AAA_pri_0"; if (new Long(1L).equals(value)) return "AAA_pri_1"; if (new Long(2L).equals(value)) return "AAA_pri_2"; if (new Long(3L).equals(value)) return "AAA_pri_3"; if (new Long(4L).equals(value)) return "AAA_pri_4"; if (new Long(5L).equals(value)) return "AAA_pri_5"; if (new Long(6L).equals(value)) return "AAA_pri_6"; if (new Long(7L).equals(value)) return "AAA_pri_7"; if (new Long(8L).equals(value)) return "AAA_pri_8"; if (new Long(9L).equals(value)) return "AAA_pri_9"; if (new Long(10L).equals(value)) return "AAA_pri_10"; if (new Long(11L).equals(value)) return "AAA_pri_11"; if (new Long(12L).equals(value)) return "AAA_pri_12"; if (new Long(13L).equals(value)) return "AAA_pri_13"; if (new Long(14L).equals(value)) return "AAA_pri_14"; if (new Long(15L).equals(value)) return "AAA_pri_15"; return null; } }; public static NamedValueMap map = null; public void setup() { attributeName = NAME; attributeType = 26; vendorId = VENDOR_ID; vsaAttributeType = VSA_TYPE; attributeValue = new NamedValue(map != null ? map : (map = new NamedValueMap())); } public Attr_FoundryINMPrivilege() { setup(); } public Attr_FoundryINMPrivilege(Serializable o) { setup(o); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy