19 package org.sleuthkit.datamodel;
21 import java.util.Arrays;
22 import java.util.List;
35 private final long account_id;
42 private final String typeSpecificID;
44 public static final class Type {
93 private final String typeName;
94 private final String displayName;
102 public Type(String typeName, String displayName) {
103 this.typeName = typeName;
104 this.displayName = displayName;
113 return this.typeName;
135 return this.typeName.
equals(thatType.getTypeName());
142 hash = 83 * hash + (this.typeName != null ? this.typeName.hashCode() : 0);
143 hash = 83 * hash + (this.displayName != null ? this.displayName.hashCode() : 0);
150 return " displayName=" + this.displayName
151 +
", typeName=" + this.typeName +
")";
156 this.account_id = account_id;
157 this.accountType = accountType;
158 this.typeSpecificID = typeSpecificId;
168 return this.typeSpecificID;
177 return this.accountType;
187 return this.account_id;
193 hash = 43 * hash + (int) (this.account_id ^ (this.account_id >>> 32));
194 hash = 43 * hash + (this.accountType != null ? this.accountType.
hashCode() : 0);
195 hash = 43 * hash + (this.typeSpecificID != null ? this.typeSpecificID.hashCode() : 0);
207 if (getClass() != obj.getClass()) {
211 if (this.account_id != other.account_id) {
214 if ((this.typeSpecificID == null) ? (other.typeSpecificID != null) : !this.typeSpecificID.equals(other.typeSpecificID)) {
217 if (this.accountType != other.accountType && (
this.accountType == null || !
this.accountType.equals(other.accountType))) {
boolean equals(Object that)
static final Account.Type TANGO
static final Account.Type INSTAGRAM
static final Account.Type MESSAGING_APP
static final Account.Type TEXTNOW
static final Account.Type WHATSAPP
static final Account.Type FACEBOOK
static final Account.Type ZAPYA
String getTypeSpecificID()
static final Account.Type PHONE
static final Account.Type IMO
static final Account.Type XENDER
static final Account.Type WEBSITE
static final Account.Type CREDIT_CARD
boolean equals(Object obj)
static final List< Account.Type > PREDEFINED_ACCOUNT_TYPES
static final Account.Type LINE
static final Account.Type TWITTER
Account.Type getAccountType()
static final Account.Type VIBER
static final Account.Type SHAREIT
static final Account.Type THREEMA
static final Account.Type SKYPE
static final Account.Type DEVICE
static final Account.Type EMAIL
Type(String typeName, String displayName)