public abstract class NetworkInterface<T extends NetworkStatistics> extends IVdcQueryable implements BusinessEntity<Guid>
NetworkInterface
represents a network interface device.Modifier and Type | Field and Description |
---|---|
protected Guid |
id |
protected T |
statistics |
Constructor and Description |
---|
NetworkInterface() |
NetworkInterface(T statistics,
int type) |
Modifier and Type | Method and Description |
---|---|
Guid |
getId()
Returns the instance id.
|
String |
getMacAddress()
Returns the device's MAC address.
|
String |
getName()
Returns the interface's name.
|
String |
getNetworkName()
Returns the name of the network.
|
Integer |
getSpeed()
Returns the speed of the network device in megabits per second.
|
T |
getStatistics()
Returns the statistics for the network device.
|
Integer |
getType()
Returns the type of network device.
|
void |
setId(Guid id)
Sets the instance id.
|
void |
setMacAddress(String macAddress)
Sets the MAC address.
|
void |
setName(String name)
Sets the interface's name.
|
void |
setNetworkName(String networkName)
Sets the name of the network.
|
void |
setSpeed(Integer speed)
Sets the speed of the network device in megabits per second.
|
void |
setStatistics(T statistics)
Sets the statistics for the network device.
|
void |
setType(Integer type)
Sets the type of network device.
|
getChangeablePropertiesList, getQueryableId
protected Guid id
protected T extends NetworkStatistics statistics
public NetworkInterface()
public NetworkInterface(T statistics, int type)
public void setId(Guid id)
setId
in interface BusinessEntity<Guid>
id
- the idpublic Guid getId()
getId
in interface BusinessEntity<Guid>
public void setName(String name)
name
- the namepublic String getName()
public void setMacAddress(String macAddress)
macAddress
- the MAC addresspublic String getMacAddress()
public void setNetworkName(String networkName)
networkName
- the network namepublic String getNetworkName()
public void setSpeed(Integer speed)
speed
- the speed.public Integer getSpeed()
public void setType(Integer type)
type
- the typepublic Integer getType()
public void setStatistics(T statistics)
statistics
- the statisticspublic T getStatistics()
Copyright © 2012. All Rights Reserved.