public class KeyDef
extends java.lang.Object
Constructor and Description |
---|
KeyDef(java.util.Collection<NameIdentifier> attributeNames,
boolean dummy)
Creates the KeyDef
|
KeyDef(java.util.Collection<java.lang.String> attributeNames)
Deprecated.
- replace with
KeyDef(Collection, boolean) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
equalsKeyDef(KeyDef obj)
Checks if this KeyDef is equal to the given one.
|
MyReadOnlySet<NameIdentifier> |
getAttributeNameIdentifiers()
Gets The names of the attributes that make up the key.
|
MyReadOnlySet<java.lang.String> |
getAttributeNames()
Deprecated.
- replace with
getAttributeNameIdentifiers() |
int |
hashCode() |
@Deprecated public KeyDef(java.util.Collection<java.lang.String> attributeNames)
KeyDef(Collection, boolean)
attributeNames
- The names of the attributes (as String objects - not as Value objects) that make up the keypublic KeyDef(java.util.Collection<NameIdentifier> attributeNames, boolean dummy)
attributeNames
- The names of the attributesdummy
- dummy unused parameter because java has no other way to distinguish constructors based on generics of the parameterspublic final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public final boolean equalsKeyDef(KeyDef obj)
obj
- Another KeyDef to compare this one to.@Deprecated public final MyReadOnlySet<java.lang.String> getAttributeNames()
getAttributeNameIdentifiers()
public final MyReadOnlySet<NameIdentifier> getAttributeNameIdentifiers()
public final int hashCode()
hashCode
in class java.lang.Object