/**
* 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 NetworkPortStatistics as well as methods comparable to
* the invokeMethods defined for this class. This Class implements the NetworkPortStatisticsBean Interface. The CIM class NetworkPortStatistics is
* described as follows:
*
* The NetworkPortStatistics class describes the statistics for the NetworkPort.
*/
public class NetworkPortStatistics extends StatisticalData implements
Serializable {
/**
* This constructor creates a NetworkPortStatisticsBeanImpl Class which implements the NetworkPortStatisticsBean Interface, and encapsulates the
* CIM class NetworkPortStatistics in a Java Bean. The CIM class NetworkPortStatistics is described as follows:
*
* The NetworkPortStatistics class describes the statistics for the NetworkPort.
*/
public NetworkPortStatistics() {
};
/**
* The following constants are defined for use with the ValueMap/Values qualified property bytesTransmitted.
*/
private long bytesTransmitted;
/**
* This method returns the NetworkPortStatistics.bytesTransmitted property value. This property is described as follows:
*
* The total number of bytes that are transmitted, including framing characters.
*
* @return long current bytesTransmitted property value
* @exception Exception
*/
public long getBytesTransmitted() {
return this.bytesTransmitted;
} // getBytesTransmitted
/**
* This method sets the NetworkPortStatistics.bytesTransmitted property value. This property is described as follows:
*
* The total number of bytes that are transmitted, including framing characters.
*
* @param long new bytesTransmitted property value
* @exception Exception
*/
public void setBytesTransmitted(long bytesTransmitted) {
this.bytesTransmitted = bytesTransmitted;
} // setBytesTransmitted
/**
* The following constants are defined for use with the ValueMap/Values qualified property bytesReceived.
*/
private long bytesReceived;
/**
* This method returns the NetworkPortStatistics.bytesReceived property value. This property is described as follows:
*
* The total number of bytes that are received, including framing characters.
*
* @return long current bytesReceived property value
* @exception Exception
*/
public long getBytesReceived() {
return this.bytesReceived;
} // getBytesReceived
/**
* This method sets the NetworkPortStatistics.bytesReceived property value. This property is described as follows:
*
* The total number of bytes that are received, including framing characters.
*
* @param long new bytesReceived property value
* @exception Exception
*/
public void setBytesReceived(long bytesReceived) {
this.bytesReceived = bytesReceived;
} // setBytesReceived
/**
* The following constants are defined for use with the ValueMap/Values qualified property packetsTransmitted.
*/
private long packetsTransmitted;
/**
* This method returns the NetworkPortStatistics.packetsTransmitted property value. This property is described as follows:
*
* The total number of packets that are transmitted.
*
* @return long current packetsTransmitted property value
* @exception Exception
*/
public long getPacketsTransmitted() {
return this.packetsTransmitted;
} // getPacketsTransmitted
/**
* This method sets the NetworkPortStatistics.packetsTransmitted property value. This property is described as follows:
*
* The total number of packets that are transmitted.
*
* @param long new packetsTransmitted property value
* @exception Exception
*/
public void setPacketsTransmitted(long packetsTransmitted) {
this.packetsTransmitted = packetsTransmitted;
} // setPacketsTransmitted
/**
* The following constants are defined for use with the ValueMap/Values qualified property packetsReceived.
*/
private long packetsReceived;
/**
* This method returns the NetworkPortStatistics.packetsReceived property value. This property is described as follows:
*
* The total number of packets that are received.
*
* @return long current packetsReceived property value
* @exception Exception
*/
public long getPacketsReceived() {
return this.packetsReceived;
} // getPacketsReceived
/**
* This method sets the NetworkPortStatistics.packetsReceived property value. This property is described as follows:
*
* The total number of packets that are received.
*
* @param long new packetsReceived property value
* @exception Exception
*/
public void setPacketsReceived(long packetsReceived) {
this.packetsReceived = packetsReceived;
} // setPacketsReceived
} // Class NetworkPortStatistics