Class ContactInfo
- java.lang.Object
-
- com.inductiveautomation.ignition.common.user.ContactInfo
-
- All Implemented Interfaces:
java.io.Serializable
public class ContactInfo extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
contactType
protected java.lang.String
value
-
Constructor Summary
Constructors Constructor Description ContactInfo(ContactInfo copy)
ContactInfo(java.lang.String contactType, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getContactType()
The contact type.java.lang.String
getValue()
The actual contact information.void
setContactType(java.lang.String contactType)
void
setValue(java.lang.String value)
java.lang.String
toString()
-
-
-
Constructor Detail
-
ContactInfo
public ContactInfo(ContactInfo copy)
-
ContactInfo
public ContactInfo(java.lang.String contactType, java.lang.String value)
-
-
Method Detail
-
getContactType
public java.lang.String getContactType()
The contact type. This string should match the "contactType" field of a known ContactType
-
getValue
public java.lang.String getValue()
The actual contact information. For example, phone number or email address
-
setContactType
public void setContactType(java.lang.String contactType)
-
setValue
public void setValue(java.lang.String value)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-