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) |
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.