Package org.opennms.netmgt.trapd
Class TrapIdentityDTO
- java.lang.Object
-
- org.opennms.netmgt.trapd.TrapIdentityDTO
-
public class TrapIdentityDTO extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TrapIdentityDTO()
TrapIdentityDTO(TrapIdentity trapIdentity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getEnterpriseId()
int
getGeneric()
int
getSpecific()
java.lang.String
getTrapOID()
int
hashCode()
void
setEnterpriseId(java.lang.String enterpriseId)
void
setGeneric(int generic)
void
setSpecific(int specific)
java.lang.String
toString()
-
-
-
Constructor Detail
-
TrapIdentityDTO
public TrapIdentityDTO()
-
TrapIdentityDTO
public TrapIdentityDTO(TrapIdentity trapIdentity)
-
-
Method Detail
-
getGeneric
public int getGeneric()
-
setGeneric
public void setGeneric(int generic)
-
getSpecific
public int getSpecific()
-
setSpecific
public void setSpecific(int specific)
-
getEnterpriseId
public java.lang.String getEnterpriseId()
-
setEnterpriseId
public void setEnterpriseId(java.lang.String enterpriseId)
-
getTrapOID
public java.lang.String getTrapOID()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-