Package org.opennms.netmgt.model
Class OnmsAgent
- java.lang.Object
-
- org.opennms.netmgt.model.OnmsAgent
-
public class OnmsAgent extends java.lang.Object
OnmsAgent class.
-
-
Constructor Summary
Constructors Constructor Description OnmsAgent()
Constructor for OnmsAgent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getId()
getIdjava.lang.String
getIpAddress()
getIpAddressOnmsNode
getNode()
getNodeOnmsServiceType
getServiceType()
getServiceTypevoid
setId(java.lang.Integer id)
setIdvoid
setIpAddress(java.lang.String ipAddress)
setIpAddressvoid
setNode(OnmsNode node)
setNodevoid
setServiceType(OnmsServiceType serviceType)
setServiceType
-
-
-
Method Detail
-
getId
public java.lang.Integer getId()
getId
- Returns:
- a
Integer
object.
-
setId
public void setId(java.lang.Integer id)
setId
- Parameters:
id
- aInteger
object.
-
getServiceType
public OnmsServiceType getServiceType()
getServiceType
- Returns:
- a
OnmsServiceType
object.
-
setServiceType
public void setServiceType(OnmsServiceType serviceType)
setServiceType
- Parameters:
serviceType
- aOnmsServiceType
object.
-
getIpAddress
public java.lang.String getIpAddress()
getIpAddress
- Returns:
- a
String
object.
-
setIpAddress
public void setIpAddress(java.lang.String ipAddress)
setIpAddress
- Parameters:
ipAddress
- aString
object.
-
-