com.foxsmart.csu.config.global.classmap
Class MatchInfoMpls

java.lang.Object
  extended by com.foxsmart.csu.config.CiscoRouterConfigParser
      extended by com.foxsmart.csu.config.global.classmap.MatchInfo
          extended by com.foxsmart.csu.config.global.classmap.MatchInfoMpls
All Implemented Interfaces:
java.io.Serializable

public class MatchInfoMpls
extends MatchInfo

The MatchInfoMpls class provides match information for Multi Protocol Label Switching (MPLS) specific values. All values are optional "experimental" values.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser
log, NO, tokenIndex
 
Constructor Summary
MatchInfoMpls()
          Constructs a match info mpls object.
 
Method Summary
 java.lang.String generateIos()
          Generates the IOS string associated with this part of the router configuration.
 boolean getValue0()
          Gets the experimental value 0.
 boolean getValue1()
          Gets the experimental value 1.
 boolean getValue2()
          Gets the experimental value 2.
 boolean getValue3()
          Gets the experimental value 3.
 boolean getValue4()
          Gets the experimental value 4.
 boolean getValue5()
          Gets the experimental value 5.
 boolean getValue6()
          Gets the experimental value 6.
 boolean getValue7()
          Gets the experimental value 7.
 void setValue0(boolean value)
          Sets the experimental value 0.
 void setValue1(boolean value)
          Sets the experimental value 1.
 void setValue2(boolean value)
          Sets the experimental value 2.
 void setValue3(boolean value)
          Sets the experimental value 3.
 void setValue4(boolean value)
          Sets the experimental value 4.
 void setValue5(boolean value)
          Sets the experimental value 5.
 void setValue6(boolean value)
          Sets the experimental value 6.
 void setValue7(boolean value)
          Sets the experimental value 7.
 void validate()
          Validates this component.
 
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
 

Constructor Detail

MatchInfoMpls

public MatchInfoMpls()
Constructs a match info mpls object.

Method Detail

setValue0

public void setValue0(boolean value)
Sets the experimental value 0.

Parameters:
value - The experimental value 0.

getValue0

public boolean getValue0()
Gets the experimental value 0.

Returns:
the experimental value 0.

setValue1

public void setValue1(boolean value)
Sets the experimental value 1.

Parameters:
value - The experimental value 1.

getValue1

public boolean getValue1()
Gets the experimental value 1.

Returns:
the experimental value 1.

setValue2

public void setValue2(boolean value)
Sets the experimental value 2.

Parameters:
value - The experimental value 2.

getValue2

public boolean getValue2()
Gets the experimental value 2.

Returns:
the experimental value 2.

setValue3

public void setValue3(boolean value)
Sets the experimental value 3.

Parameters:
value - The experimental value 3.

getValue3

public boolean getValue3()
Gets the experimental value 3.

Returns:
the experimental value 3.

setValue4

public void setValue4(boolean value)
Sets the experimental value 4.

Parameters:
value - The experimental value 4.

getValue4

public boolean getValue4()
Gets the experimental value 4.

Returns:
the experimental value 4.

setValue5

public void setValue5(boolean value)
Sets the experimental value 5.

Parameters:
value - The experimental value 5.

getValue5

public boolean getValue5()
Gets the experimental value 5.

Returns:
the experimental value 5.

setValue6

public void setValue6(boolean value)
Sets the experimental value 6.

Parameters:
value - The experimental value 6.

getValue6

public boolean getValue6()
Gets the experimental value 6.

Returns:
the experimental value 6.

setValue7

public void setValue7(boolean value)
Sets the experimental value 7.

Parameters:
value - The experimental value 7.

getValue7

public boolean getValue7()
Gets the experimental value 7.

Returns:
the experimental value 7.

validate

public void validate()
              throws InvalidConfigurationException
Description copied from class: MatchInfo
Validates this component.

Specified by:
validate in class MatchInfo
Throws:
InvalidConfigurationException - if the configuration is invalid.
See Also:
CiscoRouterConfigComponent

generateIos

public java.lang.String generateIos()
                             throws InvalidConfigurationException
Description copied from class: MatchInfo
Generates the IOS string associated with this part of the router configuration.

Specified by:
generateIos in class MatchInfo
Returns:
the generated IOS.
Throws:
InvalidConfigurationException - if the configuration is invalid.
See Also:
CiscoRouterConfigComponent


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