/**
* This file was auto-generated by mofcomp -j version 1.0.0 on Wed Jan 12
* 09:21:06 CET 2011.
*/
package org.opennaas.extensions.router.model;
import java.io.*;
import java.lang.Exception;
/**
* This Class contains accessor and mutator methods for all properties defined in the CIM class RangeOfIPAddresses as well as methods comparable to
* the invokeMethods defined for this class. This Class implements the RangeOfIPAddressesBean Interface. The CIM class RangeOfIPAddresses is described
* as follows:
*
* The class RangeOfIPAddresses represents an implicit grouping (or 'pool') of IP addresses specified by the properties, Start and EndAddress. It is
* defined as scoped/contained by a system such as an individual network element or an admin domain.
*/
public class RangeOfIPAddresses extends SystemSpecificCollection implements
Serializable {
/**
* This constructor creates a RangeOfIPAddressesBeanImpl Class which implements the RangeOfIPAddressesBean Interface, and encapsulates the CIM
* class RangeOfIPAddresses in a Java Bean. The CIM class RangeOfIPAddresses is described as follows:
*
* The class RangeOfIPAddresses represents an implicit grouping (or 'pool') of IP addresses specified by the properties, Start and EndAddress. It
* is defined as scoped/contained by a system such as an individual network element or an admin domain.
*/
public RangeOfIPAddresses() {
};
/**
* The following constants are defined for use with the ValueMap/Values qualified property startAddress.
*/
private String startAddress;
/**
* This method returns the RangeOfIPAddresses.startAddress property value. This property is described as follows:
*
* The starting IP address of the AddressRange, formatted according to the appropriate convention as defined in the AddressType property of this
* class (e.g., 171.79.6.40).
*
* @return String current startAddress property value
* @exception Exception
*/
public String getStartAddress() {
return this.startAddress;
} // getStartAddress
/**
* This method sets the RangeOfIPAddresses.startAddress property value. This property is described as follows:
*
* The starting IP address of the AddressRange, formatted according to the appropriate convention as defined in the AddressType property of this
* class (e.g., 171.79.6.40).
*
* @param String
* new startAddress property value
* @exception Exception
*/
public void setStartAddress(String startAddress) {
this.startAddress = startAddress;
} // setStartAddress
/**
* The following constants are defined for use with the ValueMap/Values qualified property endAddress.
*/
private String endAddress;
/**
* This method returns the RangeOfIPAddresses.endAddress property value. This property is described as follows:
*
* The ending IP address of the AddressRange, formatted according to the appropriate convention as defined in the AddressType property of this
* class (e.g., 171.79.6.40).
*
* @return String current endAddress property value
* @exception Exception
*/
public String getEndAddress() {
return this.endAddress;
} // getEndAddress
/**
* This method sets the RangeOfIPAddresses.endAddress property value. This property is described as follows:
*
* The ending IP address of the AddressRange, formatted according to the appropriate convention as defined in the AddressType property of this
* class (e.g., 171.79.6.40).
*
* @param String
* new endAddress property value
* @exception Exception
*/
public void setEndAddress(String endAddress) {
this.endAddress = endAddress;
} // setEndAddress
/**
* The following constants are defined for use with the ValueMap/Values qualified property AddressType.
*/
public enum AddressType {
UNKNOWN,
IPV4,
IPV6
}
private AddressType addressType;
/**
* This method returns the RangeOfIPAddresses.addressType property value. This property is described as follows:
*
* An enumeration that defines how the address and mask properties are formatted.
*
* @return int current addressType property value
* @exception Exception
*/
public AddressType getAddressType() {
return this.addressType;
} // getAddressType
/**
* This method sets the RangeOfIPAddresses.addressType property value. This property is described as follows:
*
* An enumeration that defines how the address and mask properties are formatted.
*
* @param int new addressType property value
* @exception Exception
*/
public void setAddressType(AddressType addressType) {
this.addressType = addressType;
} // setAddressType
} // Class RangeOfIPAddresses