Class MinionIdentityDTO
- java.lang.Object
-
- org.opennms.minion.heartbeat.common.MinionIdentityDTO
-
-
Field Summary
-
Fields inherited from interface org.opennms.core.ipc.sink.api.Message
SINK_METRIC_CONSUMER_DOMAIN, SINK_METRIC_PRODUCER_DOMAIN
-
-
Constructor Summary
Constructors Constructor Description MinionIdentityDTO()
MinionIdentityDTO(MinionIdentity minion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getId()
java.lang.String
getLocation()
java.util.Date
getTimestamp()
int
hashCode()
void
setId(java.lang.String id)
void
setLocation(java.lang.String location)
void
setTimestamp(java.util.Date timestamp)
java.lang.String
toString()
-
-
-
Constructor Detail
-
MinionIdentityDTO
public MinionIdentityDTO()
-
MinionIdentityDTO
public MinionIdentityDTO(MinionIdentity minion)
-
-
Method Detail
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getLocation
public java.lang.String getLocation()
-
setLocation
public void setLocation(java.lang.String location)
-
getTimestamp
public java.util.Date getTimestamp()
-
setTimestamp
public void setTimestamp(java.util.Date timestamp)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-