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 {
46 private static final long serialVersionUID = 1L;
72 private final String typeName;
73 private final String displayName;
81 Type(String typeName, String displayName) {
82 this.typeName = typeName;
83 this.displayName = displayName;
109 return this.typeName.
equals(thatType.getTypeName());
116 hash = 83 * hash + (this.typeName != null ? this.typeName.hashCode() : 0);
117 hash = 83 * hash + (this.displayName != null ? this.displayName.hashCode() : 0);
124 return " displayName=" + this.displayName
125 +
", typeName=" + this.typeName +
")";
130 this.account_id = account_id;
131 this.accountType = accountType;
132 this.typeSpecificID = typeSpecificId;
142 return this.typeSpecificID;
151 return this.accountType;
161 return this.account_id;
boolean equals(Object that)
static final Account.Type INSTAGRAM
static final Account.Type MESSAGING_APP
static final Account.Type WHATSAPP
static final Account.Type FACEBOOK
String getTypeSpecificID()
static final Account.Type PHONE
static final Account.Type WEBSITE
static final Account.Type CREDIT_CARD
static final List< Account.Type > PREDEFINED_ACCOUNT_TYPES
static final Account.Type TWITTER
Account.Type getAccountType()
static final Account.Type DEVICE
static final Account.Type EMAIL