com.foxsmart.csu.config.global
Class AtmInterfaceComponent

java.lang.Object
  extended by com.foxsmart.csu.config.CiscoRouterConfigParser
      extended by com.foxsmart.csu.config.CiscoRouterConfigComponent
          extended by com.foxsmart.csu.config.global.InterfaceComponent
              extended by com.foxsmart.csu.config.global.AtmInterfaceComponent
All Implemented Interfaces:
CompositeComponent, IndelibleComponent, MultiInstanceComponent, java.io.Serializable

public class AtmInterfaceComponent
extends InterfaceComponent
implements IndelibleComponent

The ATM interface class represents a specific type of interface on the router.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.foxsmart.csu.config.global.InterfaceComponent
channelGroupInteger, channelGroupString, classToKeywordMap, INTERFACE, interfaceName, keywordToClassMap, log, portAdapterInteger, portAdapterString, portInteger, portString, slotInteger, slotString, subInterface, subInterfaceName, subInterfaceType, TYPE, vlanInterfaceType
 
Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigComponent
commentComponent, componentMap, parentComponent
 
Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser
NO, tokenIndex
 
Constructor Summary
AtmInterfaceComponent()
          Constructs a specific interface component.
 
Method Summary
 java.lang.String getInterfaceName()
          Gets the interface name.
 java.lang.String getSubInterfaceName()
          Gets the sub-interface name.
 SubInterfaceTypeEnum getSubInterfaceType()
          Gets the sub-interface type.
 void setInterfaceName(java.lang.String interfaceName)
          Sets the interface name.
 void setSubInterfaceName(java.lang.String subInterfaceName)
          Sets the sub-interface name.
 void setSubInterfaceType(SubInterfaceTypeEnum subInterfaceType)
          Sets the sub-interface type.
 
Methods inherited from class com.foxsmart.csu.config.global.InterfaceComponent
buildFromIos, buildInterfaceAndSubInterfaceNames, equalsComponentInstance, generateHeaderIos, generateIos, getAllInterfaceComponents, getChannelGroup, getChannelGroupAsInteger, getChildComponentKeys, getChildComponentKeysStatic, getChildComponentUpdateKeys, getChildComponentUpdateKeysStatic, getComponent, getInterfaceNameExists, getInterfaceType, getInterfaceTypeAndNames, getKeywordToClassMap, getPackages, getPackagesStatic, getParentInterfaceComponent, getPort, getPortAdapter, getPortAdapterAsInteger, getPortAsInteger, getSlot, getSlotAsInteger, getSubInterfaceAsInteger, getSubInterfaceNameExists, getSubInterfaceTypeExists, getVlanInterfaceType, getVlanInterfaceTypeExists, setChildComponentKeysStatic, setChildComponentUpdateKeysStatic, setInterfaceParts, setPackagesStatic, setVlanInterfaceType, validate
 
Methods inherited from class com.foxsmart.csu.config.CiscoRouterConfigComponent
addComponent, addComponent, checkComponentType, deleteOldConfigWhenUpdating, dumpComponents, generateChildrenUpdateConfiglet, generateCompositeIos, generateCompositeIos, generateDeleteIos, generateIos, generateIos, generateIos, generateMultiLineUpdateConfiglet, generateUpdateCompositeIos, generateUpdateIos, generateUpdateIos, getAllComponents, getCiscoRouterConfig, getComment, getComponentClassName, getComponentClassName, getComponentKeys, getComponents, getComponents, getDeferredDelete, getFirstComponent, getFirstComponent, getParentComponent, getTotalComponents, getTotalComponents, getUpdateConfiglet, instantiateComponent, instantiateComponent, isValid, removeAllComponents, removeAllComponents, removeAllComponents, removeComponent, removeComponent, removeComponent, requiresCommentSeparator, setComment, setParentComponent, validateChildren
 
Methods inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser
checkExists, checkLineComplete, checkNotEmpty, checkRange, checkTokenCount, checkTokenCount, checkTokenMatch, checkTokenMatch, decrementTokenIndex, generateCommands, getBigDecimalNumberFromString, getDoubleNumberFromString, getEnum, getHexadecimalNumberFromString, getIntegerNumberFromString, getIpAddressFromString, getLine, getLongNumberFromString, getMacAddressFromString, getNextOptionalToken, getNextToken, getToken, getTokenIndex, getTokens, getTotalIndentedLines, getTotalLines, incrementTokenIndex, invalidConfiguration, invalidTokenFound, isEmpty, moreIndentedLines, moreLines, moreTokens, removeLines, resetTokenIndex, setTokenIndex, tokensLeft
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.foxsmart.csu.config.MultiInstanceComponent
requiresCommentSeparator
 

Constructor Detail

AtmInterfaceComponent

public AtmInterfaceComponent()
Constructs a specific interface component.

Method Detail

setInterfaceName

public void setInterfaceName(java.lang.String interfaceName)
Sets the interface name. (i.e. "slot/port-adapter/port:extension")

Overrides:
setInterfaceName in class InterfaceComponent
Parameters:
interfaceName - The interface name.

getInterfaceName

public java.lang.String getInterfaceName()
Gets the interface name.

Overrides:
getInterfaceName in class InterfaceComponent
Returns:
the interface name.

setSubInterfaceName

public void setSubInterfaceName(java.lang.String subInterfaceName)
Sets the sub-interface name. (i.e. ".sub-interface")

Overrides:
setSubInterfaceName in class InterfaceComponent
Parameters:
subInterfaceName - The sub-interface name.

getSubInterfaceName

public java.lang.String getSubInterfaceName()
Gets the sub-interface name.

Overrides:
getSubInterfaceName in class InterfaceComponent
Returns:
the sub-interface name.

setSubInterfaceType

public void setSubInterfaceType(SubInterfaceTypeEnum subInterfaceType)
Sets the sub-interface type. (i.e. multipoint or point-to-point)

Overrides:
setSubInterfaceType in class InterfaceComponent
Parameters:
subInterfaceType - The sub-interface type.

getSubInterfaceType

public SubInterfaceTypeEnum getSubInterfaceType()
Gets the sub-interface type.

Overrides:
getSubInterfaceType in class InterfaceComponent
Returns:
the sub-interface type.


Copyright © 2005-2008 Fox Smart, Inc. All Rights Reserved.