public class IdentifyingAttributes extends Object implements Serializable, Comparable<IdentifyingAttributes>
| Modifier and Type | Field and Description |
|---|---|
static String[] |
ATTRIBUTES |
static double |
PERFECT_SIMILARITY
Sum of all weights.
|
| Modifier | Constructor and Description |
|---|---|
protected |
IdentifyingAttributes() |
|
IdentifyingAttributes(Collection<Attribute> attributes) |
| Modifier and Type | Method and Description |
|---|---|
IdentifyingAttributes |
applyChanges(Set<AttributeDifference> attributeChanges) |
int |
compareTo(IdentifyingAttributes other) |
static IdentifyingAttributes |
create(Path path,
Class<?> type) |
static IdentifyingAttributes |
create(Path path,
String type) |
static Collection<Attribute> |
createList(Path path,
String type) |
boolean |
equals(Object object) |
<T> T |
get(String key) |
Attribute |
getAttribute(String key) |
List<Attribute> |
getAttributes() |
String |
getContext() |
String |
getParentPath() |
Path |
getParentPathTyped() |
String |
getPath() |
PathElement |
getPathElement() |
Path |
getPathTyped() |
String |
getSimpleType() |
String |
getSuffix() |
String |
getType() |
protected List<String> |
getValuesForFullString() |
int |
hashCode() |
String |
identifier() |
double |
match(IdentifyingAttributes other) |
protected IdentifyingAttributes |
newInstance(Collection<Attribute> attributes) |
String |
toFullString() |
String |
toString() |
public static final String[] ATTRIBUTES
public static final double PERFECT_SIMILARITY
protected IdentifyingAttributes()
public IdentifyingAttributes(Collection<Attribute> attributes)
public static Collection<Attribute> createList(Path path, String type)
public static IdentifyingAttributes create(Path path, Class<?> type)
public static IdentifyingAttributes create(Path path, String type)
public String getType()
public String getSimpleType()
public String getPath()
public Path getPathTyped()
public String getParentPath()
public Path getParentPathTyped()
public PathElement getPathElement()
public String toFullString()
public String identifier()
public int compareTo(IdentifyingAttributes other)
compareTo in interface Comparable<IdentifyingAttributes>public double match(IdentifyingAttributes other)
public String getSuffix()
public <T> T get(String key)
public String getContext()
public IdentifyingAttributes applyChanges(Set<AttributeDifference> attributeChanges)
protected IdentifyingAttributes newInstance(Collection<Attribute> attributes)
Copyright © 2018 ReTest GmbH. All rights reserved.