Package io.ran
Class KeySet
java.lang.Object
io.ran.KeySet
- All Implemented Interfaces:
Iterable<KeySet.Field>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd
(KeySet.Field field) boolean
get
(int i) static KeySet
get
(KeySet.Field... fields) getName()
int
hashCode()
boolean
boolean
isEmpty()
boolean
boolean
isUnique()
iterator()
boolean
matchesKeys
(KeySet other) void
setAutoIncrement
(boolean autoIncrement) void
void
setPrimary
(boolean primary) void
setUnique
(boolean unique) int
size()
stream()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
KeySet
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
get
-
get
-
add
-
add
-
add
-
add
-
add
-
isEmpty
public boolean isEmpty() -
size
public int size() -
get
-
stream
-
toProperties
-
add
-
setPrimary
public void setPrimary(boolean primary) -
setName
-
getName
-
isPrimary
public boolean isPrimary() -
isAutoIncrement
public boolean isAutoIncrement() -
setAutoIncrement
public void setAutoIncrement(boolean autoIncrement) -
matchesKeys
-
isUnique
public boolean isUnique() -
setUnique
public void setUnique(boolean unique) -
iterator
- Specified by:
iterator
in interfaceIterable<KeySet.Field>
-