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

net.jradius.dictionary.vsa_cablelabs.Attr_CableLabsAlertingSignal Maven / Gradle / Ivy

The newest version!
// DO NOT EDIT THIS FILE DIRECTLY! - AUTOMATICALLY GENERATED
// Generated by: class net.jradius.freeradius.RadiusDictionary
// Generated on: Thu, 5 Jan 2017 15:56:13 +0200

package net.jradius.dictionary.vsa_cablelabs;

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: CableLabs-Alerting-Signal
* Attribute Type: 26
* Vendor Id: 4491
* VSA Type: 52
* Value Type: NamedValue
* Possible Values:
*
    *
  • Reserved-0 (0) *
  • Ringing (1) *
  • Distinctive-Ringing-2 (2) *
  • Distinctive-Ringing-3 (3) *
  • Distinctive-Ringing-4 (4) *
  • Ringsplash (5) *
  • Call-Waiting-Tone-1 (6) *
  • Call-Waiting-Tone-2 (7) *
  • Call-Waiting-Tone-3 (8) *
  • Call-Waiting-Tone-4 (9) *
  • Reserved-10 (10) *
  • Distinctive-Ringing-0 (11) *
  • Distinctive-Ringing-1 (12) *
  • Distinctive-Ringing-5 (13) *
  • Distinctive-Ringing-6 (14) *
  • Distinctive-Ringing-7 (15) *
* * @author class net.jradius.freeradius.RadiusDictionary */ public final class Attr_CableLabsAlertingSignal extends VSAttribute { public static final String NAME = "CableLabs-Alerting-Signal"; public static final int VENDOR_ID = 4491; public static final int VSA_TYPE = 52; public static final long TYPE = ((VENDOR_ID & 0xFFFF) << 16) | VSA_TYPE; public static final long serialVersionUID = TYPE; public static final Long Reserved0 = new Long(0L); public static final Long Ringing = new Long(1L); public static final Long DistinctiveRinging2 = new Long(2L); public static final Long DistinctiveRinging3 = new Long(3L); public static final Long DistinctiveRinging4 = new Long(4L); public static final Long Ringsplash = new Long(5L); public static final Long CallWaitingTone1 = new Long(6L); public static final Long CallWaitingTone2 = new Long(7L); public static final Long CallWaitingTone3 = new Long(8L); public static final Long CallWaitingTone4 = new Long(9L); public static final Long Reserved10 = new Long(10L); public static final Long DistinctiveRinging0 = new Long(11L); public static final Long DistinctiveRinging1 = new Long(12L); public static final Long DistinctiveRinging5 = new Long(13L); public static final Long DistinctiveRinging6 = new Long(14L); public static final Long DistinctiveRinging7 = new Long(15L); @SuppressWarnings("serial") protected class NamedValueMap implements NamedValue.NamedValueMap, Serializable { 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 ("Reserved-0".equals(name)) return new Long(0L); if ("Ringing".equals(name)) return new Long(1L); if ("Distinctive-Ringing-2".equals(name)) return new Long(2L); if ("Distinctive-Ringing-3".equals(name)) return new Long(3L); if ("Distinctive-Ringing-4".equals(name)) return new Long(4L); if ("Ringsplash".equals(name)) return new Long(5L); if ("Call-Waiting-Tone-1".equals(name)) return new Long(6L); if ("Call-Waiting-Tone-2".equals(name)) return new Long(7L); if ("Call-Waiting-Tone-3".equals(name)) return new Long(8L); if ("Call-Waiting-Tone-4".equals(name)) return new Long(9L); if ("Reserved-10".equals(name)) return new Long(10L); if ("Distinctive-Ringing-0".equals(name)) return new Long(11L); if ("Distinctive-Ringing-1".equals(name)) return new Long(12L); if ("Distinctive-Ringing-5".equals(name)) return new Long(13L); if ("Distinctive-Ringing-6".equals(name)) return new Long(14L); if ("Distinctive-Ringing-7".equals(name)) return new Long(15L); return null; } public String getNamedValue(Long value) { if (new Long(0L).equals(value)) return "Reserved-0"; if (new Long(1L).equals(value)) return "Ringing"; if (new Long(2L).equals(value)) return "Distinctive-Ringing-2"; if (new Long(3L).equals(value)) return "Distinctive-Ringing-3"; if (new Long(4L).equals(value)) return "Distinctive-Ringing-4"; if (new Long(5L).equals(value)) return "Ringsplash"; if (new Long(6L).equals(value)) return "Call-Waiting-Tone-1"; if (new Long(7L).equals(value)) return "Call-Waiting-Tone-2"; if (new Long(8L).equals(value)) return "Call-Waiting-Tone-3"; if (new Long(9L).equals(value)) return "Call-Waiting-Tone-4"; if (new Long(10L).equals(value)) return "Reserved-10"; if (new Long(11L).equals(value)) return "Distinctive-Ringing-0"; if (new Long(12L).equals(value)) return "Distinctive-Ringing-1"; if (new Long(13L).equals(value)) return "Distinctive-Ringing-5"; if (new Long(14L).equals(value)) return "Distinctive-Ringing-6"; if (new Long(15L).equals(value)) return "Distinctive-Ringing-7"; return null; } }; public static transient 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_CableLabsAlertingSignal() { setup(); } public Attr_CableLabsAlertingSignal(Serializable o) { setup(o); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy