com.cisco.provisioning.cpe.extensions.configuration
Enum TechnologyType

java.lang.Object
  extended by java.lang.Enum<TechnologyType>
      extended by com.cisco.provisioning.cpe.extensions.configuration.TechnologyType
All Implemented Interfaces:
Serializable, Comparable<TechnologyType>

public enum TechnologyType
extends Enum<TechnologyType>

Enumerated type for specifying device technology. This value is used by the OptionDescType class for distinquishing between different technology types supported by the OptionManager dynamic configurations manager. The enumerated values have integer equivalents, starting at zero.


Enum Constant Summary
CABLEHOME
          TechnologyType CableHome identifier.
DOCSIS
          TechnologyType DOCSIS identifier.
PKTCBL
          OptionDescType PacketCable identifier.
 
Method Summary
 String getDefaultGrammerVersion()
          Returns the default grammer version to use for this technology.
 String getDHCPCapabilitiesPrefix()
          Returns the DHCP capabilities prefix for this technology.
 String toString()
          Returns the textual representation of this object.
static TechnologyType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TechnologyType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DOCSIS

public static final TechnologyType DOCSIS
TechnologyType DOCSIS identifier.


PKTCBL

public static final TechnologyType PKTCBL
OptionDescType PacketCable identifier.


CABLEHOME

public static final TechnologyType CABLEHOME
TechnologyType CableHome identifier.

Method Detail

values

public static TechnologyType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TechnologyType c : TechnologyType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TechnologyType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public String toString()
Returns the textual representation of this object.

Overrides:
toString in class Enum<TechnologyType>
Returns:
the textual representation of this object.

getDHCPCapabilitiesPrefix

public String getDHCPCapabilitiesPrefix()
Returns the DHCP capabilities prefix for this technology. In DHCPv4, this is option 60 content.

Returns:
the DHCP capabilities prefix for this technology

getDefaultGrammerVersion

public String getDefaultGrammerVersion()
Returns the default grammer version to use for this technology. For example for DOCSIS, it will be 3.0.

Returns:
the default grammer version to use for this technology.