/**
* 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 LANConnectivitySegment as well as methods comparable
* to the invokeMethods defined for this class. This Class implements the LANConnectivitySegmentBean Interface. The CIM class LANConnectivitySegment
* is described as follows:
*
* A collection of LAN Endpoints of a particular type (i.e., Ethernet or Token Ring), that are able to intercommunicate without the assistance of
* bridging or routing services.
*/
public class LANConnectivitySegment extends ConnectivityCollection implements
Serializable {
/**
* This constructor creates a LANConnectivitySegmentBeanImpl Class which implements the LANConnectivitySegmentBean Interface, and encapsulates the
* CIM class LANConnectivitySegment in a Java Bean. The CIM class LANConnectivitySegment is described as follows:
*
* A collection of LAN Endpoints of a particular type (i.e., Ethernet or Token Ring), that are able to intercommunicate without the assistance of
* bridging or routing services.
*/
public LANConnectivitySegment() {
};
/**
* The following constants are defined for use with the ValueMap/Values qualified property lANID.
*/
private String lANID;
/**
* This method returns the LANConnectivitySegment.lANID property value. This property is described as follows:
*
* A label or identifier for the LAN segment.
*
* @return String current lANID property value
* @exception Exception
*/
public String getLANID() {
return this.lANID;
} // getLANID
/**
* This method sets the LANConnectivitySegment.lANID property value. This property is described as follows:
*
* A label or identifier for the LAN segment.
*
* @param String
* new lANID property value
* @exception Exception
*/
public void setLANID(String lANID) {
this.lANID = lANID;
} // setLANID
/**
* The following constants are defined for use with the ValueMap/Values qualified property ConnectivityType.
*/
public enum ConnectivityType {
UNKNOWN,
OTHER,
ETHERNET,
TOKENRING,
FDDI
}
private ConnectivityType connectivityType;
/**
* This method returns the LANConnectivitySegment.connectivityType property value. This property is described as follows:
*
* An enumeration that categorizes and classifies instances of this class. Instances SHOULD aggregate entities of the appropriate 'type', as
* defined by the value of this enumeration.
*
* @return int current connectivityType property value
* @exception Exception
*/
public ConnectivityType getConnectivityType() {
return this.connectivityType;
} // getConnectivityType
/**
* This method sets the LANConnectivitySegment.connectivityType property value. This property is described as follows:
*
* An enumeration that categorizes and classifies instances of this class. Instances SHOULD aggregate entities of the appropriate 'type', as
* defined by the value of this enumeration.
*
* @param int new connectivityType property value
* @exception Exception
*/
public void setConnectivityType(ConnectivityType connectivityType) {
this.connectivityType = connectivityType;
} // setConnectivityType
/**
* The following constants are defined for use with the ValueMap/Values qualified property otherTypeDescription.
*/
private String otherTypeDescription;
/**
* This method returns the LANConnectivitySegment.otherTypeDescription property value. This property is described as follows:
*
* A string describing the type of connectivity that is supported by this Collection, when the value of the Type property is set to 1 (i.e.,
* "Other"). This property should be set to NULL when the Type property is any value other than 1.
*
* @return String current otherTypeDescription property value
* @exception Exception
*/
public String getOtherTypeDescription() {
return this.otherTypeDescription;
} // getOtherTypeDescription
/**
* This method sets the LANConnectivitySegment.otherTypeDescription property value. This property is described as follows:
*
* A string describing the type of connectivity that is supported by this Collection, when the value of the Type property is set to 1 (i.e.,
* "Other"). This property should be set to NULL when the Type property is any value other than 1.
*
* @param String
* new otherTypeDescription property value
* @exception Exception
*/
public void setOtherTypeDescription(String otherTypeDescription) {
this.otherTypeDescription = otherTypeDescription;
} // setOtherTypeDescription
} // Class LANConnectivitySegment