public class CollectionAgentDTO extends Object implements CollectionAgent
| Constructor and Description |
|---|
CollectionAgentDTO() |
CollectionAgentDTO(CollectionAgent agent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
InetAddress |
getAddress()
Returns the address information for the interface.
|
<V> V |
getAttribute(String property)
This method is used to return the object that is associated with the
property name.
|
Set<String> |
getAttributeNames()
Retrieves the names of all available attributes.
|
String |
getForeignId()
getForeignId
|
String |
getForeignSource()
getForeignSource
|
String |
getHostAddress()
getHostAddress
|
String |
getLocationName()
getLocationName
|
int |
getNodeId()
getNodeId
|
String |
getNodeLabel()
getNodeLabel
|
long |
getSavedSysUpTime()
getSavedSysUpTime
|
ResourcePath |
getStorageResourcePath() |
int |
hashCode() |
Boolean |
isStoreByForeignSource()
isStoreByForeignSource
|
void |
setAddress(InetAddress address) |
Object |
setAttribute(String property,
Object value)
This method is used to associate an object value with a textual key.
|
void |
setForeignId(String foreignId) |
void |
setForeignSource(String foreignSource) |
void |
setLocationName(String location) |
void |
setNodeId(int nodeId) |
void |
setNodeLabel(String nodeLabel) |
void |
setSavedSysUpTime(long sysUpTime)
setSavedSysUpTime
|
void |
setStorageResourcePath(ResourcePath storageResourcePath) |
void |
setStoreByForeignSource(Boolean storeByForeignSource) |
String |
toString() |
public CollectionAgentDTO()
public CollectionAgentDTO(CollectionAgent agent)
public InetAddress getAddress()
CollectionAgentReturns the address information for the interface.
getAddress in interface CollectionAgentObject object.public void setAddress(InetAddress address)
public Set<String> getAttributeNames()
CollectionAgentgetAttributeNames in interface CollectionAgentSet that contains the name of all configured attributespublic <V> V getAttribute(String property)
CollectionAgentThis method is used to return the object that is associated with the property name. This is very similar to the java.util.Map get() method, but requires that the lookup be performed using a String name. The object may be of any instance that the monitor previous stored.
If there is no matching object for the property key, then a null pointer is returned to the application.
getAttribute in interface CollectionAgentproperty - The key for the lookup.Map.get(java.lang.Object)public Object setAttribute(String property, Object value)
CollectionAgentThis method is used to associate an object value with a textual key. If a previous value was associated with the key then the old value is returned to the caller. This is identical to the behavior defined by the java.util.Map put() method. The only restriction is that the key must be a java string instance.
setAttribute in interface CollectionAgentproperty - The keyvalue - The value to associate with the keyMap.put(java.lang.Object, java.lang.Object)public Boolean isStoreByForeignSource()
CollectionAgentisStoreByForeignSource
isStoreByForeignSource in interface CollectionAgentBoolean object.public void setStoreByForeignSource(Boolean storeByForeignSource)
public String getHostAddress()
CollectionAgentgetHostAddress
getHostAddress in interface CollectionAgentString object.public int getNodeId()
CollectionAgentgetNodeId
getNodeId in interface CollectionAgentpublic void setNodeId(int nodeId)
public String getNodeLabel()
CollectionAgentgetNodeLabel
getNodeLabel in interface CollectionAgentString object.public void setNodeLabel(String nodeLabel)
public String getForeignSource()
CollectionAgentgetForeignSource
getForeignSource in interface CollectionAgentString object.public void setForeignSource(String foreignSource)
public String getForeignId()
CollectionAgentgetForeignId
getForeignId in interface CollectionAgentString object.public void setForeignId(String foreignId)
public String getLocationName()
CollectionAgentgetLocationName
getLocationName in interface CollectionAgentString object.public void setLocationName(String location)
public ResourcePath getStorageResourcePath()
getStorageResourcePath in interface CollectionAgentpublic void setStorageResourcePath(ResourcePath storageResourcePath)
public long getSavedSysUpTime()
CollectionAgentgetSavedSysUpTime
getSavedSysUpTime in interface CollectionAgentpublic void setSavedSysUpTime(long sysUpTime)
CollectionAgentsetSavedSysUpTime
setSavedSysUpTime in interface CollectionAgentsysUpTime - a long.Copyright © 2022. All rights reserved.